fix(deps): update dependency antd to v5 #905
Closed
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.24.8
->5.12.8
Release Notes
ant-design/ant-design (antd)
v5.12.8
Compare Source
okText
andcancelText
will not fallback to locale text. #46812children
has extramargin-left
whencopyable
is true. #46748okText
和cancelText
时不会被预设 locale 兜底的问题。#46812children
并启用copyable
时多余的 margin。#46748v5.12.7
Compare Source
@ctrl/tinycolor@4.0.2
. #46744 @MadCcc@ctrl/tinycolor@4.0.2
导致的错误。#46744 @MadCccv5.12.6
Compare Source
footer
Button duplicated gap style. #46702ConfigProviderProps
type. #46605 @li-jia-nanfooter
内 Button 可能重复的边距样式问题。#46702ConfigProviderProps
类型。#46605 @li-jia-nanv5.12.5
Compare Source
line
mode withstrokeLinecap
. #46551 @ZN1996prefixCls
. #46561strokeLinecap
不生效的问题。#46551 @ZN1996prefixCls
不生效的问题。#46561v5.12.4
Compare Source
cssVar
mode. #46526v5.12.3
Compare Source
disabled
属性不再对下载按钮生效。#46454actions
的颜色问题。#46456getValueProps
展示值无法更新的问题。#46445token.lineWidth
时勾选箭头错位问题。#46431cssVar
模式下覆盖组件 token 无效的问题。#46415 @MadCccdisabled
prop should not affect download icon. #46454getValueProps
not working with value update. #46445token.lineWidth
. #46431padding
broken. #46427 @MadCcccssVar
mode. #46415 @MadCccv5.12.2
Compare Source
useId
error when webpack build with React 17. #46261current
not working insimple
mode. react-component/pagination#546fullscreen
prop. #46303 @li-jia-nanhideRequiredMark
prop's priority compared with ConfigProviderform
prop. #46299 @linhf123id
type. #46367 @RSS1102useId
找不到的问题。#46261simple
模式下current
受控选中分页不生效的问题。react-component/pagination#546hideRequiredMark
属性的优先级低于 ConfigProvider 的 form 配置的问题。#46299 @linhf123id
属性的问题。#46367 @RSS1102v5.12.1
Compare Source
v5.12.0
Compare Source
colorInfoBg
token. #46188Form.useWatch
support selector function param. #46180 @crazyaironChangeComplete
and deprecateonAfterChange
. #46182 @MadCccitems
supporticon
prop. #46096 @li-jia-nangetPopupContainer
property. #45751 @li-jia-nanvalue
anddefaultValue
props. #45747 @Wxh16144tooltip
icon should not trigger Switch. #46155addon
inside Space.Compact. #46130 @MadCccFloatButtonProps
type withReact.DOMAttributes
in FloatButton. #46175 @li-jia-nanForm.useWatch
支持 selector 函数参数调用。#46180 @crazyaironChangeComplete
事件,并废弃onAfterChange
。#46182 @MadCccitems
支持icon
属性。#46096 @li-jia-nanvalue
anddefaultValue
属性。#45747 @Wxh16144tooltip
图标会触发 Switch 切换的问题。#46155colorInfoBg
token 定义为渐变色。#46188addon
时在 Space.Compact 下使用的样式问题。#46130 @MadCccv5.11.5
Compare Source
dist
artifact. #46103 @MadCccdist
产物错误。#46103 @MadCccv5.11.4
Compare Source
z-index
abnormally in nested Modal. #46035getAction
into a function component. #46032invalid annotation
in Rollup. #46024required
property of the Radio and Checkbox components. #46028 @nnmaxz-index
异常的问题。#46035getAction
重构为函数组件。#46032invalid annotation
的问题。#46024required
属性的类型定义。#46028 @nnmaxv5.11.3
Compare Source
zIndex
too high will cover other popup content. #46012z-index
conflict when in a nested pop-up. #45979 @kiner-tangellipsis.tooltip
cannot open under Layout component. #45962antd.js
will try to reuse global@ant-design/cssinjs
first now. #46009eu_ES
localization. #45928 @ionlizarazuzIndex
过高会覆盖其他弹出内容的问题。#46012z-index
设置不正确的问题。#45979 @kiner-tanghover
样式问题。#45994code
在 Layout 下开启ellipsis
时 tooltip 无效的问题。#45962antd.js
现在会优先使用全局的@ant-design/cssinjs
依赖。#46009eu_ES
国际化内容。#45928 @ionlizarazuv5.11.2
Compare Source
virtual
can now customizecomponents
except thecomponents.body
. #45857zIndex
logic problem that message and notification are covered when multiple Modal are opened. #45911 #45864 @kiner-tangstyle.padding
is not working. #45815gutter
property type definition. #45791 @Asanio06virtual
下components
的限制,现在除了components.body
都可以自定义。#45857zIndex
逻辑,解决多层 Modal 打开时,message 与 notification 被遮盖的问题。#45911 #45864 @kiner-tangstyle.padding
时无效的问题。#45815gutter
的类型定义。#45791 @Asanio06v5.11.1
Compare Source
zIndex
when nest items. #45761showRemoveIcon
is specified to true explicitly. #45752children
structure missing the Descriptions.Itemkey
prop. #45757visible
prop. #45702 @linhf123style.width
not work. #45681 @MadCcccomponent=false
. #45671 @li-jia-nanzIndex
错误的问题。#45761showRemoveIcon: true
时删除图标未显示的问题。#45752children
结构语法糖时,会丢失 Descriptions.Item 的key
的问题。#45757token
无效的问题。#45721 @MadCccvisible
的问题。#45702 @linhf123style.width
无效的问题。#45681 @MadCcccomponent=false
时,会报非预期的属性警告的问题。#45671 @li-jia-nanv5.11.0
Compare Source
changeOnBlur
prop to disable triggeronChange
event when blur. #45395hasFeedback
that will lose focus when feedback icon appear. #45632 @MadCccformatter
not working. #45325columnTitle
support render function. #41937 @Zhou-Billref
to supportscrollTo
to scroll to targetkey
orindex
ortop
. #45245items
support tab pane leveldestroyInactiveTabPane
. #45359className
andstyle
properties. #45479 @chenzhuo198className
andstyle
properties. #45621 @li-jia-nanpreset
prop supportdefaultOpen
to control whether preset colors is open by default. #45607 @Wxh16144optionRender
prop. #45529 @RedJuesimple
andshowSizeChanger
. #45538fullscreen
to display as backdrop. #44986 @Rafael-Martins #45436 @li-jia-nanvalidateFields
supportdirty
for validating touched and validated fields. #45389inherit
prop to disable watermark pass to Drawer and Modal. #45319component
for customization. #45292count
custom character count (for example, fix emoji character length to1
);count.max
supports out-of-range styles; restore emoji to native count to solve the problem ofmaxLength
andvalue
mismatch. #45140onOpenChange
when click menu item to close the popup. #45378styles
. #45558 @KotoriKchangeOnBlur
属性以支持在失去焦点时不触发onChange
事件。#45395hasFeedback
时,反馈图标出现会使 InputNumber 失去焦点的问题。#45632 @MadCccformatter
不生效的问题。#45325columnTitle
支持传入 render 方法。#41937 @Zhou-Billref
支持scrollTo
以滚动到目标key
或index
或top
。#45245items
支持单个标签页设置destroyInactiveTabPane
。#45359className
和style
属性。#45479 @chenzhuo198className
和style
属性。#45621 @li-jia-nanpreset
新增defaultOpen
属性,可控制预设颜色默认是否展开。#45607 @Wxh16144optionRender
方法。#45529 @RedJuesimple
和showSizeChanger
使用。#45538fullscreen
属性,支持全屏展示。#44986 @Rafael-Martins #45436 @li-jia-nanvalidateFields
支持dirty
参数以校验被修改过和校验过的字段。#45389inherit
配置,关闭水印传导至弹出 Drawer 与 Modal。#45319component
以自定义渲染元素。#45292count
自定义字符计数(例如固定 emoji 字符长度为1
);count.max
支持超出范围样式;将 emoji 计数还原为原生计数以解决maxLength
与value
不匹配的问题。#45140onOpenChange
的问题。#45378styles
属性。#45558 @KotoriKz-index
逻辑,使其在默认情况下不会互相遮挡。#45512 #45490 @kiner-tangz-index
逻辑。#45498 @kiner-tangz-index
逻辑。#45497 @kiner-tangz-index
逻辑。#45496 #45417 @kiner-tangz-index
逻辑。#45494 @kiner-tangz-index
逻辑。#45486 @kiner-tangz-index
逻辑。#45425 @kiner-tangz-index
逻辑。#45422 @kiner-tangz-index
逻辑。#45420 @kiner-tangz-index
逻辑。#45421 @kiner-tangz-index
逻辑。#45346 @kiner-tangv5.10.3
Compare Source
ellipsis
andcode
. #45575ref
supportnativeElement
. #45547 @li-jia-nangap
should have default value when passingundefined
in array. #45537 @MadCccstyle
applied to wrapper. #45487 @MadCccmodal
return type inApp.useApp
hook. #45462 @mjssellipsis
和code
时丢失右边框样式的问题。#45575ref
获取nativeElement
。#45547 @li-jia-nangap
在数组中含有undefined
时没有默认值的问题。#45537 @MadCccstyle
属性会重复添加到外层的问题。#45487 @MadCccApp.useApp
中modal
类型定义。#45462 @mjssv5.10.2
Compare Source
hasSider
check to avoid blink in SSR. #45361findDOMNode is deprecated in StrictMode
. #45390 @li-jia-nanid
anddata-*
attributes. #45413 @cheng87126column.showSorterTooltip
is a object. #45403Form
withinline
mode makes elements overlap on the small screen. #45340 @Yuiai01pagination.position
should accept'none'
. #45398margin
inrtl
mode. #45386hasSider
以防止在 SSR 场景下的闪烁问题。#45361findDOMNode is deprecated in StrictMode
警告的问题。#45390 @li-jia-nanid
和data-*
属性的问题。#45413 @cheng87126column.showSorterTooltip
是一个对象时排序 tooltip 不显示的问题。#45403inline
模式在小屏幕发生元素重叠的问题。#45340 @Yuiai01disabled
样式。#45446 @vagusXpagination.position
TS 定义不支持'none'
的问题。#45398rtl
模式下边缘间距错误的问题。#45386v5.10.1
Compare Source
options
add missingid
props. #45287target
not work. #45314 @mingming-macsp
attribute for icon style. #45334 @AlexeyTeterinloading
property is set to{ delay: 0 }
. #45282 @YDFlame13resetFields
will still keep Form.List field when itsinitialValue
is set. #45284selectedNodes
inonSelect
method could not get a value when configuringfieldNames
. #45036 @Zian502options
添加id
属性支持。#45287target
失效的问题。#45314 @mingming-macsp
属性。#45334 @AlexeyTeterinloading
属性设置为{ delay: 0 }
时不显示加载状态。#45282 @YDFlame13Hide Element
来隐藏水印。#45290 @Yuiai01resetFields
时,无法重置配置了initialValue
的 Form.List 的问题。#45284fieldNames
时,onSelect
方法中的selectedNodes
无法获取值。#45036 @Zian502v5.10.0
Compare Source
stack
configuration. By default, more than three notifications will be stacked. #44618textAlign
. #44888 @Yuiai01styles
andclassNames
properties. #45000fresh
attribute to support scenarios where content still needs to be updated when closed. #45020className
of built-in modules throughclassNames
. #44935warning
attribute to configure warning levels (e.g. filter out deprecated API warnings). #44809className
of built-in modules throughclassNames
. #44934description
is a long text. #45212ellipsis
is true. #41146 @Yuiai01addonBefore
in Space.Compact. #45004 @Yuiai01minWidth
component token and addstitleMinWidth
as a replacement. #44750hoverBg
activeBg
token to set the input box hover and activation background color. #44752 @Pan-yongyongtitleColor
andcontentColor
to set the title color and content area text color. #44729 @Child-qjjaddonBg
is invalid. #45222stack
配置,默认超过三个以上的提示会堆叠起来。#44618textAlign
设置文本对齐方向。#44888 @Yuiai01styles
和classNames
属性中。#45000fresh
属性以支持在关闭时仍然需要更新内容的场景。#45020classNames
自定义内置模块的className
。#44935warning
属性以配置警告等级(如过滤掉废弃 API 警告)。#44809classNames
自定义内置模块的className
。#44934description
是长文本时的内容溢出问题。#45212ellipsis
为 true 时无法垂直居中的问题。#41146 @Yuiai01addonBefore
时的边框问题。#45004 @Yuiai01minWidth
组件 token,并添加titleMinWidth
作为替代。[#&#Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.