📦 chore(deps): Update dependency antd to v5 #45
Merged
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.16.13
->^5.0.0
Release Notes
ant-design/ant-design (antd)
v5.20.5
Compare Source
defaultExpandAll
logic to only add internalexpandedKeys
whichtreeNode
has children instead to avoid perf issue when with large data orloadData
case. #50689 @zombieJmultiple
. #50689ellipsis.tooltip.title
with ReactNode will cause dead loop. #50688 @zombieJdefaultExpandAll
的行为,仅将有子节点的treeNode
加入expandedKeys
以防止在大数据与loadData
异步的情况下引发的性能问题。#50689 @zombieJmultiple
下搜索不会显示父节点作为选项的问题。#50689ellipsis.tooltip.title
配置 ReactNode 会导致死循环的问题。#50688 @zombieJv5.20.4
Compare Source
itemPaddingInline inoperative
not working. #50663 @coding-icehover
transition style. #50624 @afc163Transfer.deselectAll
locale. #50672 @coding-iceitemPaddingInline
token 不生效的问题。#50663 @coding-icehover
时背景色切换渐变效果丢失的问题。#50624 @afc163Transfer.deselectAll
本地化文本。#50672 @coding-icev5.20.3
Compare Source
onChangeComplete
not correct when click directly without move on the picker panel. #50501 @zombieJonChangeComplete
返回值不正确的问题。#50501 @zombieJv5.20.2
Compare Source
rule.message
supports skipping variable substitution through\\${}
. #50412 @zombieJgetPopcontainer={node=node.parentNode}
. #50382 @afc163arrow.pointAtCenter
property. #50260 @Wxh16144rule.message
支持通过\\${}
跳过变量替换。#50412 @zombieJgetPopcontainer={node=node.parentNode}
时箭头图标 hover 后会消失的问题。#50382 @afc163arrow.pointAtCenter
属性时箭头未对齐错误。#50260 @Wxh16144v5.20.1
Compare Source
@ant-design/fast-color
. #50293 @afc163zIndexTableFixed
token not support CSS var. #50355 @li-jia-nanzIndexPopupBase
token. #50349 @Yuzu-iotooltip
not show with precision issue ofellipsis
. #50315 @zombieJpreserve={false}
should not triggershouldUpdate
rerender. #50283 @zombieJz-index
not followzIndexPopup
token issue. #50300 @zombieJlocale
should overridelocale
from ConfigProvider. #50236 @Asanio06percent
. #50277 @Wxh16144az_AZ
locale. #50238 @thinkasany@ant-design/fast-color
编译报错问题。#50293 @afc163zIndexTableFixed
token 不支持传入 CSS 变量的问题。#50355 @li-jia-nanzIndexPopupBase
token 的问题。#50349 @Yuzu-ioellipsis
因为精度问题导致tooltip
无法显示的问题。#50315 @zombieJpreserve={false}
会触发shouldUpdate
rerender 的问题。#50283 @zombieJz-index
没有使用zIndexPopup
token 的问题。#50300 @zombieJlocale
没有正确覆盖 ConfigProviderlocale
的问题。#50236 @Asanio06percent
时未水平居中的问题。#50277 @Wxh16144az_AZ
本地化文案缺少空格的问题。#50238 @thinkasanyv5.20.0
Compare Source
@ctrl/tiny-color
with@ant-design/fast-color
. #49846showUploadList
supportextra
for additional content. #50098 @guoyunheswitcherLoadingIcon
. #49716 @coding-icerange.editable
to dynamic add/remove handles. #49923range.editable
supportminCount
andmaxCount
. #49987dashed
,dotted
orsolid
. #49654 @pinaki-08suffix
prop. #49674 @coding-iceonClear
prop. #49905 @li-jia-nantopLeft
,topRight
,bottomLeft
,bottomRight
zoom in transform origin not correct when target element width is too large. #50134transparent
state, it defaults to using a bright color instead of black color to enhance the user interaction experience. #50148@ctrl/tiny-color
为@ant-design/fast-color
。#49846showUploadList
添加extra
以支持渲染额外信息。#50098 @guoyunheswitcherLoadingIcon
属性以支持自定义树节点的加载图标#49716 @coding-icerange.editable
以动态添加/删除节点。#49923range.editable
支持minCount
与maxCount
以配置可编辑节点树。#49987dashed
(虚线)、dotted
(点线)或solid
(实线)的样式。#49654 @pinaki-08suffix
属性。#49674 @coding-iceonClear
回调,便于区分点击 x 清除和手动清除这两个行为。#49905 @li-jia-nantopLeft
,topRight
,bottomLeft
,bottomRight
的弹出动画起始缩放中心有所偏移的问题。#50134transparent
状态进行颜色选取时,默认使用亮色以代替原本的纯黑色以提升用户交互体验。#50148uk_UA
本地化文案。#50178 @Andrik264v5.19.4
Compare Source
title
andcontent
do not exist. #50064 @LLmoskkopacityImage
does not take effect. #50066 @thinkasanyindeterminate
state. #50083bordered
mode. #49946 @leefinder@ant-design/cssinjs-utils
. #50030 @YumoImertitle
和content
都不存在时 Overlay 仍显示的问题。#50064 @LLmoskkopacityImage
不生效的问题。#50066 @thinkasanyindeterminate
状态的 hover 样式。#50083bordered
模式下溢出容器的问题。#49946 @leefinder@ant-design/cssinjs-utils
。#50030 @YumoImerv5.19.3
Compare Source
v5.19.2
Compare Source
0
whenactions={[]}
. #49842 @int64agofileList
inbeforeUpload
is not fully filled. #49832 @coderz-wexpandedRowRender
. #49727 @ljw-codekingpercent
andsize
at same time. #49876kn_IN
missing locales. #49860 @neerajap-01icon
andswitcherIcon
parameter types not being correctly inferred. #49821multiple
definition casevalue
definition missing. #49741 @YangZhi1actions
为空数组时会渲染0
的问题。#49842 @int64agobeforeUpload
中fileList
不完整的问题。#49832 @coderz-wexpandedRowRender
中渲染样式异常的问题。#49727 @ljw-codekingpercent
和size
一同使用时,样式不正确的问题。#49876kn_IN
本地化文案。#49860 @neerajap-01icon
和switcherIcon
参数类型未能正确推导的问题。#49821multiple
定义更新导致value
定义丢失的问题。#49741 @YangZhi1v5.19.1
Compare Source
zIndex
increase but use warning instead. #49720filled
activeBorderColor
token invalid. #49699 @wanpan11multiple
type issue. #49669 @YangZhi1zIndex
不再限制最大值,而是改成控制台警告。#49720filled
变体下activeBorderColor
不生效问题。#49699 @wanpan11multiple
的类型问题。#49669 @YangZhi1v5.19.0
Compare Source
variant
. #49535 @MadCccrc-qrcode
instead ofqrcode.react
. #49454 @kiner-tangiconSize
configuration. #49240 @thinkasanyfilterSort
property now includessearchValue
parameter. #49352 @MadCccsimple
property, supports read-only mode, and introducesalign
property. #49562 @coding-iceaffix
property for more configuration options. #49295 @gin-lslplacement
set totopRight
orbottomRight
.#49333DatePicker.RangePicker
, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#49333disabled
property not working when used asDropdown
trigger
. #47363type=number
withchangeOnWheel
. #49648 @wanpan11locale.emptyText
showing default value when set to a non-undefined
value. #49599 @照明胧SubMenu
node in Menu. #49643 @wanpan11variant=borderless
style for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when settingstatus
property. #49608ellipsis
not working when parent hasnowrap
style. #49667renderEmpty
method. #49602 @Wxh16144Transfer.deselectAll
,Text.collapse
,QRCode.scanned
,ColorPicker.presetEmpty
. #49588 by @Tantatorn-devDatePicker
. #49333variant
。#49535 @MadCccrc-qrcode
替代了qrcode.react
。#49454 @kiner-tangiconSize
宽高配置。#49240 @thinkasanyfilterSort
属性现新增获取searchValue
的参数。#49352 @MadCccsimple={{ readOnly }}
属性和align
属性。#49562 @coding-iceaffix
属性,支持更多配置项。#49295 @gin-lslplacement
设置为topRight
或bottomRight
时箭头丢失的问题。#49333DatePicker.RangePicker
在 RTL 模式下的样式问题。#49333trigger
时disabled
属性不生效的问题。#47363type=number
和changeOnWheel
时现在会给出警告提示。#49648 @wanpan11variant="borderless"
样式,现在在设置status
属性时也能够被区分。#49608locale.emptyText
设置为非undefined
值时仍会显示默认值的问题。#49599 @照明胧nowrap
样式时,ellipsis
不生效的问题。#49667renderEmpty
方法的 TypeScript 类型定义。#49602 @Wxh16144Transfer.deselectAll
、Text.collapse
、QRCode.scanned
、ColorPicker.presetEmpty
。#49588 @Tantatorn-devv5.18.3
Compare Source
genCalc
andAbstractCalculator
to@ant-design/cssinjs
. #49463 @YumoImer@ant-design/cssinjs
中。#49463 @YumoImerv5.18.2
Compare Source
onChange
with unexpected value for #49134. #49289 @Zyf665aria-label
for expand icon in Collapse. #49395 @wanpan11inputFontSizeSM
andinputFontSizeLG
not working in InputNumber. #49369colorTextDescription
as description text color. #49408processing
status style conflict with Tailwind CSS. #49379onChange
事件中排序器参数的问题。@Zyf665aria-label
属性值。#49395 @wanpan11inputFontSizeSM
和inputFontSizeLG
不生效的问题。#49369colorTextDescription
不生效的问题。#49408processing
与 Tailwind CSS 样式冲突的问题。#49379v5.18.1
Compare Source
ellipsis
not working properly inpre
tag. #49168 @nova1751ellipsis
sometimes not working in Safari. #49221size
setting to 0 did not take effect. #49192 @coding-icepadding
of Progress text is invalid in cssinjs. #49250 @vagusXzIndex
being incorrect incssVar
mode. #49238width
height
being applied to preview images. #49259 @nova1751loading=true
. #49292 @wanpan11percent
progress was not passed when customizing theindicator
of Spin. #49211 @wanpan11placement
property of DatePicker/TimePicker was invalid. #49303MentionsProps
. #49281 @thinkasanyellipsis
在pre
标签中没有正常工作的问题。#49168 @nova1751ellipsis
在 Safari 中有时不生效的问题。#49221size
设置 0 不生效的问题。#49192 @coding-icezIndex
在cssVar
模式下不正确的问题。#49238width
height
被应用到预览图片上的问题。#49259 @nova1751loading=true
时不响应 Enter 事件的问题。#49292 @wanpan11indicator
时,样式不可见以及percent
进度没有传递的问题。#49211 @wanpan11placement
属性失效的问题。#49303MentionsProps
。#49281 @thinkasanyv5.18.0
Compare Source
inline-block
toinline-flex
and simplifyiconPosition
implementation. #47318drawerRender
property to control render. #49125 @crazyairlayout
property to toggle layout mode. #49119 @crazyairref
property supports to access the native element. #48841 @wanpan11clearOnDestroy
property to clear form data when destroy. #48921 @crazyaironReset
andonClose
properties. #48936 @kiner-tangimgInfo
from arguments oftoolbarRender
andimageRender
render functions. #48729 @nova1751pauseOnHover
property to pause the timer. #49024 @yociduoshowProgress
property to show the progress bar. #48353 @yociduopercentPosition
property to control position for percent value. #48157 @LonelySnowmansize
property supports object value. #48805 @crazyairmax
property for replacemaxCount
、maxStyle
、maxPopoverPlacement
andmaxPopoverTrigger
properties. #49131 @wanpan11loading
property to show the skeleton. #48848 @li-jia-nankeyboard
property to ignore keyboard events. #49132 @Wxh16144percent
to render as progress. #48657overflow: hidden
style to prevent setheight: 0
to hide the watermark case. #49130replace
property. #49136 @mySkeycurrent
argument ofonClose
is wrong. #49124styles
andclassName
properties. #49154 @wanpan11inline-block
切换为inline-flex
以修复图标和文字对齐问题,并简化了iconPosition
的实现。#47318drawerRender
属性以支持自定义渲染。#49125 @crazyairlayout
属性以切换布局方式。#49119 @crazyairref
属性支持获取原生节点。#48841 @wanpan11clearOnDestroy
属性以在卸载时清空表单数据。#48921 @crazyaironReset
和onClose
属性。#48936 @kiner-tangtoolbarRender
和imageRender
渲染函数入参新增ImgInfo
信息。#48729 @nova1751Configuration
📅 Schedule: Branch creation - "after 10pm,before 4am" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.