web-onefx-boilerplate icon indicating copy to clipboard operation
web-onefx-boilerplate copied to clipboard

Update dependency antd to v4

Open renovate[bot] opened this issue 5 years ago • 0 comments

This PR contains the following updates:

Package Type Update Change
antd (source) dependencies major 3.14.0 -> 4.0.1

Release Notes

ant-design/ant-design

v4.0.1

Compare Source


  • Form
  • Input
  • Table
    • 🐞 修复 Table column 的 filtered 属性无效的问题。#​21825
    • 🐞 修复 Table locale 无效的问题。#​21772
    • 🐞 修复 Table.Column sortOrder 在 JSX 模式下无效的问题。#​21719
    • 🐞 修复 Table 固定列在排序状态时的样式问题。#​21679
  • 🐞 修复 Dropdown 菜单里箭头图标的位置。#​21768 @​xrkffgg
  • 🐞 修复 List 组件 borderedsplit 属性冲突的问题。#​21784 @​MXWXZ
  • 🐞 修复 Menu.Item 中 a 标签换行无法显示的问题。#​21699 @​shaodahong
  • 🐞 修复 message.openicon 为空时报错的问题。#​21747 @​AshoneA
  • 🐞 修复 Result status 属性不能赋值 string 或者 number 类型的问题。#​21691
  • 🐞 修复 Descriptions 报 key 重复的警告信息。#​21688
  • 💄 优化 Calendar 在窄屏幕下的标题样式。#​21813
  • 💄 Radio.Group 不再折行。#​21813
  • 🛠 重构 icons 导入代码以降低没有开启 tree shaking 的打包尺寸。#​21752
  • Typescript

v4.0.0

Compare Source

  • 🏆 Ant Design v4 is out! Check here for more info.
  • 🐞 Breadcrumb use path as default key to fix name key conflict. #​21583 @​douxc
  • 🌟 Timeline.Item support label. #​21560 @​shaodahong
  • 🐞 Fix Table filter menu max height style with many items. #​21602
  • 💄 Add the Calendar component's custom default font color for display content. #​21598 @​xrkffgg
  • 🚮 Remove DatePicker legacy cell className for custom cell style. #​21589
  • 🐞 Fix RangePicker style render bug in IE11. #​21587
  • 🛠 Progress strokeColor now will ignore incorrect percent. #​21564 @​AshoneA
  • 🐞 Fix Progress trailColor not working when type=line. #​21552 @​AshoneA
  • 🐞 Fix the background of the components in the pop-up components in the dark theme. #​21299
    • 💄 Optimization under the dark theme color swatches transparency.
    • 🌟 new less variable @popover-customize-border-color, @list-customize-card-bg, @table-expand-icon-bg, @steps-background, @pagination-item-input-bg for theme customization.

  • 🏆 Ant Design v4 发布!点击此处查看更多信息。
  • 🐞 Breadcrumb 使用 path 作为默认 key 以修复 name 作为 key 重名的冲突问题。#​21583 @​douxc
  • 🌟 Timeline.Item 支持 label#​21560 @​shaodahong
  • 🐞 修复 Table 筛选菜单高度溢出屏幕的问题。#​21602
  • 💄 增加 Calendar 组件自定义显示内容的默认字体颜色。#​21598 @​xrkffgg
  • 🚮 移除 DatePicker 针对自定义单元格的 3.x 的兼容类名。#​21589
  • 🐞 修复 RangePicker 在 IE11 下的样式渲染问题。#​21587
  • 🛠 Progress 中 strokeColor 属性现在会忽略错误的百分比参数。#​21564 @​AshoneA
  • 🐞 修复 Progress trailColor 属性在 type=line 时无效果的问题。#​21552 @​AshoneA
  • 🐞 修复暗色主题下,组件在弹出层组件下的背景样式问题。#​21299
    • 💄 优化暗色主题下色板透明度。
    • 🌟 新增 less 变量 @popover-customize-border-color@list-customize-card-bg@table-expand-icon-bg@steps-background@pagination-item-input-bg 用于主题定制。

v3.26.12

