This repository was archived by the owner on Jul 30, 2021. It is now read-only.
Update dependency antd to v4.16.3 #426
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.9.2
->4.16.3
Release Notes
ant-design/ant-design
v4.16.3
Compare Source
filteredKeys
is controlled and not reflecting internal changes. #30882 @wendellhu95filteredKeys
状态不一致的提示。#30882 @wendellhu95v4.16.2
Compare Source
horizontal
mod breaks byfloat
element. #30879copyable
will treatReact.Fragment
as an array. #30869 @crazyairfont-size
. #30840type="circle"
throws errorRendered more hooks than during the previous render
sometimes. #30855onClick
andellipsis
property. #30799horizontal
模式下的自动省略布局会被float
破坏的问题。#30879copyable
会将 React.Fragment 当做数组处理的问题。#30869 @crazyairfont-size
时省略宽度不正确的问题。#30840type="circle"
有时会报错Rendered more hooks than during the previous render
的问题。#30855column.title
设置onClick
和ellipsis
无效的问题。#30799v4.16.1
Compare Source
Can't perform a React state update on an unmounted component
when unmounted. #30678inline
mode not correct handle ellipsis whenicon
not provided. #30682ellipsis
not work when HMR take effect in dev env. #30754sticky
andbordered
enabled. #30666Can't perform a React state update on an unmounted component
的警告信息。#30678inline
模式下,没有icon
的条目不能正确处理省略样式的问题。#30682ellipsis
在开发环境 HMR 生效后不再工作的问题。#30754align
属性。#30744sticky
模式下,配置bordered
边框样式丢失的问题。#30666expandIconPosition="right"
未生效的问题。#30680 @hongdeyuanv4.16.0
Compare Source
sticky
mode. #30631expandable.fixed
property to set the expansion icon to be fixed. #29959itemRender
addactions
param. #30236stopPropagation
from drag events and addonDrop
prop. #30319 @ebonowellipsis={{ suffix: 'xxx' }}
. #30582header
. #30586activeKey
while it is hidden. #30555 @zjffundata-*
andaria-*
props. #30507onChange
event. #30265 @appleshellbreadcrumb
allows to set as a reactnode. #30019 @gepdprefixCls
. #30625onChange
when havegetCurrentAnchor
prop. #30601className
when usinguseNotification
. #30588tabBarGutter
not working. #30545flexGap
instead ofmargin
style to deal with layout issues under certain border situations. #30023sticky
模式。#30631expandable.fixed
属性用于设置扩展图标固定。#29959itemRender
添加actions
调用参数。#30236stopPropagation
,并添加onDrop
回调。#30319 @ebonowellipsis={{ suffix: 'xxx' }}
时换行闪动问题。#30582header
时箭头错位的问题。#30586activeKey
时内容会消失的问题。#30555 @zjffunicon
设置为第三方 icon 库时的样式问题。@#30642data-*
和aria-*
属性。#30507onChange
事件。#30265 @appleshellbreadcrumb
中允许设置为组件。#30019 @gepdprefixCls
。#30625getCurrentAnchor
后无法触发onChange
的问题。#30601useNotification
生成的通知框className
作用范围不一致的问题。#30588tabBarGutter
属性失效的问题。#30545flexGap
以代替margin
样式以处理某些边界情况下的布局问题。#30023v4.15.6
Compare Source
beforeUpload
cannot receive invalid files filtered byaccept
. #30549th
text-align
. #30399 @lbwaaccept
过滤后beforeUpload
无法接收到的问题。#30549th
的text-align
属性的重置。#30399 @lbwav4.15.5
Compare Source
beforeUpload
returnsfalse
in IE. #30391 @OleksandrAntonenko1value
tonull
orundefined
. #30442confirm({ closeDropdown: true })
infilterDropdown
should not triggeronFilterDropdownVisibleChange
. #30457mouseEnterDelay
andmouseLeaveDelay
. #30452:focus
to:focus-visible
. #30451locale
in DatePicker cannot override ConfigProviderlocale
. #30380 @Map1enzIndex
prop typescript definition. #30432beforeUpload
返回false
的报错问题。#30391 @OleksandrAntonenko1value
设置null
和undefined
时报错的问题。#30442。#30442filterDropdown
调用confirm({ closeDropdown: true })
时也会触发onFilterDropdownVisibleChange
的问题。#30457mouseEnterDelay
和mouseLeaveDelay
的问题。#30452:focus
到:focus-visible
。#30451locale
不能覆盖 ConfigProviderlocale
的问题。#30380 @Map1enzIndex
类型定义。#30432v4.15.4
Compare Source
collapsedWidth
is set. #30357 @Map1eneditable
. #30354 @John60676onChange(null)
now. #30337footer
. #30328 @Map1en#FFFFFF
totransparent
. #30336ko_KR
andja_JP
TimePicker.RangePicker placeholder. #30285 @ChalkPEbeforeUpload
. #30351 @kerm1itcollapsedWidth
时宽度错误的问题。#30357 @Map1eneditable
模式下点击编辑会触发链接跳转的问题。#30354 @John60676onChange(null)
。#30337footer
里放置 Dropdown.Button 的样式错乱问题。#30328 @Map1en#FFFFFF
改至transparent
。#30336ko_KR
和ja_JP
的placeholder
国际化。#30285 @ChalkPEbeforeUpload
类型声明。#30351 @kerm1itv4.15.3
Compare Source
current
is negative number. #30242 @wadezhantype="link"
should not redirect when it isdisabled
. #30209null
. #30215disabled
hover style in Form. #30302 @Fog3211beforeUpload
. #30213current
为负数时将在显示控制台警告。#30242 @wadezhantype="link"
添加disabled
后仍然可点击跳转的问题。#30209null
时渲染出错问题。#30215disabled
的 hover 样式。#30302 @Fog3211beforeUpload
类型声明。#30213v4.15.2
Compare Source
centered
doesn't work. #30106 @kerm1ittype="link"
disabled cursor style missing. #30197onChange
event returntarget
object is not a HTMLTextArea object. #30124fileList
will always have uid. #30087 @jameslahmstatus
iswarning
. #30090 @jameslahmpreview
text in zh_HK and zh_TW. #30100 @jameslahmcentered
失效问题。#30106 @kerm1itstatus="warning"
时切换样式异常的问题。#30090 @jameslahmtype="link"
时禁用手型丢失的问题。#30197onChange
事件返回target
对象不是 HTMLTextArea 对象的问题。#30124fileList
中的文件将总是有 uid。#30087 @jameslahmpreview
繁體文案。#30100 @jameslahmv4.15.1
Compare Source
labelStyle
contentStyle
unsuccessful whenlayout="vertical"
andbordered={true}
. #29942fileList
is a frozen object now. #29944Cannot read property 'removeChild' of null
in some situation. #29961 @JohnDeved@ant-design/compatible
. #30039 @jameslahm<Tabs type="card" />
padding missing. #29819@table-border-radius-base
not being applied to.ant-table
node. #29966 @VoliBearCatmaxLength
does not work in control mode. #30070undefined
type. #30068 @GamoteokButtonProps
andcancelButtonProps
types. #29928 @IggsGreyTable.SELECTION_NONE
. #29962 @liquorxmlabelStyle
contentStyle
当设置layout="vertical"
和bordered={true}
时不生效的问题。#29942fileList
为冻结对象时不再崩溃。#29944Cannot read property 'removeChild' of null
的问题。#29961 @JohnDeved@ant-design/compatible
的 Form 无法一起工作的问题。#30039 @jameslahmtabs
样式问题。#29819@table-border-radius-base
没有被应用到.ant-table
节点上。#29966 @VoliBearCatmaxLength
在受控时无效的问题。#30070undefined
的问题。#30068 @GamoteokButtonProps
和cancelButtonProps
定义。#29928 @IggsGreyTable.SELECTION_NONE
文案。#29962 @liquorxmv4.15.0
Compare Source
rowSelection.defaultSelectedRowKeys
. #29879 @keeliimaxLength
when in controlled. FixonCompositionEnd
not trigger when input exceedmaxLength
. Fix emoji count not align withmaxLength
&showCount
. #29867modifyVars
. #29886 @SyMindcomponentSize
on Tabs component. #29844 @bn3tfr_FR
translations. #29839 @bn3tsv_SE
translations. #29896 @isakolrowSelection.defaultSelectedRowKeys
支持。#29879 @keeliimaxLength
截取的问题;修复maxLength
下超出部分无法触发onCompositionEnd
事件的问题;修复使用 emoji 时maxLength
和showCount
计数逻辑不一致的问题。#29867modifyVars
自定义主题时,页面跳转输入框高度没有按照预期改变。#29886 @SyMindcomponentSize
现在也会作用到 Tabs 上。#29844 @bn3tfr_FR
语言缺失内容。#29839 @bn3tsv_SE
语言缺失内容。#29896 @isakolv4.14.1
Compare Source
placeholder
not being hidden when Image is loaded from cache. #29829beforeUpload
. #29766placeholder
不会隐藏的问题。#29829beforeUpload
属性类型声明。#29766v4.14.0
Compare Source
onChange
to change back to the original behavior (before Upload false returns the original file, and the rest of the scene returns the encapsulated object). Now you can always get the original file viaonChange.info.originFileObj
. For future upgrades, please use this method to access the original text first. #29737onChange
paramsfile
can notcloneDeep
by lodash. #29718fileList
isnull
. #29702onCancel
andonEnd
. #29615 @jueinincentered
prop is not actually center. #29495 @jinchaofsmoreIcon
. #29744 @tianyuan233htmlType='reset'
will reset all form fileds. #29752 @jueininclassName
missing. #29725margin
style on Row. #29688disabled
Input has affix elements. #29670onChange
改回原本行为(before Upload false 返回原始文件,其余场景返回封装对象)。现在你始终可以通过onChange.info.originFileObj
获得原始文件。为了未来升级,请优先使用该方式访问原始文。#29737onChange
参数file
不能被 lodashcloneDeep
的问题。#29718fileList
为null
时崩溃的问题。#29702onCancel
和onEnd
回调。#29615 @jueininmoreIcon
参数。#29744 @tianyuan233centered
后居中位置偏移。#29495 @jinchaofsclassName
属性丢失的问题。#29725margin
样式时控制台警告的问题。#29688v4.13.1
Compare Source
message.config
withprefixCls
missing animation style. #29574visible
istrue
under some situation. #29555update
ordestroy
before render. #29584mode="tags"
andsize="small"
. #29561dotPosition
makespauseOnHover
not working. #29587 @zgobyresponsive
prop warning. #29599onChange
param offile.originFileObj
return nest Proxy object. #29614contentWrapperStyle
. #29571message.config
配置prefixCls
时丢失淡入淡出动画的问题。#29574visible
为true
却无法交互的问题。#29555locale
会丢失的问题。#29570update
与destroy
无效的问题。#29584Prop style did not match
。#29586tags
模式的光标错位问题。#29561dotPosition
导致pauseOnHover
失效的问题。#29587 @zgobyresponsive
时控制台抛出警告的问题。#29599onChange
参数file.originFileObj
返回嵌套 Proxy 对象的问题。#29614contentWrapperStyle
属性类型声明。#29571v4.13.0
Compare Source
stringMode
for high precisionstep
.value
in control out of range shows warning style instead of changing it. Dynamic updatemin
&max
will not triggeronChange
anymore. #29373beforeUpload
returnUpload.LIST_IGNORE
to skip item added in UploadList. #29474className
prependant-
prefix to avoid naming conflict. #29268 @crazyairpreserve
prop. #29267contentWrapperStyle
. #29219 @kerm1itpagination.current
display error when result of filter is empty. #29386 @jinchaofstarget
don't return a html element. #29523 @bcd3371px
. #29484mode="tags"
large size (41px => 40px). #29437expandIcon
. #29338filter
definition. #29385 @mumiaostringMode
属性以支持高精度step
。value
受控并超出范围时展示警告样式而不是强制改值。动态修改min
和max
不再触发onChange
事件。#29373beforeUpload
返回Upload.LIST_IGNORE
时不将文件展示在列表中。#29474className
全部添加ant-
前缀以防止重名问题。#29268 @crazyairpreserve
属性。#29267contentWrapperStyle
。#29219 @kerm1itref
支持。#29169 @qramilqpagination.current
展示错误。#29386 @jinchaofstarget
不是 html 元素时会出错的问题。#29523 @bcd3371px
的问题。#29437expandIcon
的问题。#29338filter
相关类型声明。#29385 @mumiaov4.12.3
Compare Source
pagination.position
is['none', 'none']
. #29256 @mumiaoshowCount
should not be interactive. #29245multiple
anddisabled
Select in dark. #29242@ant-design/colors
to 6.x to reduce gzipped bundle size1KB
. #29307 @07akioniru_RU
locale text for Image. #29271 @mumiaofa_IR
locale text for DatePicker, Form, Table, TimePicker and Transfer. #29232 @amiralitahericonfirm
parameter. #29241 @mumiaopagination. position
为['none', 'none']
时分页器仍然展示的问题。#29256 @mumiaoshowCount
字数会遮挡 Form.Itemextra
的问题。#29245@ant-design/colors
依赖到 6.x,减少 gzipped 包体积1KB
。#29307 @07akioniru_RU
俄语翻译。#29271 @mumiaofa_IR
波斯语翻译。#29232 @amiralitahericonfirm
入参为可选类型。#29241 @mumiaov4.12.2
[Compare Source](https://togithub.com/ant-design/ant-design/compare/4.12.1...4.1
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.