axetroy / blog

:open_book:基于Github API 的动态博客
https://axetroy.xyz
216 stars 36 forks source link

fix(deps): update dependency antd to v4.19.4 #644

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
antd (source) 4.18.2 -> 4.19.4 age adoption passing confidence

Release Notes

ant-design/ant-design ### [`v4.19.4`](https://togithub.com/ant-design/ant-design/releases/4.19.4) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.19.3...4.19.4) - 🐞 Fix when `fullscreen` of the Calendar is `false`, the element returned by `dateFullCellRender` cannot be interactive. [#​34614](https://togithub.com/ant-design/ant-design/pull/34614) [@​imoctopus](https://togithub.com/imoctopus) - 🐞 fix BackTop responsive in RTL. [#​34626](https://togithub.com/ant-design/ant-design/pull/34626) [@​hmz22](https://togithub.com/hmz22) - 🐞 Fix text position in Steps with `small` size and `dot` mode. [#​34651](https://togithub.com/ant-design/ant-design/pull/34651) - 🐞 Fix Descriptions `contentStyle` not working when children is 0. [#​34696](https://togithub.com/ant-design/ant-design/pull/34696) [@​zhao-huo-long](https://togithub.com/zhao-huo-long) - 🐞 Fix notification prevent interaction on elements which under it. [#​34716](https://togithub.com/ant-design/ant-design/pull/34716) *** - 🐞 修复当 Calendar 的 `fullscreen` 为 `false` 时,`dateFullCellRender` 返回的元素不可交互的问题。[#​34614](https://togithub.com/ant-design/ant-design/pull/34614) [@​imoctopus](https://togithub.com/imoctopus) - 🐞 修复 BackTop 的部分 `rtl` 样式问题。[#​34626](https://togithub.com/ant-design/ant-design/pull/34626) [@​hmz22](https://togithub.com/hmz22) - 🐞 修复小尺寸 Steps `dot` 模式下文字位置偏移的问题。[#​34651](https://togithub.com/ant-design/ant-design/pull/34651) - 🐞 修复 Descriptions 内容为 0 时 `contentStyle` 不生效的问题。[#​34696](https://togithub.com/ant-design/ant-design/pull/34696) [@​zhao-huo-long](https://togithub.com/zhao-huo-long) - 🐞 修复 notification 会遮挡后面元素交互的问题。[#​34716](https://togithub.com/ant-design/ant-design/pull/34716) ### [`v4.19.3`](https://togithub.com/ant-design/ant-design/releases/4.19.3) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.19.2...4.19.3) - 🐞 Fix TextArea `clearIcon` color. [#​34610](https://togithub.com/ant-design/ant-design/pull/34610) - 🐞 Fix: apply scale transform to disabled star. [#​34547](https://togithub.com/ant-design/ant-design/pull/34547) [@​Unuuuuu](https://togithub.com/Unuuuuu) - 🐞 Fix Tooltip arrow color with preset. [#​34548](https://togithub.com/ant-design/ant-design/pull/34548) - 🐞 Fixed number abnormal position display in Badge RTL mode. [#​34545](https://togithub.com/ant-design/ant-design/pull/34545) - 💄 Fix numeric Row and Col class styles when using prefixCls. [#​34494](https://togithub.com/ant-design/ant-design/pull/34494) [@​mic-web](https://togithub.com/mic-web) - 🐞 Fix Editable Textarea height jump in Firefox and Editable Typography.Title confirm icon position. [#​34518](https://togithub.com/ant-design/ant-design/pull/34518) - 💄 Fix missing `status` style in RangePicker. [#​34509](https://togithub.com/ant-design/ant-design/pull/34509) - 🛎 Add warning for Input getting blurred when dynamically add `hasFeedback`. [#​34475](https://togithub.com/ant-design/ant-design/pull/34475) - 🐞 Fix missing classname in input when Input has `prefix` or `suffix`. [#​34474](https://togithub.com/ant-design/ant-design/pull/34474) - 🌐 Updated it_LT locale for `typeTemplate`. [#​34567](https://togithub.com/ant-design/ant-design/pull/34567) [@​Anizcus](https://gitit_LTit_LThub.com/Anizcus) *** - 🐞 修复 TextArea `clearIcon` 的颜色问题。[#​34610](https://togithub.com/ant-design/ant-design/pull/34610) - 🐞 修复 Rate 下 disabled 时依然有 hover 效果的问题。[#​34547](https://togithub.com/ant-design/ant-design/pull/34547) [@​Unuuuuu](https://togithub.com/Unuuuuu) - 🐞 修复 Tooltip 使用预设颜色时 arrow 颜色错误的问题。[#​34548](https://togithub.com/ant-design/ant-design/pull/34548) - 🐞 修复 Badge 数字 RTL 模式下异常位置显示。[#​34545](https://togithub.com/ant-design/ant-design/pull/34545) - 💄 修复使用 `prefixCls` 时的数字 Row 和 Col 类样式问题。[#​34494](https://togithub.com/ant-design/ant-design/pull/34494) [@​mic-web](https://togithub.com/mic-web) - 🐞 修复 Typography `editable` 切换时在 Firefox 下高度跳动 和 Typography.Title `editable` 确定图标错位的问题。[#​34518](https://togithub.com/ant-design/ant-design/pull/34518) - 💄 修复 RangePicker `status` 相关样式丢失的问题。[#​34509](https://togithub.com/ant-design/ant-design/pull/34509) - 🛎 为动态改变 Form.Item 的 `hasFeedback` 时 Input 焦点丢失添加警告。[#​34475](https://togithub.com/ant-design/ant-design/pull/34475) - 🐞 修复 Input 有 `prefix` 或者 `suffix` 时 input 缺少某些 className 的问题。[#​34474](https://togithub.com/ant-design/ant-design/pull/34474) - 🌐 更新 it_LT 的 locale。[#​34567](https://togithub.com/ant-desin/ant-design/pull/34567) [@​Anizcus](https://togithub.com/Anizcus) ### [`v4.19.2`](https://togithub.com/ant-design/ant-design/releases/4.19.2) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.19.1...4.19.2) - 🐞 Fix Dropdown not auto adjust placement when position on the edge of window. [#​34390](https://togithub.com/ant-design/ant-design/pull/34390) - 💄 Change PageHeader elements margin from `12px` to `8px` inside `extra`. [#​34428](https://togithub.com/ant-design/ant-design/pull/34428) - 🛠 Export css variable function in `antd/es/config-provider` folder to enable ssr requirement. [#​34436](https://togithub.com/ant-design/ant-design/pull/34436) - 🛠 Refactor Menu with React hooks. [#​34433](https://togithub.com/ant-design/ant-design/pull/34433) - Input - 💄 Fix Input font-size when `size` is large. [#​34381](https://togithub.com/ant-design/ant-design/pull/34381) - 💄 Fix Input.Group wrong border when status is error. [#​34412](https://togithub.com/ant-design/ant-design/pull/34412) - Form - 🐞 Fix Form.Item removed in `form.validateFields` throw `Can't perform a React state update on an unmounted component` warning. [#​34405](https://togithub.com/ant-design/ant-design/pull/34405) - 🐞 Fix to Form that `initialValues` would change if `preserve` is false. [#​34411](https://togithub.com/ant-design/ant-design/pull/34411) - Tooltip - 💄 Fix Tooltip width in Safari. [#​34415](https://togithub.com/ant-design/ant-design/pull/34415) [@​jiandandkl](https://togithub.com/jiandandkl) - 💄 Fix arrow size of Tooltip/Popover/Popconfirm. [#​34407](https://togithub.com/ant-design/ant-design/pull/34407) - 💄 Remove Collapse bottom border in simple style. [#​34366](https://togithub.com/ant-design/ant-design/pull/34366) [@​PanStar](https://togithub.com/PanStar) - TypeScript - 🤖 Fix Input `data-*` type definition. [#​34410](https://togithub.com/ant-design/ant-design/pull/34410) [@​GitKou](https://togithub.com/GitKou) - 🤖 Fix Transfer `footer` type definition. [#​34337](https://togithub.com/ant-design/ant-design/pull/34337) [@​zomixi](https://togithub.com/zomixi) *** - 🐞 修复 Dropdown 在边界情况下不会自动调整展示位置的问题。[#​34390](https://togithub.com/ant-design/ant-design/pull/34390) - 💄 缩小 PageHeader `extra` 内元素间距为 `8px`。[#​34428](https://togithub.com/ant-design/ant-design/pull/34428) - 🛠 导出 antd/es/config-provider 目录下的 css variable 函数以支持 ssr 的需求。[#​34436](https://togithub.com/ant-design/ant-design/pull/34436) - 🛠 使用 React hooks 重构 Menu。[#​34433](https://togithub.com/ant-design/ant-design/pull/34433) - Input - 💄 修复大尺寸 Input 的字号问题。[#​34381](https://togithub.com/ant-design/ant-design/pull/34381) - 💄 修复 Input.Group 多余的错误边框样式。[#​34412](https://togithub.com/ant-design/ant-design/pull/34412) - Form - 🐞 修复 Form.Item 在 `form.validateFields` 中移除时抛出 `Can't perform a React state update on an unmounted component` 警告的问题。[#​34405](https://togithub.com/ant-design/ant-design/pull/34405) - 🐞 修复 Form 组件当 `preserve` 为 `false` 时 `initialValues` 会被更改的问题。[#​34411](https://togithub.com/ant-design/ant-design/pull/34411) - Tooltip - 💄 修复 Tooltip 在 Safari 下的内容宽度问题。[#​34415](https://togithub.com/ant-design/ant-design/pull/34415) [@​jiandandkl](https://togithub.com/jiandandkl) - 💄 修复 Tooltip/Popover/Popconfirm 等组件箭头大小问题。[#​34407](https://togithub.com/ant-design/ant-design/pull/34407) - 💄 优化 Collapse 简洁模式的底边框。[#​34366](https://togithub.com/ant-design/ant-design/pull/34366) [@​PanStar](https://togithub.com/PanStar) - TypeScript - 🤖 修复 Input 不支持 `data-*` TS 定义的问题。[#​34410](https://togithub.com/ant-design/ant-design/pull/34410) [@​GitKou](https://togithub.com/GitKou) - 🤖 修复 Transfer 的 `footer` 类型定义。[#​34337](https://togithub.com/ant-design/ant-design/pull/34337) [@​zomixi](https://togithub.com/zomixi) ### [`v4.19.1`](https://togithub.com/ant-design/ant-design/releases/4.19.1) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.19.0...4.19.1) - 🐞 Fix less compile error related to custom status. [#​34350](https://togithub.com/ant-design/ant-design/pull/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](https://togithub.com/ant-design/ant-design/pull/34354) - 🐞 Fix ConfigProvider `csp` sometime not effect on Icon. [#​34356](https://togithub.com/ant-design/ant-design/pull/34356) *** - 🐞 修复自定义状态相关的 less 编译错误 [#​34350](https://togithub.com/ant-design/ant-design/pull/34350) - 🐞 修复使用定制主题时 less 编译提示 `ReferenceError: colorPalette is not defined` 错误。 - 🐞 修复引入 `antd/dist/antd.css` 时提示 `Error: Invalid class or id selector syntax` 错误。 - 🐞 修复 Input.Passowrd 图标颜色错误。[#​34354](https://togithub.com/ant-design/ant-design/pull/34354) - 🐞 修复 ConfigProvider `csp` 有时在 Icon 上不会生效的问题。[#​34356](https://togithub.com/ant-design/ant-design/pull/34356) ### [`v4.19.0`](https://togithub.com/ant-design/ant-design/releases/4.19.0) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.18.9...4.19.0) - 💄 Optimize arrow style for some components. [#​33710](https://togithub.com/ant-design/ant-design/pull/33710) ![image](https://user-images.githubusercontent.com/27722486/157088587-ca49cc29-bf25-42d1-8c14-020b5501c62e.png) - Input - 🛠 Refactor Input with rc-input. [#​34206](https://togithub.com/ant-design/ant-design/pull/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](https://togithub.com/ant-design/ant-design/pull/34325) - Table - 🆕 `filterSearch` now support passing function to customize search. [#​34085](https://togithub.com/ant-design/ant-design/pull/34085) [@​heiyu4585](https://togithub.com/heiyu4585) - 🆕 `column.filterDropdown({ clearFilters })` support `clearFilters({ confirm: false, closeDropdown: false })`. [#​34120](https://togithub.com/ant-design/ant-design/pull/34120) [@​heiyu4585](https://togithub.com/heiyu4585) - ⌨️ Table adds `aria-sort` attribute for screen readers. [#​33603](https://togithub.com/ant-design/ant-design/pull/33603) [@​dgreene1](https://togithub.com/dgreene1) - 🐞 Fix Table filters select-all Checkbox not changed when select item. [#​34295](https://togithub.com/ant-design/ant-design/pull/34295) - 🆕 Data entry components add `status` prop to support custom status. - Transfer [#​34098](https://togithub.com/ant-design/ant-design/pull/34098) - AutoComplete [#​34096](https://togithub.com/ant-design/ant-design/pull/34096) - TreeSelect [#​34093](https://togithub.com/ant-design/ant-design/pull/34093) - Cascader [#​34086](https://togithub.com/ant-design/ant-design/pull/34086) - Select [#​34084](https://togithub.com/ant-design/ant-design/pull/34084) - DatePicker and TimePicker [#​34073](https://togithub.com/ant-design/ant-design/pull/34073) - Mentions [#​34071](https://togithub.com/ant-design/ant-design/pull/34071) - InputNumber [#​34042](https://togithub.com/ant-design/ant-design/pull/34042) - Input [#​33995](https://togithub.com/ant-design/ant-design/pull/33995) ![image](https://user-images.githubusercontent.com/27722486/157089015-f96b0153-2cc4-4e04-94d6-e0e4b195d5d1.png) - 🆕 InputNumber supports `controls={{ upIcon, downIcon }}` to customize icon up and down. [#​33914](https://togithub.com/ant-design/ant-design/pull/33914) [@​heiyu4585](https://togithub.com/heiyu4585) - 🆕 Notification `placement` support `top` / `bottom` [#​33871](https://togithub.com/ant-design/ant-design/pull/33871) [@​heiyu4585](https://togithub.com/heiyu4585) - 🆕 Select, Cascades, DatePicker now support `placement` property. [#​33641](https://togithub.com/ant-design/ant-design/pull/33541) [@​ONLY-yours](https://togithub.com/ONLY-yours) - 🆕 Dropdown support `arrow={{ pointAtCenter: true }}` to make arrow point at center. And `top` `bottom` placement are also supported. [#​33658](https://togithub.com/ant-design/ant-design/pull/33658) - 🆕 Skeleton.Input Adds `block` prop. [#​33672](https://togithub.com/ant-design/ant-design/pull/33672) [@​woochanleee](https://togithub.com/woochanleee) - 🆕 Move TimePicker `disabledHours`, `disabledMinutes`, `disabledSeconds` into `disabledTime` to align with DatePicker. [#​33503](https://togithub.com/ant-design/ant-design/pull/33503) - 💄 Modify the color of some borders and the background color of the progress bar to be transparent to suit the colored background. [#​33506](https://togithub.com/ant-design/ant-design/pull/33506) - 💄 Space support custom children `key`. [#​33607](https://togithub.com/ant-design/ant-design/pull/33607) [@​qin20](https://togithub.com/qin20) - 🐞 Fix `Typography.Title` didn't keep font size when become editable. [#​34169](https://togithub.com/ant-design/ant-design/pull/34169) [@​heiyu4585](https://togithub.com/heiyu4585) - 🐞 Fix Form.Item throw warning `React does not recognize the requiredMark prop on a DOM element`. [#​34323](https://togithub.com/ant-design/ant-design/pull/34323) *** - 💄 优化部分组件箭头样式。 [#​33710](https://togithub.com/ant-design/ant-design/pull/33710) ![image](https://user-images.githubusercontent.com/27722486/157088587-ca49cc29-bf25-42d1-8c14-020b5501c62e.png) - Input - 🛠 引入 rc-input 重构 Input 组件为 function component。[#​34206](https://togithub.com/ant-design/ant-design/pull/34206) - 注意:由于从 class component 变为 function component,Input 组件的 `ref` 类型及内容已经更新,可以通过 `import { InputRef } from 'antd'` 引入。其中的 `input` 属性作为获取 DOM 的途径被保留,同时支持 `focus` 和 `blur` 等文档中支持的方法。 - 🆕 新增 `clearIcon` 属性,支持自定义清除按钮。 [#​34325](https://togithub.com/ant-design/ant-design/pull/34325) - Table - 🆕 `column.filterSearch` 属性现在支持返回一个函数用于自定义搜索条件。[#​34085](https://togithub.com/ant-design/ant-design/pull/34085) [@​heiyu4585](https://togithub.com/heiyu4585) - 🆕 `column.filterDropdown({ clearFilters })` 支持参数 `clearFilters({ confirm: false, closeDropdown: false })` 控制筛选。[#​34120](https://togithub.com/ant-design/ant-design/pull/34120) [@​heiyu4585](https://togithub.com/heiyu4585) - ⌨️ 增加 `aria-sort` 属性以优化屏幕阅读器的使用体验。 [#​33603](https://togithub.com/ant-design/ant-design/pull/33603) [@​dgreene1](https://togithub.com/dgreene1) - 🐞 修复 Table 列筛选器中选择全部 Checkbox 状态问题。 [#​34295](https://togithub.com/ant-design/ant-design/pull/34295) - 🆕 表单组件新增 `status` 属性以支持自定义状态。 - Transfer [#​34098](https://togithub.com/ant-design/ant-design/pull/34098) - AutoComplete [#​34096](https://togithub.com/ant-design/ant-design/pull/34096) - TreeSelect [#​34093](https://togithub.com/ant-design/ant-design/pull/34093) - Cascader [#​34086](https://togithub.com/ant-design/ant-design/pull/34086) - Select [#​34084](https://togithub.com/ant-design/ant-design/pull/34084) - DatePicker 和 TimePicker [#​34073](https://togithub.com/ant-design/ant-design/pull/34073) - Mentions [#​34071](https://togithub.com/ant-design/ant-design/pull/34071) - InputNumber [#​34042](https://togithub.com/ant-design/ant-design/pull/34042) - Input [#​33995](https://togithub.com/ant-design/ant-design/pull/33995) ![image](https://user-images.githubusercontent.com/27722486/157089015-f96b0153-2cc4-4e04-94d6-e0e4b195d5d1.png) - 🆕 InputNumber 组件支持 `controls={{ upIcon, downIcon }}` 用于自定义上下图标。[#​33914](https://togithub.com/ant-design/ant-design/pull/33914) [@​heiyu4585](https://togithub.com/heiyu4585) - 🆕 Notification 组件弹窗位置新增支持 `top` / `bottom`。 [#​33871](https://togithub.com/ant-design/ant-design/pull/33871) [@​heiyu4585](https://togithub.com/heiyu4585) - 🆕 Select、Cascader、DatePicker 等组件新增 `placement` 用于自定义弹层方向。 [#​33641](https://togithub.com/ant-design/ant-design/pull/33541) [@​ONLY-yours](https://togithub.com/ONLY-yours) - 🆕 Dropdown 组件支持 `arrow={{ pointAtCenter: true }}` 用于指向元素正中间,并且新增 `top` `bottom` 两种 `placement` 位置。 [#​33658](https://togithub.com/ant-design/ant-design/pull/33658) - 🆕 Skeleton.Input 添加 `block` 属性。 [#​33672](https://togithub.com/ant-design/ant-design/pull/33672) [@​woochanleee](https://togithub.com/woochanleee) - 🆕 合并 TimePicker `disabledHours`、`disabledMinutes`、`disabledSeconds` 至 `disabledTime` 以保持与 DatePicker 接口一致性。 [#​33503](https://togithub.com/ant-design/ant-design/pull/33503) - 💄 修改部分边框颜色和进度条的背景色为透明色以适应有色背景。 [#​33506](https://togithub.com/ant-design/ant-design/pull/33506) - 💄 Space 支持自定义 children 的 `key`。 [#​33607](https://togithub.com/ant-design/ant-design/pull/33607) [@​qin20](https://togithub.com/qin20) - 🐞 修复 Typography.Title 进入编辑模式时大小不一致的问题。 [#​34169](https://togithub.com/ant-design/ant-design/pull/34169) [@​heiyu4585](https://togithub.com/heiyu4585) - 🐞 修复 Form.Item 抛出 `React does not recognize the requiredMark prop on a DOM element` 的问题。 [#​34323](https://togithub.com/ant-design/ant-design/pull/34323) ### [`v4.18.9`](https://togithub.com/ant-design/ant-design/releases/4.18.9) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.18.8...4.18.9) - 🆕 New theme less variable for Radio, Divider, Modal, Dropdown, Drawer. [#​34194](https://togithub.com/ant-design/ant-design/pull/34194) [#​34187](https://togithub.com/ant-design/ant-design/pull/34187) [#​34191](https://togithub.com/ant-design/ant-design/pull/34191) [#​34189](https://togithub.com/ant-design/ant-design/pull/34189) [#​34188](https://togithub.com/ant-design/ant-design/pull/34188) [@​qdzhaoxiaodao](https://togithub.com/qdzhaoxiaodao) - 💄 Fix Dropdown item wrap style when text is too long. [#​34177](https://togithub.com/ant-design/ant-design/pull/34177) - TypeScript - 🐞 Fix Upload `onChange` parameter generic passing. [#​34161](https://togithub.com/ant-design/ant-design/pull/34161) [@​wangcch](https://togithub.com/wangcch) *** - 🆕 新增 Radio、Divider、Modal、Dropdown、Drawer 主题变量。[#​34194](https://togithub.com/ant-design/ant-design/pull/34194) [#​34187](https://togithub.com/ant-design/ant-design/pull/34187) [#​34191](https://togithub.com/ant-design/ant-design/pull/34191) [#​34189](https://togithub.com/ant-design/ant-design/pull/34189) [#​34188](https://togithub.com/ant-design/ant-design/pull/34188) [@​qdzhaoxiaodao](https://togithub.com/qdzhaoxiaodao) - 🐞 修复 Form 组件当 `preserve` 为 `false` 时 `initialValues` 会被更改的问题。[#​34153](https://togithub.com/ant-design/ant-design/pull/34153) - 💄 修复 Dropdown 菜单项文本太长没有换行的问题。[#​34177](https://togithub.com/ant-design/ant-design/pull/3417) - TypeScript - 🐞 修复 Upload `onChange` 参数泛型传递。[#​34161](https://togithub.com/ant-design/ant-design/pull/34161) [@​wangcch](https://togithub.com/wangcch) ### [`v4.18.8`](https://togithub.com/ant-design/ant-design/releases/4.18.8) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.18.7...4.18.8) - 🐞 Fix `getContainer` config not working bug when called multi-times via `message.config`. [#​34123](https://togithub.com/ant-design/ant-design/pull/34123) [@​TrickyPi](https://togithub.com/TrickyPi) - 🐞 Fix invalid context value cache in Menu component. [#​34121](https://togithub.com/ant-design/ant-design/pull/34121) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 Fix ConfigProvider config theme on server side crash, and warning for useless in SSR instead. [#​34118](https://togithub.com/ant-design/ant-design/pull/34118) - Table - ⚡️ Fix Table render twice on first mount. [#​34106](https://togithub.com/ant-design/ant-design/pull/34106) - ⚡️ Optimized Table rendering performance, now will skip useless rendering when deprecated `column.render: () => { children, props }` method is not used. [#​34075](https://togithub.com/ant-design/ant-design/pull/34075) - 🐞 Fix incorrect copy text of Typography after children is updated when enable `copyable`. [#​34034](https://togithub.com/ant-design/ant-design/pull/34034) [@​opopeieie](https://togithub.com/opopeieie) - ⚡️ Optimize Avatar, List, Pagination, Steps to avoid additional render on mount if unnecessary. [34122](https://togithub.com/ant-design/ant-design/pull/34122) - 💄 Fix Form broken style when Select item is too long in horizontal layout. [#​34117](https://togithub.com/ant-design/ant-design/pull/34117) - 🇸🇰 Improve texts for Table, Form and Modal in `sk_SK`. [#​34061](https://togithub.com/ant-design/ant-design/pull/34061) [@​xseman](https://togithub.com/xseman) - TypeScript - 🤖 Export `SiderProps` type from Layout component. [#​34137](https://togithub.com/ant-design/ant-design/pull/34137) [@​Picsong](https://togithub.com/Picsong) *** - 🐞 修复 `message.config` 多次配置 `getContainer` 时无法生效的问题。[#​34123](https://togithub.com/ant-design/ant-design/pull/34123) [@​TrickyPi](https://togithub.com/TrickyPi) - 🐞 修复 Menu 组件中无效的缓存逻辑。[#​34121](https://togithub.com/ant-design/ant-design/pull/34121) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 修复 ConfigProvider 在服务端配置主题会崩溃的问题,同时现在会提示动态主题于 SSR 上无效。[#​34118](https://togithub.com/ant-design/ant-design/pull/34118) - Table - ⚡️ 修复 Table 在首次加载时会渲染两次的问题。[#​34106](https://togithub.com/ant-design/ant-design/pull/34106) - ⚡️ 优化 Table 渲染性能,现在不使用废弃 `column.render: () => { children, props }` 方法时默认会跳过无用渲染。[#​34075](https://togithub.com/ant-design/ant-design/pull/34075) - 🐞 修复 Typography 启用 `copyable` 时 `children` 内容变化后复制内容没变的问题。[#​34034](https://togithub.com/ant-design/ant-design/pull/34034) [@​opopeieie](https://togithub.com/opopeieie) - ⚡️ 优化 Avatar、List、Pagination、Steps 以防止初始化时非必要的额外渲染。[34122](https://togithub.com/ant-design/ant-design/pull/34122) - 💄 修复 Form 下 Select 内容太长导致布局换行的问题。[#​34117](https://togithub.com/ant-design/ant-design/pull/34117) - 🇸🇰 完善 `sk-SK` 中 Table、Form、Modal 的文案。[#​34061](https://togithub.com/ant-design/ant-design/pull/34061) [@​xseman](https://togithub.com/xseman) - TypeScript - 🤖 导出 Layout 组件的 `SiderProps` 类型。[#​34137](https://togithub.com/ant-design/ant-design/pull/34137) [@​Picsong](https://togithub.com/Picsong) ### [`v4.18.7`](https://togithub.com/ant-design/ant-design/releases/4.18.7) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.18.6...4.18.7) - Typography - 🛠 Fix Typography `useLayoutEffect` warning in SSR. [#​33818](https://togithub.com/ant-design/ant-design/pull/33818) [@​SoYoung210](https://togithub.com/SoYoung210) - 🐞 Fix Typography with `ellipsis` makes screen show the scroll bar in some case. [#​34007](https://togithub.com/ant-design/ant-design/pull/34007) - 🐞 Typography copy click event is now `stopPropagation` by default. [#​33998](https://togithub.com/ant-design/ant-design/pull/33998) [@​linxianxi](https://togithub.com/linxianxi) - 🐞 Fix Typography edit & copy button not trigger by enter key. [#​33976](https://togithub.com/ant-design/ant-design/pull/33976) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 Fix Form `undefined` text of min/max validators in pl_PL locale. [#​34024](https://togithub.com/ant-design/ant-design/pull/34024) [@​MichalPodeszwa](https://togithub.com/MichalPodeszwa) - 🐞 Fix Input.TextArea cut text logic when `maxLength` configured. [#​33910](https://togithub.com/ant-design/ant-design/pull/33910) [@​chenyizhongx](https://togithub.com/chenyizhongx) - 💄 Button with `type=default` will provide `.ant-btn-default` className. [#​34013](https://togithub.com/ant-design/ant-design/pull/34013) - 💄 Improve Menu `:focus-visible` style. [#​34008](https://togithub.com/ant-design/ant-design/pull/34008) - 💄 Fix Pagination and Rate style problem in Safari. [#​34002](https://togithub.com/ant-design/ant-design/pull/34002) - 💄 Fix Row and Col component styles when using prefixCls. [#​33969](https://togithub.com/ant-design/ant-design/pull/33969) [@​mic-web](https://togithub.com/mic-web) - 🐞 Fix Icon with custom color not working. [#​33951](https://togithub.com/ant-design/ant-design/pull/33951) [@​MadCcc](https://togithub.com/MadCcc) - TypeScript - 🤖 Optimize Cascader `onChange` definition with `multiple` prop. [#​33947](https://togithub.com/ant-design/ant-design/pull/33947) [@​babycannotsay](https://togithub.com/babycannotsay) *** - Typography - 🛠 修复 Typography 在 SSR 渲染时警告 `useLayoutEffect` 的问题。[#​33818](https://togithub.com/ant-design/ant-design/pull/33818) [@​SoYoung210](https://togithub.com/SoYoung210) - 🐞 修复 Typography 配置 `ellipsis` 后在某些情况下会出现滚动条的问题。[#​34007](https://togithub.com/ant-design/ant-design/pull/34007) - 🐞 Typography 复制按钮点击事件不在冒泡。[#​33998](https://togithub.com/ant-design/ant-design/pull/33998) [@​linxianxi](https://togithub.com/linxianxi) - 🐞 修复 Typography 中编辑和拷贝按钮无法响应 Enter 按键的问题。[#​33976](https://togithub.com/ant-design/ant-design/pull/33976) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 修复 Form 波兰语中表单校验部分文案未定义的问题。[#​34024](https://togithub.com/ant-design/ant-design/pull/34024) [@​MichalPodeszwa](https://togithub.com/MichalPodeszwa) - 🐞 修复 Input.TextArea 设置 `maxLength` 时光标位置会影响超出部分截取的问题。[#​33910](https://togithub.com/ant-design/ant-design/pull/33910) [@​chenyizhongx](https://togithub.com/chenyizhongx) - 💄 Button 对于 `type=default` 也会提供 `.ant-btn-default` 的样式类名。[#​34013](https://togithub.com/ant-design/ant-design/pull/34013) - 💄 优化 Menu `:focus-visible` 的样式。[#​34008](https://togithub.com/ant-design/ant-design/pull/34008) - 💄 修复 Pagination 和 Rate 在 Safari 下部分样式丢失的问题,比如分页按钮禁用样式失效。[#​34002](https://togithub.com/ant-design/ant-design/pull/34002) - 💄 修复 Row 与 Col 在配置 `prefixCls` 的样式问题。[#​33969](https://togithub.com/ant-design/ant-design/pull/33969) [@​mic-web](https://togithub.com/mic-web) - 🐞 修复 Icon 自定义颜色无效的问题。[#​33951](https://togithub.com/ant-design/ant-design/pull/33951) [@​MadCcc](https://togithub.com/MadCcc) - TypeScript - 🤖 优化 Cascader `multiple` 属性对应的 `onChange` 类型推断。[#​33947](https://togithub.com/ant-design/ant-design/pull/33947) [@​babycannotsay](https://togithub.com/babycannotsay) ### [`v4.18.6`](https://togithub.com/ant-design/ant-design/releases/4.18.6) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.18.5...4.18.6) - 🐞 Hide the empty popover when the props' content is undefined or null. [#​33835](https://togithub.com/ant-design/ant-design/pull/33835) [@​DawnLck](https://togithub.com/DawnLck) - 🐞 Fix DatePicker `ref` TypeScript definition. [#​33901](https://togithub.com/ant-design/ant-design/pull/33901) [@​Amour1688](https://togithub.com/Amour1688) - 🐞 Fix the problem that tooltip didn't show on ellipsis with rows larger than 1. [#​33875](https://togithub.com/ant-design/ant-design/pull/33875) [@​MadCcc](https://togithub.com/MadCcc) - Button - 🐞 Fix the issue that block not work when small size. [#​33878](https://togithub.com/ant-design/ant-design/pull/33878) [@​tangjinzhou](https://togithub.com/tangjinzhou) - 🐞 Clear timer of delayed loading after Button is unmounted. [#​33858](https://togithub.com/ant-design/ant-design/pull/33858) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 Fix the problem that Tooltip cannot be displayed when it is used with switch in loading state. [#​33860](https://togithub.com/ant-design/ant-design/pull/33860) [@​MadCcc](https://togithub.com/MadCcc) - 🐞 fix the upload button sometimes flashes after the upload button is changed from hidden to display when the upload component is a picture-card type. [#​33820](https://togithub.com/ant-design/ant-design/pull/33820) [@​credred](https://togithub.com/credred) *** - 🐞 修复当传入的内容参数和标题参数都为空时,气泡组件仍旧会渲染空气泡的问题。[#​33835](https://togithub.com/ant-design/ant-design/pull/33835) [@​DawnLck](https://togithub.com/DawnLck) - 🐞 修复 DatePicker `ref` TypeScript 定义。[#​33901](https://togithub.com/ant-design/ant-design/pull/33901) [@​Amour1688](https://togithub.com/Amour1688) - 🐞 修复 Typography ellipsis 行数大于 1 时 Tooltip 不显示的问题。[#​33875](https://togithub.com/ant-design/ant-design/pull/33875) [@​MadCcc](https://togithub.com/MadCcc) - Button - 🐞 修复小尺寸下 Button 组件 block 属性无效的问题[#​33878](https://togithub.com/ant-design/ant-design/pull/33878) [@​tangjinzhou](https://togithub.com/tangjinzhou) - 🐞 Button 组件卸载后,清理延迟加载定时器。[#​33858](https://togithub.com/ant-design/ant-design/pull/33858) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 修复 Tooltip 套在 loading 状态的 switch 上时无法正常显示的问题。[#​33860](https://togithub.com/ant-design/ant-design/pull/33860) [@​MadCcc](https://togithub.com/MadCcc) - 🐞 修复 Upload 组件为 picture-card 类型时,由隐藏上传按钮改为显示后,上传按钮有时会闪烁的问题。[#​33820](https://togithub.com/ant-design/ant-design/pull/33820) [@​credred](https://togithub.com/credred) ### [`v4.18.5`](https://togithub.com/ant-design/ant-design/releases/4.18.5) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.18.4...4.18.5) - Cascader - 💄 Fix Cascader loading icon. [#​33799](https://togithub.com/ant-design/ant-design/pull/33799) - 🐞 Fix Cascader not auto offset placement when popup is out of screen and fix active option out of screen not scroll. [#​33777](https://togithub.com/ant-design/ant-design/pull/33777) - 💄 Fix Tag style in dark theme. [#​33751](https://togithub.com/ant-design/ant-design/pull/33751) - 💄 Fix disabled Checkbox inside Tooltip dom structure. [#​33772](https://togithub.com/ant-design/ant-design/pull/33772) [@​boomler](https://togithub.com/boomler) - ⚡️ Fix invalid hook dependency array in Row and Layout.Sider components. [#​33804](https://togithub.com/ant-design/ant-design/pull/33804) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 Fix Card `ref` not working. [#​33784](https://togithub.com/ant-design/ant-design/pull/33784) [@​LongHaoo](https://togithub.com/LongHaoo) - 🐞 Fix a Checkbox problem that `onChange` could not correctly pass in the modified value when dynamically modifying `value` property. [#​33753](https://togithub.com/ant-design/ant-design/pull/33753) *** - Cascader - 🐞 修复 Cascader 弹层超出屏幕时不会自动偏移以及激活选项不会自动滚动到正确位置的问题。[#​33777](https://togithub.com/ant-design/ant-design/pull/33777) - 💄 修复 Cascader 加载中图标。[#​33799](https://togithub.com/ant-design/ant-design/pull/33799) - 💄 修复 Tag 在暗黑主题下的样式。[#​33751](https://togithub.com/ant-design/ant-design/pull/33751) - 💄 修复 Tooltip 的子元素含有禁用态的 CheckBox 时可能引起的行为和样式异常。[#​33772](https://togithub.com/ant-design/ant-design/pull/33772) [@​boomler](https://togithub.com/boomler) - ⚡️ 优化 Row 和 Layout.Sider 的 hooks 依赖数组。[#​33804](https://togithub.com/ant-design/ant-design/pull/33804) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 修复 Card `ref` 不生效的问题。[#​33784](https://togithub.com/ant-design/ant-design/pull/33784) [@​LongHaoo](https://togithub.com/LongHaoo) - 🐞 修复动态修改 Checkbox 的 `value` 时 `onChange` 不能正确传入修改后的值的问题。[#​33753](https://togithub.com/ant-design/ant-design/pull/33753) ### [`v4.18.4`](https://togithub.com/ant-design/ant-design/releases/4.18.4) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.18.3...4.18.4) - Typography - ⚡️ Optimize Typography to use native css ellipsis when `tooltip` is configured. [#​33669](https://togithub.com/ant-design/ant-design/pull/33669) - 🐞 Refactor Typography `ellipsis` logic to fix error when `children` use Context content. [#​33725](https://togithub.com/ant-design/ant-design/pull/33725) - Icon - 🐞 Fix `` and `` not aligned. ([https://github.com/ant-design/ant-design/pull/33709](https://togithub.com/ant-design/ant-design/pull/33709)) - 🐞 Fix `` shake. [#​33726](https://togithub.com/ant-design/ant-design/pull/33726) [@​JX-Zhuang](https://togithub.com/JX-Zhuang) - Input - 🐞 Fix the display effect for Input related components with `hidden`. [#​33735](https://togithub.com/ant-design/ant-design/pull/33735) [@​fanerge](https://togithub.com/fanerge) [#​33706](https://togithub.com/ant-design/ant-design/pull/33706) [@​hydraZty](https://togithub.com/hydraZty) - 🐞 Fix the warning in console for Input with `showCount`. [#​33686](https://togithub.com/ant-design/ant-design/pull/33686) [@​whwangms](https://togithub.com/whwangms) - ⚡️ Fix ConfigProvider and Anchor rerender unexpectedly. [#​33723](https://togithub.com/ant-design/ant-design/pull/33723) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 Fix the duplicate keys warning in console for Cascader. [#​33649](https://togithub.com/ant-design/ant-design/pull/33649) [@​dimbslmh](https://togithub.com/dimbslmh) - 🐞 Checkbox.Group support number and boolean as options element. [#​33678](https://togithub.com/ant-design/ant-design/pull/33678) - 🐞 Fix Form `validateMessages` bug in multiple ConfigProvider. [#​33705](https://togithub.com/ant-design/ant-design/pull/33705) - 🐞 Fix Steps the tail part would be hidden when type is navigation and labelPlacement is vertical. [#​33716](https://togithub.com/ant-design/ant-design/pull/33716) [@​toSayNothing](https://togithub.com/toSayNothing) - 🐞 Fix Image has bottom blank style. [#​33631](https://togithub.com/ant-design/ant-design/pull/33631) [@​fanerge](https://togithub.com/fanerge) - 🐞 Fix TreeSelect with keyboard operation missing highlight issue. [#​33755](https://togithub.com/ant-design/ant-design/pull/33755) - 🇰🇭 Fix some translations for Khmer (km_KH). [#​33738](https://togithub.com/ant-design/ant-design/pull/33738) [@​vireakkeosokvibol](https://togithub.com/vireakkeosokvibol) *** - Typography - ⚡️ 优化 Typography 在配置 `tooltip` 时优先使用原生省略样式以提升性能。[#​33669](https://togithub.com/ant-design/ant-design/pull/33669) - 🐞 重构 Typography `ellipsis` 逻辑以修复 `children` 如果消费上游 Context 会报错的问题。 [#​33725](https://togithub.com/ant-design/ant-design/pull/33725) - Icon - 🐞 修复 `` 和 `` 不对齐的问题。[#​33709](https://togithub.com/ant-design/ant-design/pull/33709) - 🐞 修复 `` 抖动的问题。[#​33726](https://togithub.com/ant-design/ant-design/pull/33726) [@​JX-Zhuang](https://togithub.com/JX-Zhuang) - Input - 🐞 修复 Input 相关组件设置 `hidden` 时的展示问题。[#​33735](https://togithub.com/ant-design/ant-design/pull/33735) [@​fanerge](https://togithub.com/fanerge),[#​33706](https://togithub.com/ant-design/ant-design/pull/33706) [@​hydraZty](https://togithub.com/hydraZty) - 🐞 修复 Input 传入 `showCount` 时控制台 warning 问题。[#​33686](https://togithub.com/ant-design/ant-design/pull/33686) [@​whwangms](https://togithub.com/whwangms) - ⚡️ 修复 ConfigProvider 和 Anchor 的渲染函数多次运行的问题。[#​33723](https://togithub.com/ant-design/ant-design/pull/33723) [@​mrwd2009](https://togithub.com/mrwd2009) - 🐞 修复 Cascader 组件中出现重复 key 的控制台 warning 问题。[#​33649](https://togithub.com/ant-design/ant-design/pull/33649) [@​dimbslmh](https://togithub.com/dimbslmh) - 🐞 Checkbox.Group 的 `options` 支持数组中直接传入 number 和 boolean 类型。[#​33678](https://togithub.com/ant-design/ant-design/pull/33678) - 🐞 修复 Form `validateMessages` 在多个 ConfigProvider 内错乱的问题。[#​33705](https://togithub.com/ant-design/ant-design/pull/33705) - 🐞 修复 Steps 组件在 `type` 为 navigation 和 `labelPlacement` 为 vertical 时,tail 部分不会显示的问题。[#​33716](https://togithub.com/ant-design/ant-design/pull/33716) [@​toSayNothing](https://togithub.com/toSayNothing) - 🐞 修复 Image 底部留白问题。[#​33631](https://togithub.com/ant-design/ant-design/pull/33631) [@​fanerge](https://togithub.com/fanerge) - 🐞 修复 TreeSelect 键盘操作时,激活项不会高亮的问题。[#​33755](https://togithub.com/ant-design/ant-design/pull/33755) - 🇰🇭 修正高棉语 (km_KH) 语言包中部分翻译。[#​33738](https://togithub.com/ant-design/ant-design/pull/33738) [@​vireakkeosokvibol](https://togithub.com/vireakkeosokvibol) ### [`v4.18.3`](https://togithub.com/ant-design/ant-design/releases/4.18.3) [Compare Source](https://togithub.com/ant-design/ant-design/compare/4.18.2...4.18.3) - 🆕 Menu support home and end key. [#​33642](https://togithub.com/ant-design/ant-design/pull/33642) [@​dartamonov-vertex](https://togithub.com/dartamonov-vertex) - Table - ⚡️ Improve Table perfermance significantly when mount and unmount. [#​33554](https://togithub.com/ant-design/ant-design/pull/33554) - 🐞 Fix Table emptynode fixed display. [#​33610](https://togithub.com/ant-design/ant-design/pull/33610) [@​hemengke1997](https://togithub.com/hemengke1997) - 🐞 Fix Table tree data hover error。[#​33638](https://togithub.com/ant-design/ant-design/pull/33638) [@​LongHaoo](https://togithub.com/LongHaoo) - Form - 🐞 Fix Form validateMessages is not correct in default locale. [#​33511](https://togithub.com/ant-design/ant-design/pull/33511) - 🐞 Fix Form.Item help with empty string makes layout shaking. [#​33644](https://togithub.com/ant-design/ant-design/pull/33644) - 🐞 Fix Card.Grid props should expose Div Properties like onClick. [#​33563](https://togithub.com/ant-design/ant-design/pull/33563) [@​LongHaoo](https://togithub.com/LongHaoo) - 🐞 Fix Input.Textarea throws error on preact. [#​33536](https://togithub.com/ant-design/ant-design/pull/33536) [@​developit](https://togithub.com/developit) - 🐞 Fix PageHeader state update error after unmounted. [#​33546](https://togithub.com/ant-design/ant-design/pull/33546) [@​wuifdesign](https://togithub.com/wuifdesign) - 💄 Fix Select tag margin issue when using `tagRender`. [#​33539](https://togithub.com/ant-design/ant-design/pull/33539) - 💄 Remove svg reset style for IE9-, fix svg elements being cutting style problem. [#​33579](https://togithub.com/ant-design/ant-design/pull/33579) - TypeScript - 🤖 Fix Upload types for pass generic. [#​33543](https://togithub.com/ant-design/ant-design/pull/33543) [@​woochanleee](https://togithub.com/woochanleee) *** - 🆕 Menu 组件支持 home(跳转到第一项)和 end(跳转到最后一项)。[#​33642](https://togithub.com/ant-design/ant-design/pull/33642) [@​dartamonov-vertex](https://togithub.com/dartamonov-vertex) - Table - ⚡️ 大幅优化 Table 渲染时和卸载时的性能。[#​33554](https://togithub.com/ant-design/ant-design/pull/33554) - 🐞 修复 Table 空状态未居中显示。[#​33610](https://togithub.com/ant-design/ant-design/pull/33610) [@​hemengke1997](https://togithub.com/hemengke1997) - 🐞 修复 Table 树形数据展示 hover 高亮异常的问题。[#​33638](https://togithub.com/ant-design/ant-design/pull/33638) [@​LongHaoo](https://togithub.com/LongHaoo) - Form - 🐞 修复 Form 在英文语言包下错误提示文案不生效的问题。[#​33511](https://togithub.com/ant-design/ant-design/pull/33511) - 🐞 修复 Form.Item help 使用空字符串的时候布局抖动的问题。[#​33644](https://togithub.com/ant-design/ant-design/pull/33644) - 🐞 修复 Card.Grid props 未能正常支持 div 相应 attribute 提示。[#​33563](https://togithub.com/ant-design/ant-design/pull/33563) [@​LongHaoo](https://togithub.com/LongHaoo) - 🐞 修复 Input.Textarea 在 preact 下报错的问题。[#​33536](https://togithub.com/ant-design/ant-design/pull/33536) [@​developit](https://togithub.com/developit) - 🐞 修复 PageHeader unmounted 后报 `React state update on an unmounted component` 的错误。[#​33546](https://togithub.com/ant-design/ant-design/pull/33546) [@​wuifdesign](https://togithub.com/wuifdesign) - 💄 修复 Select 使用 `tagRender` 时标签上下边距不统一的问题。[#​33539](https://togithub.com/ant-design/ant-design/pull/33539) - 💄 移除 svg 针对 IE9- 的重设样式,修复全局样式影响部分 svg 元素的问题。[#​33579](https://togithub.com/ant-design/ant-design/pull/33579) - TypeScript - 🤖 修复 Upload 泛型定义。[#​33543](https://togithub.com/ant-design/ant-design/pull/33543) [@​woochanleee](https://togithub.com/woochanleee)

Configuration

📅 Schedule: At any time (no schedule defined).

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

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.



This PR has been generated by WhiteSource Renovate. View repository job log here.

vercel[bot] commented 2 years ago

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/axetroy/blog/BKL4re11JCt7AMzfYMULkt693MNH
✅ Preview: https://blog-git-renovate-antd-4x-axetroy2.vercel.app