Compare Source

  • 🐞 Fix Input with readOnly still clearable by allowClear. #​21492
  • 🐞 Fix Upload won't showing download icon defaultly. #​21496
  • ⚡️ Improve Button render performance. #​21217

  • 🐞 修复 Input 在设置 readOnlyallowClear 仍然可以清除的问题。#​21492
  • 🐞 修复 Upload 列表默认情况下不展现下载按钮。#​21496
  • ⚡️ 提升 Button 渲染性能。#​21217

v3.26.11

Compare Source

  • 🐞 Rollback misc clearfix style to breaks flex layout (mainly affect Row, Form, Layout style). #​21406

  • 🐞 回滚原子样式 clearfix 以修复破坏 flex 布局的问题(主要影响 Row、Form、Layout 等布局问题)。#​21406

v3.26.10

Compare Source

  • 🐞 Fix Input.Group inside <Form layout="vertical" > 1px bug. #​20685
  • 🐞 Fix Badge color not working when contains children. #​21333
  • 🐞 Fix Alert close button extra padding. #​21325
  • 🐞 Fix Affix throws Cannot read property getBoundingClientRect in mobile device. #​21350
  • 💄 Tweak Steps 1px align issue. #​21306
  • 💄 Fix Row component affect next element style issue. #​21310
  • Typescript

  • 🐞 修复 <Form layout="vertical" > 内 Input.Group 偏上一像素的问题。#​20685
  • 🐞 修复 Badge 包裹模式下 color 属性失效的问题。#​21333
  • 🐞 修复 Alert 关闭按钮额外的 padding#​21325
  • 🐞 修复 Affix 在移动设备下抛错 Cannot read property getBoundingClientRect 的问题。#​21350
  • 💄 微调 Steps 文本 1px 使其居中对齐。#​21306
  • 💄 修复 Row 组件影响下一个元素样式问题。#​21310
  • Typescript

v3.26.9

Compare Source

  • 🐞 Fix Badge that count is not align when wrapped by Typography. #​21237
  • 🐞 Fix Steps that icon is not align when size="small" and labelPlacement="vertical". #​21258
  • 🐞 Fix Typography not focus at the end of textarea when editable is true. #​21268
  • TypeScript

  • 🐞 修复 Badge 在 Typography 下数字错位的问题。#​21237
  • 🐞 修复 Steps 在 size="small"labelPlacement="vertical" 时图标没有对齐的问题。#​21258
  • 🐞 修复 Typography 在可编辑状态时光标没有在输入框末位的问题。#​21268
  • TypeScript

v3.26.8

Compare Source

  • 🐞 Fix Tooltip hidden when title is 0. #​20894
  • 🐞 Fix List actions inconsistent position. #​20897
  • 🐞 Fix Card font-size of actions not in less theme variables. #​21106
  • 🐞 Fix Layout components displayName. #​21124
  • 🐞 Fix Modal.confirm okButtonProps and cancelButtonProps interface. #​21165

  • 🐞 修复 Tooltip title0 时没有显示的问题。#​20894
  • 🐞 修复 List actions 位置不在右边的问题。#​20897
  • 🐞 修复 Card actions 字体大小不受 less 变量影响的问题。#​21106
  • 🐞 修正 Layout 各组件的 displayName#​21124
  • 🐞 优化 Modal.confirm 的 okButtonPropscancelButtonProps 的 TypeScript 类型。#​21165

v3.26.7

Compare Source

  • 💄 Optimize Table fixed columns blank problem in some case. #​20821 @​AshoneA
  • 🐞 Fix Tree switcherIcon shown in leaf node problem. #​20753
  • 🐞 Fix Badge z-index higher than Table fixed columns. #​20751
  • 🐞 Fix Cascader search bug when fieldNames is existed and label/value share same name. #​20720
  • 🐞 Fix Collapse background color with wrong less variable. #​20718 @​kuitos
  • 🐞 Fix Input.Group inside <Form layout="vertical" > 1px bug. #​20685

  • 💄 优化 Table 固定列在某些情况下出现空白间隔的问题。#​20821 @​AshoneA
  • 🐞 修复 Tree switcherIcon 在叶子节点上展示的问题。#​20753
  • 🐞 修复 Badge 在 Table 固定列中穿透的问题。#​20751
  • 🐞 修复 Cascader fieldNames 中 label 和 value 共用一个值时搜索功能失效的问题。#​20720
  • 🐞 修复 Collapse 背景使用错误的 less 变量。#​20718 @​kuitos
  • 🐞 修复 <Form layout="vertical" > 内 Input.Group 偏上一像素的问题。#​20685

