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.6.3
->4.13.1
Release Notes
ant-design/ant-design
v4.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
gutter
makes column break line. #29211gutter
时列会折行的问题。#29211v4.12.1
Compare Source
current
change logic whenpageSize
changes. #29184pageSize
重置current
的逻辑,现在若超出会重置到最大页数。#29184v4.12.0
Compare Source
current
prop. #29153bordered
prop. #29105keyboard
prop which could disable keyboard behavior. #29110 @kerm1itgutter
provides additionalmargin-bottom
style. #29059showCount
display data is incorrect when TextArea input emoji. #29057 @HomyeeKingshowSorterTooltip
now could be a object for more configuration. #29002 @harrisoffonChange
andonSelectAll
inrowSelection
of Table. #29079 @kerm1itcount
content to hide miss style. #29089dataSource
toreadonly
. #29084@progress-info-text-color
. #28981 @yuxuancurrent
属性支持受控模式。#29153bordered
属性。#29105keyboard
属性以支持禁用键盘行为。#29110 @kerm1itgutter
时会额外添加margin-bottom
样式的问题。#29059showCount
展示数据不正确的问题。#29057 @HomyeeKingen-GB
翻译。#29131 @eberjoecount
内容以隐藏时的样式问题。#29089showSorterTooltip
属性支持 Tooltip 的配置。#29002 @harrisoffrowSelection
中onChange
和onSelectAll
的调用顺序。#29079 @kerm1itdataSource
至readonly
。#29084@progress-info-text-color
。 #28981 @yuxuanv4.11.3
Compare Source
v4.11.2
Compare Source
v4.11.1
Compare Source
breadcrumbRender
. #28999ellipsis
supporttooltip
to customize tooltip when ellipsis. #28821preview.maskClassName
. #28681placeholder
disappear issue. #28953iconPrefixCls
. #28924tagRender
. #28962noStyle
error message. #28918preserve=false
will reset value toinitialValues
when removed. #28908@menu-inline-submenu-bg
less variable and rename@menu-dark-submenu-bg
to@menu-dark-inline-submenu-bg
. #28842@drawer-footer-padding-horizontal
. #28975 @yuxuanstyle
definition. #28966 @yingpengshabreadcrumbRender
属性。#28999ellipsis
属性添加tooltip
支持以自定义收缩时的提示信息。#28821preview.maskClassName
。#28681placeholder
不显示的问题。#28953iconPrefixCls
修改图标样式前缀。#28924tagRender
时不对齐的问题。#28962noStyle
错误信息问题。#28918preserve=false
时,移除该字段将自动重置对应值为initialValues
。#28908@drawer-footer-padding-horizontal
。#28975 @yuxuan@menu-inline-submenu-bg
变量,且@menu-dark-submenu-bg
改名为@menu-dark-inline-submenu-bg
。#28842style
定义。#28966 @yingpengshav4.11.0
Compare Source
v4.10.3
Compare Source
@btn-border-width
when loading. #28886 @jjanssen@table-border-color
less variable. #28903onChange
event if define custom filterDropdown and nested filters. #28850 @Meowu32px
. #28073uid
offileList
when not provided. #28832getPopupContainer
prop has no default valuedocument.body
. #28865 @rinickfilterTreeNode
missing style. #28866dot
width issue whensize="small"
. #28854@btn-border-width
失效问题。#28886 @jjanssenonChange
参数filters
被错误转换及为空数组的问题。#28850 @Meowu32px
。#28073@table-border-color
less 变量。#28903fileList
没有提供uid
时,会自动对其进行填充。#28832getPopupContainer
属性没有默认值document.body
问题。#28865 @rinickdescription
内使用 div 会报validateDOMNesting
的问题。#28862filterTreeNode
高亮样式丢失的问题。#28866dot
宽度样式。#28854v4.10.2
Compare Source
v4.10.1
Compare Source
forcePopupAlign
error when unmounted. #28699 @KerumenCannot add property key, object is not extensible
whendataSource
is immutable. #28675useNotification
. #286602kB
. #28678onChange
supportnull
asvalue
. #28769 @lengfangbingforcePopupAlign
错的问题。#28699 @KerumendataSource
为 immutable 数据时报Cannot add property key, object is not extensible
的问题。#28675useNotification
生成的提示框关闭时高度跳动的问题。#286602kB
。#28678onChange
的value
的类型增加null
。#28769 @lengfangbingv4.10.0
Compare Source
🎉 Happy New Year!
searchValue
has value. #28574steps
display accuracy issue. #28530 @gaoryrtshowCount
property of Input.TextArea now supports passing in a method to customize the display format of the number. #28145 @MrHeerfocus
supports configuring the cursor position when getting focus. #28602afterClose
callback that will be triggered after the Modal is completely closed. #28053 @liuchao233onChange
listener always receives empty list asfilters
parameter if use a customfilterDropdown
. #28627 @Meowuexpandable.columnWidth
to customize the width of the expanded column. #28249transformFile
. #28455 @YanYuanFEfileList
cannot work with data that is produced by immer. #28636 @mumiaomaxCount
property to limit the number of files. #28367disabledDate
. #react-component/picker/191onKeyDown
callback. #react-component/picker/138 @conquera99options
update does not trigger the selection box content update. #react-component/select/580 @jameslahmtagRender
. react-component/select/582 @mumiaotokenSeparators
can not recognize the separator correctly under Chinese input method. #28564scrollTo
to theref
. #react-component/select/565maxTagCount
supportsresponsive
inmultiple
mode. #28520range.draggableTrack
prop. #28592labelStyle
&contentStyle
directly. #28613onClick
callback that will be triggered when the message is clicked. #28148 @ZeroTo0nescrollToFirstError
property of the Form adds support for setting the position for scrolling. #28272 @vouistitle
type of PageHeader. #28374 @zhukovvandrei🎉 新年快乐!
searchValue
在受控且有值时,下拉菜单无法打开的问题。#28574steps
显示精度问题。#28530 @gaoryrt@collapse-header-padding
时箭头位置不居中的问题。#28507maxLength
时输入中文被截断的问题。#28456showCount
属性现在支持传入一个方法来自定义数字的展示格式了。#28145 @MrHeerfocus
支持配置获取焦点时的光标位置。#28602afterClose
回调,会在 Modal 完全关闭后触发。#28053 @liuchao233childrenColumnName
和checkStrictly={false}
无法一起使用的问题。#28568filterDropdown
时onChange
事件的filters
参数总是接收空数组的问题。#28627 @Meowuexpandable.columnWidth
以自定义展开列的宽度。#28249transformFile
时也会有警告的问题。#28455 @YanYuanFEfileList
和 immer 数据配合使用报错问题。#28636 @mumiaomaxCount
属性以限制文件数量。#28367disabledDate
逻辑。#react-component/picker/191onKeyDown
回调。#react-component/picker/138 @conquera99options
更新不会触发选择框内容更新的问题。#react-component/select/580 @jameslahmtagRender
后点击选项无法打开下拉框的问题。react-component/select/582 @mumiaotokenSeparators
在中文输入法下无法正确识别分隔符的问题。#28564ref
新增scrollTo
方法。#react-component/select/565maxTagCount
支持responsive
。#28520message
新增onClick
回调,会在消息被点击时触发。#28148 @ZeroTo0nelabelStyle
和contentStyle
。 #28613scrollToFirstError
属性支持设置滚动的位置参数。#28272 @vouistitle
的类型问题。#28374 @zhukovvandreiv4.9.4
Compare Source
z-index
which makes Dropdown not showing on top. #28346message.loading()
return type. #28362z-index
样式让 Dropdown 无法展示在最顶层的问题。#28346message.loading()
返回函数的定义。#28362v4.9.3
Compare Source
filters
not support number and boolean type. #28220 @Meowuselectable={false}
. #28269draggable
TS definition. #28262 @DavidSichaumessage().then
TS definition. #28304titles
to ReactNode. #28326 @jacklee814filters
不支持数字和 boolean 类型的问题。#28220 @Meowuselectable={false}
时节点依然有 hover 背景色的问题。#28269draggable
支持函数的定义。#28262 @DavidSichaumessage().then
的 TS 定义。#28304titles
类型为 ReactNode。#28326 @jacklee814v4.9.2
Compare Source
overlayInnerStyle
not work in Tooltip. #27682 @jasepellerinsticky
. #28176progressDot
broken style of first step. #28126 @ZeroTo0neuseModal
performance by isolating elements render to avoid the component to rerender. #28122 @TotooriaHyperion@ant-design/css-animation
for better bundle size. #28201dropIndicator
style of defaultltr
direction. #28150 @kagawagaoselectedRows
inSelectionSelectFn
return generic type. #28206 @weiyucclassName
inBreadcrumbItemProps
. #28182 @ccloveakinitialValue
types are supported. #28153 @DebianccdontAnimate
optional in Carousel. #28090 @jarretmosesoverlayInnerStyle
属性无效。#27682 @jasepellerinsticky
属性失效的问题。#28176progressDot
第一个步骤点错位的问题。#28126 @ZeroTo0neuseModal
性能,避免元素渲染导致组件渲染。#28122 @TotooriaHyperion@ant-design/css-animation
的依赖以优化包体积。#28201dropIndicator
默认 ltr 方向下的样式问题。#28150 @kagawagaoSelectionSelectFn
类型定义中selectedRows
属性改为 T 范型。#28206 @weiyucBreadcrumbItem
中增加className
类型。#28182 @ccloveakinitialValue
增加类型支持。#28153 @DebianccdontAnimate
参数为可选类型。#28090 @jarretmosesv4.9.1
Compare Source
collapsible
property to optional. #28092 @sammarkscollapsible
为可选。#28092 @sammarksv4.9.0
Compare Source
focusTriggerAfterClose
to disable auto focus back. #27985 @molokovevonCancel
. #28063 @JuniorTourclosable
andcloseIcon
api for Modal.method. #27909 @MrHeer32px
. #28073collapsible
to customize trigger region and deprecated Paneldisabled
prop. #27790<Table sticky />
. #28039action
prop. #25892 @jesse3mh9adropIndicatorRender
andallowDrop
prop. #26462 @07akioniwrap
for auto break line. #27910labelStyle
&contentStyle
props. #27897initialValue
. #27872expandIcon
, and optimize default expand icon style. #27565setSelectionRange
ofref
. #27584 @appleshellfilterSort
to order the filtered options. #27523 @n0ruShRenovate configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.