chore(deps): update dependency antd to v5.16.0 #885
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:
5.3.0
->5.16.0
Release Notes
ant-design/ant-design (antd)
v5.16.0
Compare Source
v5.15.4
Compare Source
v5.15.3
Compare Source
ellipsis.symbol
exceed the single line height will make ellipsis rows not correct issue. #47889controlHeight
. #47874multiple
selector collapse for cross the line. #47821onSelect
API which is already removed in v4 but not update in English documentation. #47878ellipsis.symbol
超出单行高度时,省略行数不正确的问题。#47889controlHeight
时展示高度不正确的问题。#47874multiple
多选换行时行与行之间没有间隙的问题。#47821v5.15.2
Compare Source
click
tomouseDown
to uniformly solve some event timing issues related to pop-up interactions. #47775click
调整至mouseDown
以统一解决一些与弹窗相关交互中的事件时序问题。#47775v5.15.1
Compare Source
v5.15.0
Compare Source
allowClear
autoComplete
className
style
classNames
styles
props. #47589allowClear
props. #47602expandIcon
props. #47561expandIcon
props. #47473removeIcon
props, when settype="editable-card"
. #47334prefixCls
property of ConfigProvider by default. #47481styles
in ConfigProvider is set to optional. #47601 @Yaweninafocus
supports passingoptions
. #47664aria-*
inclosable
. #47650aria-*
inclosable
. #47474removeIcon
props, when settype="editable-card"
. #47334aria-*
inclosable
. #47543aria-*
attributes to panel nodes. #47387filterOnClose
to specify whether to trigger filtering when the filter menu is closed. #47451 @xsjcTonycomponents.header.table
to customize the header component when scrolling the column. #47382sticky
. #47382th
element is not used in the column header when Tablecolumn.title
is empty. #47382prefixCls
is invalid when Table uses a virtual list. #47639isFieldsTouched(true)
always returnsfalse
when Form exists in Form.List. #47629 @lemoniedtype=''
. #47612hoist: false
. #47587allowClear
、autoComplete
、className
、style
、classNames
、styles
属性。#47589allowClear
属性。#47602expandIcon
属性。#47561expandIcon
属性。#47473removeIcon
属性, 在设置type="editable-card"
时有效。#47334prefixCls
属性。#47481styles
设为可选。#47601 @Yaweninafocus
功能支持传递options
。#47664closable
中配置aria-*
。#47650closable
中配置aria-*
。#47474removeIcon
属性,在设置type="editable-card"
时有效。#47334closable
中配置aria-*
。#47543aria-*
属性给 panel 节点。#47387filterOnClose
用于指定是否在筛选菜单关闭时触发筛选。#47451 @xsjcTonycomponents.header.table
以自定义滚动列时的标题组件。#47382sticky
下,初次渲染不会显示滚动条的问题。#47382column.title
为空时列头没有使用th
元素的问题。#47382prefixCls
无效的问题。#47639isFieldsTouched(true)
始终会返回false
的问题。#47629 @lemoniedtype=''
的问题。#47612hoist: false
下编译的问题。#47587v5.14.2
Compare Source
darkItemSelectedColor
anddarkItemSelectedBg
token in horizontal dark mode. #47463 @gandavarapurajasekharmargin
样式。#47493 @li-jia-nandarkItemSelectedColor
和darkItemSelectedBg
token 不生效的问题。#47463 @gandavarapurajasekharv5.14.1
Compare Source
type="inline"
. #47406defaultBg
token withbordered={false}
. #47372 @MadCcctheme.inherit
should not affecthashded
andcssVar
. #47360 @MadCcctype="inline"
时鼠标无法 hover 到正确的步骤上的问题。#47406menu.items
为空时依然显示的问题。#47375defaultBg
组件 token 的问题。#47372 @MadCccinherit
配置会隔断hashed
和cssVar
配置的问题。#47360 @MadCccv5.14.0
Compare Source
multiple
to support multiple selection capabilities.showWeek
attribute.order
attribute.id
attribute under RangePicker supports setting theid
of thestart
andend
input boxes separately.onFocus
andonBlur
events of RangePicker will additionally provide aninfo.range
to inform which input box the current focus comes from.pickerValue
anddefaultPickerValue
attributes to control the date where the expanded panel is located.preserveInvalidOnBlur
attribute to keep the input content when losing focus in the case of accessibility.format
supports thealign
attribute, allowing input content through the mask mode.required
attribute.scrollOnChange
to automatically select the corresponding time when scrolling.needConfirm
attribute to allow setting the confirmation or non-confirmation submission mode.components
attribute to allow customizing some panels.locale
.format
supportsLT
andLTS
date formats.minDate
andmaxDate
to set the panel switching range.defaultPickerValue
will now be reset each time the panel is expanded.hour
obtained bydisabledTime
underuse12Hours
will also be clipped to 0~12.disabledDate
check logic, now it will provideinfo.type
to inform the current panel information.allowClear
trigger event fromonMouseDown
toonClick
.preventDefault
parameter ofonKeyDown
, please call it directly throughevent.preventDefault
.components.body
in the Table component under thevirtual
mode. #47098 by @linxianxivalue
type. #47091 by @madoctochangeOnWheel
property to the InputNumber component to enable mouse wheel control. #47158 by @MadCccdefaultHoverBg
,defaultHoverColor
,defaultHoverBorderColor
,defaultActiveBg
,defaultActiveColor
, anddefaultActiveBorderColor
) to the Button component. #47075 by @madoctoduration
configuration support to theuseNotification
function in the Notification component. This update also applies to thenotification
configuration of the App component. #47141flex
property in responsive layouts of the Grid component. #47124hoverBorderColor
andactiveBorderColor
token customization didn't work in the Input component. #47243 by @MadCccclassNames
andstyles
properties to the Card component. #46811 by @zh-lxselectionsIcon
in the Transfer component to ConfigProvide. #47301 by @li-jia-nanaddIcon
andmoreIcon
in the Tabs component to ConfigProvide. #47274 by @li-jia-nancloseIcon
in the Image component to ConfigProvide. #47252 by @li-jia-nancloseIcon
in the Tag component to ConfigProvide. #47250 by @li-jia-nancloseIcon
in the Notification component to ConfigProvide. #47244 by @li-jia-nancloseIcon
in the Modal component to ConfigProvide. #47226 by @li-jia-nanexpandIcon
in the Table component to ConfigProvide. #47225 by @li-jia-nancloseIcon
in the Tour component to ConfigProvide. #47200 by @li-jia-nanicons
in the Drawer component to ConfigProvide. #46894 by @li-jia-nancloseIcon
in the Alert component to ConfigProvide. #47235 by @li-jia-nanmultiple
支持多选能力。showWeek
属性。id
属性支持分别设置start
和end
输入框的id
。onFocus
和onBlur
事件会额外提供一个info.range
告知当前的焦点来自于哪个输入框。order
属性。pickerValue
、defaultPickerValue
属性用于受控管理展开面板所在日期。preserveInvalidOnBlur
属性用于无障碍时失去焦点需要保留输入内容的场景。format
支持align
属性,允许通过掩码模式输入内容。required
属性。scrollOnChange
设置滚动时间时自动选择对应的时间。needConfirm
属性,允许设置需要确认、或者不确认的提交模式。components
属性,允许自定义部分面板。locale
进行配置。format
支持LT
、LTS
日期格式。minDate
和maxDate
用于设置面板切换范围。defaultPickerValue
现在会在每次面板展开时都进行重置。use12Hours
下,disabledTime
获取的hour
也会被裁剪成 0~12 的问题。disabledDate
检查逻辑,现在会提供info.type
告知当前面板信息。allowClear
触发事件从onMouseDown
切换为onClick
。onKeyDown
的preventDefault
参数,请直接通过event.preventDefault
进行调用。virtual
下的components.body
。#47098 @linxianxivalue
类型支持泛型。#47091 @madoctochangeOnWheel
属性,以启用鼠标滚轮控制。#47158 @MadCccdefaultHoverBg
、defaultHoverColor
、defaultHoverBorderColor
、defaultActiveBg
、defaultActiveColor
和defaultActiveBorderColor
六个 token。#47075 @madoctouseNotification
支持duration
配置,该更新同样适用于 App 组件的notification
配置。#47141flex
属性。#47124hoverBorderColor
和activeBorderColor
token 定制无效的问题。#47243 @MadCccclassNames
和styles
属性。#46811 @zh-lxselectionsIcon
。#47301 @li-jia-nanaddIcon
和moreIcon
。#47274 @li-jia-nancloseIcon
。#47252 @li-jia-nancloseIcon
。#47250 @li-jia-nancloseIcon
。#47244 @li-jia-nancloseIcon
。#47226 @li-jia-nanexpandIcon
。#47225 @li-jia-nancloseIcon
。#47200 @li-jia-nanicons
。#46894 @li-jia-nancloseIcon
。#47235 @li-jia-nanv5.13.3
Compare Source
showCount
istrue
. #47112 @huiliangShencolumn.onFilter
don't work on tree table data. #47170 @Mumujianguangplaceholder
height anomaly when browser zoom is 80%. #46823 @zhipenglinrole
anddata-*
andaria-*
attributes. #47149size
styles. #47074 @crazyairclassNames.wrapper
andcentered
. #47076 @sunsunmonkeytip
andfullscreen
used together. #47015 @xsjcTonypageHeader
property. #47163 @li-jia-nanshowCount
时在 Space.Compact 下的样式错误。#47112 @huiliangShenitem
的children
为null
时丢失单元格右边框样式的问题。#47191column.onFilter
方法未过滤树形数据的问题。#47170 @Mumujianguang80%
的情况下占位高度异常的问题。#46823 @zhipenglinrole
、data-*
和aria-*
等属性的问题。#47149size
样式权重以方便覆盖。#47074 @crazyairclassNames.wrapper
时centered
属性不生效的问题。#47076 @sunsunmonkeytip
和fullscreen
同时使用时的控制台误报。#47015 @xsjcTonypageHeader
属性。#47163 @li-jia-nanv5.13.2
Compare Source
preview.getContainer
value for Image is false. #47034 @FEyudongprefixCls
breaks children other componentprefixCls
and thus bring the motion miss. #47010preview.getContainer
值为 false 时,内联渲染不生效的问题。#47034 @FEyudongprefixCls
时,会改变所有子元素的prefixCls
并导致动画丢失的问题。#47010v5.13.1
Compare Source
@types/react
version 16 or 17. #46962 @crazyair@types/react
16 或 17 版本下 Typescript 报错。#46962 @crazyairv5.13.0
Compare Source
variant
to control components variant inside. #46573variant
props. #46568 #46549 #46435 #46381 #46379 #46337status
adds a new scanned option. #46704hidden
to set hidden columns. #46957 @madoctomaxCount
, which is used to set the maximum selectable value. #46667allowClear
for setting the clearing function. #46396 @yociduostyles.wrapper
and discards thecontentWrapperStyle
drawerStyle
maskStyle
attributes, and simplifies the dom structure. #46858disabledInteraction
, which is used to disable the interactive behavior of the highlighted area. #46304pointAtCenter
under thearrow
attribute of the Tour component does not take effect. #46301indicator: { align: xxx }
attribute, which is used to set the alignment of the Tabs indicator bar. #46786indicatorSize
attribute and replaced it withindicator: { size: xxx }
. #46786ConfigProvider.config
to supportholderRender
formessage
modal
notification
static method settingProvider
. #46596indicator: { align: xxx }
attribute, which is used to set the alignment of the Tabs indicator bar. #46786indicatorSize
attribute and replaced it withindicator: { size: xxx }
. #46786hover
andactive
. #46925 @madoctotitle
did not take effect. #46809panelRender
. #46327GetProp
GetProp
GetRef
tool methods to facilitate developers to obtain unexported type definitions. #46923options.value
. #46423 @daledelvcontentLineHeight
series of tokens. #46936inputFontSize
token. #46875darkPopupBg
token. #46618trackPadding
andtrackBg
token. #46674paddingBlock
does not take effect after customizingcontentFontSize
token in Button component. #46901padding
token. #46878variant
属性用于设置内部组件形态变体。#46573variant
属性。#46568 #46549 #46435 #46381 #46379 #46337status
新增已扫描选项。#46704hidden
属性可设置隐藏列。#46957 @madoctomaxCount
属性,用于设置最大可选。#46667allowClear
属性,用于设置清除功能。#46396 @yociduostyles.wrapper
并废弃contentWrapperStyle
drawerStyle
maskStyle
属性,并简化 dom 结构。#46858disabledInteraction
属性,用于禁用高亮区域的交互行为。#46304arrow
属性下修改pointAtCenter
不生效的问题。#46301indicator: { align: xxx }
属性,用于设置 Tabs 指示条对齐方式。#46786indicatorSize
属性,改为indicator: { size: xxx }
代替。#46786ConfigProvider.config
支持holderRender
,用于message
modal
notification
静态方法设置Provider
。#46596indicator: { align: xxx }
属性,用于设置 Tabs 指示条对齐方式。#46786indicatorSize
属性,改为indicator: { size: xxx }
代替。#46786hover
和active
内容被遮挡的问题。#46925 @madoctotitle
未生效的问题。#46809panelRender
自定义时样式冲突的问题。#46327GetProp
GetProp
GetRef
工具方法,便于开发者获取未导出的类型定义。#46923options.value
。#46423 @daledelvcontentLineHeight
系列 token。#46936inputFontSize
token。#46875darkPopupBg
token。#46618trackPadding
和trackBg
token。#46674contentFontSize
token 后paddingBlock
不生效的问题。#46901padding
token 的问题。#46878v5.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/[email protected]
. #46744 @MadCcc@ctrl/[email protected]
导致的错误。#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
时勾选箭头错位问题。#46431Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.