v3.26.6

Compare Source

  • 📢 v3 branch changes from master to 3.x-stable and v4 merge into master.
  • 💄 Improve Steps type="navigation" UI in small screen. #​20545
  • 🐞 Fix message.xxx pass null will failed. #​20546
  • 🐞 Remove Input.Password value attribute from dom. #​20544

  • 📢 v3 分支由 master 进入 3.x-stable,v4 合入 master
  • 💄 优化 Steps type="navigation" 在小屏幕下的样式。#​20545
  • 🐞 修复 message.xxx 传入 null 会报错的问题。#​20546
  • 🐞 优化 Input.Password 在 dom 中明文显示 value 属性的问题。#​20544

v3.26.5

Compare Source

  • Table
    • 🐞 Revert the logic of return fisrt page by default after sort. #​20507
    • 🐞 Fix header wrong text align when colspan=1. #​20463
  • 🐞 Fix Tabs ink bar disappearing when animated prop is false. #​20417 @​xrkffgg
  • 🐞 Fix Tree wrong indent. #​20456

  • Table
    • 🐞 回滚排序后默认回到第一页的逻辑。#​20507
    • 🐞 修复分组列头在 colspan=1 时文本没有对齐的问题。#​20463
  • 🐞 修复 Tabs 的 animated 属性为 false 时,高亮条消失的问题。#​20417 @​xrkffgg
  • 🐞 修复 Tree 节点缩进不正确的问题。#​20456

v3.26.4

Compare Source

  • 💄 Optimize Steps subTitle UI when labelPlacement="vertical". #​20325
  • 🐞 Fix upload preview not support ico file type issue. #​20375 @​Rustin-Liu
  • 🐞 Fix Form feedback icon combine Input suffix display not correct. #​20363
  • 🐞 Fix Tag onClick been triggered when close it. #​20355
  • 🐞 Fix Cascader component form check color trigger issue. #​20347 @​xrkffgg
  • 🐞 Disallow auto focus input after triggering onSearch event in mobile and tablet devices. #​20332 @​YaoKaiLun
  • 🐞 Fix Tabs ink bar missing transition animation. #​20283
  • 🐞 Fix TreeNode without icon show white block in showIcon mode. #​20274
  • TypeScript

  • 💄 优化 Steps subTitlelabelPlacement="vertical" 下的展现方式。#​20325
  • 🐞 修复 Upload 组件预览不支持 .ico 文件问题。#​20375 @​Rustin-Liu
  • 🐞 修复 Form feedback 图标结合 Input suffix 显示不正确。#​20363
  • 🐞 修复 Tag 关闭时 onClick 被触发的问题。#​20355
  • 🐞 修复 Cascader 组件 Form 校验触发时,鼠标悬浮显示颜色问题。#​20347 @​xrkffgg
  • 🐞 修复移动端点击搜索后,自动聚焦输入框,导致弹出键盘的问题。#​20332 @​YaoKaiLun
  • 🐞 修复 Tabs 高亮条宽度的 transition 过度动画失效的问题。#​20283
  • 🐞 修复 TreeNode 不设置 icon 时会展示一个空白占位的问题。#​20274
  • TypeScript

v3.26.3

Compare Source

  • 🛠 support unpkg field in package.json. #​20193
  • 🐞 Fix Tree showLine and showIcon missing icon. #​20196
  • 🐞 Fix Modal combine Drawer cause invalid scroll problem. #​20242
  • 🐞 Fix Drawer switchScrollingEffect prop on a DOM element warning. #​20175
  • 🐞 Fix Select Option label definition. #​20190 @​ZhechenLi
  • 💄 Optimize Form feedback icon padding. #​20164 @​Satloff
  • 💄 Add less variables for Select/Cascader to optimize dropdown padding and border radius. #​20156 @​Satloff

  • 🛠 antd package.json 中补充 unpkg 字段。#​20193
  • 🐞 修复 Tree showLineshowIcon 同时开启时 [+] [-] 图标丢失的问题。#​20196
  • 🐞 修复 Modal 和 Drawer 结合使用时导致滚动失效的问题。#​20242
  • 🐞 修复 Drawer switchScrollingEffect prop on a DOM element 警告。#​20175
  • 🐞 修复 Select Option 的 label 属性定义。#​20190 @​ZhechenLi
  • 💄 优化 Form 反馈图标的间距样式。#​20164 @​Satloff
  • 💄 Select/Cascader 新增和优化边距 padding 和圆角的相关 less 变量。#​20156 @​Satloff

v3.26.2

Compare Source


v3.26.1

Compare Source

  • 🐞 Fix List pagination options text align. #​20037
  • 🐞 Fix Button text not align well in Chrome. #​20059
  • 🐞 Fix DescriptionItem className error applied to label. #​20067 @​Liu-Ya
  • 🐞 Fix Tree duplicated icons when showLine is true. #​20090
  • 🐞 Fix Editable Typography flush in Firefox. #​20118
  • 🐞 Improve Icon component definition to be compatible with create-react-app svg component. #​20142
  • Table
    • 🐞 Fix small table header border missing. #​20030
    • 🐞 Fix filterIcon throws error when render string or number.
    • 🐞 Fix filterIcon shows wrong title when returns Tooltip. #​20049
    • 🐞 Fix columns have 9px align issue in Windows Chrome. #​19952

  • 🐞 修复 List 下分页选项文本对齐问题。#​20037
  • 🐞 修复 Chrome 下 Button 文字没有垂直居中的问题。#​20059
  • 🐞 修复 DescriptionItem 的 className 错误应用于 label。#​20067 @​Liu-Ya
  • 🐞 修复 Tree showLine 为 true 时展示多余图标的问题。#​20090
  • 🐞 修复 Typography 可编辑组件在 Firefox 下闪动的问题。#​20118
  • 🐞 修复 Icon component 的定义,使其兼容于 create-react-app 的 svg 组件定义。#​20142
  • Table
    • 🐞 修复小号 Table 表头边框丢失的问题。#​20030
    • 🐞 修复 filterIcon 返回字符串或数字时报错的问题。
    • 🐞 修复 filterIcon 返回 Tooltip 时显示了错误的 title#​20049
    • 🐞 修复在 Windows Chrome 下固定列有 9px 的对齐问题。#​19952

v3.26.0

Compare Source

  • 🏆 3.26.0 will be the last minor version of antd v3. And v4 beta is coming!
  • 🌟 Notification support closeIcon props. #​19618 @​liuchao233
  • 🌟 Typography support pt_BR locale. #​19651 @​liuchao233
  • 🌟 Table support defaultFilteredValues props. #​18925 @​mgcrea
  • 🇲🇰 Locale add Macedonian support. #​19647 @​sradevski
  • 🐞 Fix Input.Group compat mode has wrong border radius for Input Addon. #​19926
  • 🐞 Fix Spin render default indicator when indicator is null. #​19943
  • 🐞 Fix Button component disabled with loading not prevent pointer-events. #​19958
  • 🐞 Fix message can not cancel when key is provided. #​19967
  • 🐞 Fix image in Upload with picture-card mode exceeds the border. #​20008 @​qq645381995
  • 🐞 Fix Input clear icon overlap with feedback icon. #​20017
  • 🐞 Fix Slider tooltip text not align center. #​20016
  • 🐞 Fix Descriptions items not working with React.Fragment. #​20019
  • 🛠 Upload under drag mode moves className and style to the real effect dom.#​19987
  • 💄Add less variable @table-header-bg-sm and fix small Table footer style. #​19939

  • 🏆 3.26.0 将为 antd v3 最后一个 minor 版本,v4 beta 版即将发布!
  • 🌟 Notification 支持 closeIcon 属性。#​19618 @​liuchao233
  • 🌟 Typography 添加 pt_BR 国际化支持。#​19651 @​liuchao233
  • 🌟 Table 支持 defaultFilteredValues 属性。#​18925 @​mgcrea
  • 🇲🇰 国际化添加北马其顿支持。#​19647 @​sradevski
  • 🐞 修复 Input.Group 紧凑模式下使用 Input Addon 圆角不对的问题。#​19926
  • 🐞 修复 Spin 在 indicator 属性为 null 时,渲染默认的旋转图标。#​19943
  • 🐞 修复 Button 组件 disabledloading 状态下没有阻止鼠标事件。#​19958
  • 🐞 修复 message 组件使用 key 时无法手动取消的问题。#​19967
  • 🐞 修复 Upload 在 picture-card 模式下,图片过长会超出边界的问题。#​20008 @​qq645381995
  • 🐞 修复 Input 清除图标和反馈图标重合的问题。#​20017
  • 🐞 修复 Slider 的 tooltip 内容没有居中的问题。#​20016
  • 🐞 修复 Descriptions 内使用 React.Fragment 的渲染问题。#​20019
  • 🛠 Upload 拖拽模式下的 classNamestyle 将会作用到真正的 dom 上。#​19987
  • 💄 新增 less 变量 @table-header-bg-sm 并修复小号 Table 的 footer 样式。#​19939

v3.25.3

Compare Source


v3.25.2

Compare Source


v3.25.1

Compare Source


  • 🐞 修复定制 @menu-icon-size@menu-icon-size-lg less 变量不生效的问题。#​19553 @​yoyo837
  • 🐞 修复 DirectoryTree 中 defaultExpandedAll 在使用 treeData 时不生效的问题。#​19646
  • 🐞 修复 Drawer 中 placement 属性为 top 或 bottom 时内容溢出的问题。#​19506 @​shaodahong
  • 🐞 修复 Dropdown 下 Menu.ItemGroup 样式错乱的问题。 #​19578
  • 🐞 修复 Dropdown 中菜单图标丢失右边距的问题。#​19635
  • 🐞 修复 Form.Item 中自定义属性无法生效的问题。#​19599 @​yoyo837
  • 🐞 修复 Icon 中 extraCommonProps 属性不生效的问题。 #​19572 @​yoyo837
  • 🐞 修复 Modal.method() 中浏览器滚动条没有禁用的问题。#​19233 @​emersonlaurentino
  • Table
    • 🐞 修复合并单元格和固定列同时使用时边框丢失的问题。#​19559
    • 🐞 修复 Column 设置了 sortOrder 属性导致死循环的问题。#​19558
    • 🐞 修复 Column 的 defaultSortOrder 属性不生效的问题。#​19558
  • TypeScript

v3.25.0

Compare Source


v3.24.3

Compare Source

  • 🐞 Fix Table sort not working when columns inside render. #​19404
  • 🐞 Fix Grid responsive gutter not working. #​19308
  • 🐞 Fix small Table border style. #​19312 #​19342
  • 🐞 Fix the problem that Menu in Dropdown is not highlighted when SubMenu is selected. #​19313
  • 🐞 Fix the problem that moment.js in Typography & Drawer & Statistic can't be tree-shaking. #​19317
  • 🐞 Fix Input.Search react warnings of non-boolean attribute and unique key. #​19357
  • 🐞 Fix Modal icon position when not use title. #​19419
  • 💄 Fix a problem with the mouse pointer error when Checkbox is disabled. #​19403
  • 💄 Add @modal-header-color variable. #​19385
  • 🛠 Improved some TypeScript definitions. #​19377 #​19343 #​19333

  • 🐞 修复 Table columns 在 render 中会导致排序失效的问题。#​19404
  • 🐞 修复 Grid 响应式 gutter 失效的问题。#​19308
  • 🐞 修复小号 Table 边框样式问题。#​19312 #​19342
  • 🐞 修复 Dropdown 中的 Menu 在 SubMenu 选中后父级菜单未高亮的问题。#​19313
  • 🐞 修复 Typography & Drawer & Statistic 中的 moment.js 无法被 tree-shaking 的问题。#​19317
  • 🐞 修复 Input.Search 出现 non-boolean attributeunique key 警告信息。#​19357
  • 🐞 修复 Modal 没有标题时,图标没能对齐的问题。#​19419
  • 💄 修复 Checkbox 在被禁用时,光标仍为可选状态的问题。#​19403
  • 💄 新增 @modal-header-color 变量。#​19385
  • 🛠 多处 TypeScript 的定义更新。#​19377 #​19343 #​19333

v3.24.2

Compare Source


v3.24.1

Compare Source

  • 🐞 Fix Table throw React.createRef is not a function error in old version of React . #​19262
  • 🐞 Fix Table TypeScript definition missing Column and ColumnGroup. #​19251

  • 🐞 修复 Table 在旧版 React 会报 React.createRef is not a function 的错误信息。#​19262
  • 🐞 修复 Table TypeScript 定义丢失 Column 和 ColumnGroup 的问题。#​19251

v3.24.0

Compare Source

  • 🔥 Promote Yuque on home page.
  • Table
    • 🌟 Added tableLayout property for table-layout attribute. And using tableLayout="fixed" by default in scroll table to resolve align issue caused by cell content. #​17284
    • 🌟 Added column.ellipsis to ellipsize cell content.
    • 🌟 Added the scroll.scrollToFirstRowOnChange property to set whether to scroll to the top of the table after page changing. #​18726
    • 🌟 filterDropdown added a visible parameter to get the display state of the dropdown box. #​17614 @​sedx
    • 🌟 title added a sortColumn parameter to get the currently sorted column. #​19012 @​swillis12
    • 🌟 The sorter parameter of onChange will always contain column information when sorting. #​19226
    • 🐞 Fix Table filter submenu checkbox margin. #e1a4f28
  • 🌟 Anchor added a onChange attribute to listen for changes to anchor links. #​18715
  • Upload
  • 🌟 Input.Search added a loading property to show the state in the load. #​18771
  • 🌟 Grid's gutter property added support for vertical spacing. Now you can set an array for gutter and the second value of the array for vertical spacing. #​18979
  • 🌟 message added support for updating content with a unique key. #​18678
  • 🌟 Layout added a zeroWidthTriggerStyle property to control the style of the special trigger that appears when collapsedWidth is 0. #​19079
  • 🌟 Drawer added the drawerStyle and headerStyle properties. #​19109
  • PageHeader
    • 💄 Redesigned. #​19100
    • 🌟 Added ghost property to set whether white background is needed. #​19100
  • ConfigProvider
    • 🌟 Added pageHeader to globally control the style of PageHeader. #​19100
    • 🐞 Fixed the issue that moment can't be tree-shark. #​19115
  • 🐞 Fixed the issue that the removeIcon and clearIcon properties of TreeSelect didn't work. #​18949
  • 🐞 Fixed the issue that the switcherIcon does not take effect after the Tree setting showLine. #​18829 @​MrHeer
  • 🐞 Fixed the issue that the Slider component set the handle size and positioned incorrectly. #​19120
  • Collapse
  • 🐞 Fixed the issue that defaultExpandAll does not take effect when Tree.DirectoryTree component passed treeData. #​19148
  • 🐞 Fixed the issue with some of the Menu styles under Dropdown. #​19150
  • 🐞 Fixed Cascader's placeholder internationalization error. #​19227 @​kagawagao
  • 🌟 Added less variables @typography-title-margin-top, @typography-title-margin-bottom. #​18746
  • 🗑 Discard the autosize property of Input.TextArea, use autoSize instead. #​19177

  • 🔥 首页新增语雀的推广链接。
  • Table
    • 🌟 新增 tableLayout 属性,支持设置表格的 table-layout 布局,并在固定表头/列下默认开启 tableLayout="fixed",解决因为表格自动根据内容排版造成的列对齐问题。#​17284
    • 🌟 新增 column.ellipsis 支持单元格内容自动省略。
    • 🌟 新增 scroll.scrollToFirstRowOnChange 属性,用于设置在翻页后是否滚动到表格顶部。#​18726
    • 🌟 filterDropdown 新增 visible 参数,用于获取下拉框的显示状态。[#&

Renovate configuration

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

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

:recycle: Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

:no_bell: 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 WhiteSource Renovate. View repository job log here.

renovate[bot] avatar Feb 28 '20 02:02 renovate[bot]