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:
^3.26.16
->^4.0.0
Release Notes
ant-design/ant-design
v4.21.3
Compare Source
filterDropdown
with Menu should not break defaultselectable
. #36098RefSelectProps
fromSelect
. #34732 @chentsulinFormRule
,FormListFieldData
,FormListOperation
fromForm
. #34735 @chentsulinfilterDropdown
中使用 Menu 会被修改默认selectable
的问题。#36098Select
导出类型RefSelectProps
。#34732 @chentsulinFormRule
、FormListFieldData
、FormListOperation
。#34735 @chentsulinv4.21.2
Compare Source
noStyle
. #36054noStyle
属性时校验状态错误的问题。#36054v4.21.1
Compare Source
getContainer
property not reading from ConfigProvider. #36002 @robothotdisabled
attribute does not take effect withhref
. #35975 @MuxinFeng@ant-design/colors
. #35954 @christian-lechnerstatus
for children of Modal and Drawer. #35849autoFocus
in Dropdown. #35990 @robothotMenuItemGroupType
in Menu. #35790 @MasaoBlueTable.cancelSort
key. #35970 @gariggiogetContainer
属性没有从 ConfigProvider 中读取的问题。#36002 @robothothref
时disabled
属性不生效的问题。#35952。#35975 @MuxinFeng@ant-design/colors
保持一致。#35954 @christian-lechnerstatus
等受 Form 影响的样式。#35849autoFocus
属性定义。#35990 @robothotMenuItemGroupType
的类型定义。#35790 @MasaoBlueTable.cancelSort
的意大利语翻译。#35970 @gariggiov4.21.0
Compare Source
disabled
. #35210 @heiyu4585popupClassName
for more Dropdown. #35892rowSelection.onChange
supportinfo.type
param. #35598copyable
prop of Typography.Paragraph supports to reset the mime type of the clipboardData by theformat
. #35219 @kanweiweitreeExpandAction
. #35618 @NE-SmallTownshowSizeChanger
. #35750componentDisabled
to config componentsdisabled
status. #35718renderEmpty
to resolve dist circle deps. #35570expandIconPosition
with logical positionstart
orend
to resolve RTL style issue. #35770type="circle"
andtype="dashboard"
for simpler dom structure and better rendering. #35433gapDegree
displayed with wrong degree whentype="dashboard"
. #35433type="line"
andstrokeLinecap="butt"
. #35822autoFocus
to focus elements inoverlay
automaticly when opened. #35391loading
with Skeleton. #35525mini
mode withant-pagination-mini
. #35881children
will undefined. #35853 @crazyairmargin-top
style. #35848active
animation perfermance. #35836 @slotDumpling!important
in Radio style withdisabled
. #35920FormListFieldData
missing propertyfieldKey
. #35884 @nanianlisaotk_TK
. #35605border
andborder-radius
for InputNumber and Input in RTL mode. #35876 @yykoypjdisabled
。#35210 @heiyu4585popupClassName
用于更多菜单。#35892rowSelection.onChange
新增info.type
参数。#35598copyable
属性支持format
以重置剪切板数据的 Mime Type。#35219 @kanweiweitreeExpandAction
定义展开操作。 #35618 @NE-SmallTownshowSizeChanger
属性。#35750componentDisabled
来配置组件禁用状态。#35718renderEmpty
方法以解决打包循环依赖的问题。#35570expandIconPosition
为逻辑位置start
与end
以解决 RTL 下的样式问题。#35770type="circle"
和type="dashboard"
以简化 dom 结构和带来更好的渲染效果。#35433type="dashboard"
的gapDegree
角度不准确的问题。#35433type="line"
和strokeLinecap="butt"
时的圆角样式。#35822autoFocus
属性,打开时自动聚焦下拉单。#35391loading
属性。#35525mini
模式的 className 重命名为ant-pagination-mini
。#35881children
为 undefined 的问题。#35853 @crazyairmargin-top
以便在默认情况下更对称。#35848active
的动画性能。#35836 @slotDumpling!important
。#35920FormListFieldData
缺失属性fieldKey
。#35884 @nanianlisaoborder
和border-radius
在 RTL 模式下的方向问题。#35876 @yykoypjv4.20.7
Compare Source
v4.20.6
Compare Source
role
attr to fit aria-required-parent requirement. #35616 @bartpiorowSpan
andscroll.y
. #35591role
标签,以使其更好的适配 aria-required-parent 要求。#35616 @bartpiov4.20.5
Compare Source
rowSelection.onSelectNone
androwSelection.onSelectMultiple
in TS type. #35545rowSelection.onSelectNone
和rowSelection.onSelectMultiple
。#35545v4.20.4
Compare Source
displayRender
warning. #35417 @lalalazerodisplayRender
警告。#35417 @lalalazerov4.20.3
Compare Source
rowGap: 0
style attribute in Row. #35409ref
no work problem. #35321maxCount
attribute was missing. #35369 @cwveyseyrowGap: 0
样式属性。#35409ref
不生效的问题。#35321maxCount
属性缺失的问题。#35369 @cwveyseyv4.20.2
Compare Source
options
now supportsicon
property. #35256Encountered two children with the same key
warning in some cases. #35311options
支持设置icon
属性。#35256Encountered two children with the same key
警告的问题。#35311v4.20.1
Compare Source
onSearch
when press enter using Chinese inputting method. #35164 @qyzzzzpadding
和margin
样式。#35235onSearch
的行为不一致的问题。#35164 @qyzzzzv4.20.0
Compare Source
createRoot
warning in React 18. #35030Segemented
propsonChange
callback function parameter adjusted fromChangeEvent
(v4.20.0-alpha.0, v4.20.0-alpha.1) tovalue
to simplify API. #35187 @vagusXuseWatch
to get current field value. #35036useFormInstance
to get current context form instance. #35039labelCol={{ sm: 24 }}
andwrapperCol={{ sm: 24 }}
. #34907items
for perf prepare, andchildren
will be removed in next major version. #34559crossOrigin
for images inpicture-card
mode. #34981 @dragmoveprefixCls
don't work on file list. #34944 @swchensize="small"
. #34963switcherIcon
prop support render-prop. #34470 @zqranrootClassName
androotStyle
. #34578placement
. #35162getCurrentAnchor
has active link as argument. #34799showCheckedStrategy
for value display strategy. #34568 @heiyu4585onCopy
function of Typography. #34655 @yzwxkjustify="space-evenly"
. #34606 @gp5251rootClassName
property for Dialog and Image. #34574 @heiyu4585Nothing was returned from render
when Skeleton use falsyloading
props withoutchildren
. #34872 @AlbertAZ1992overflow: hidden
style to fix Select and sticky Table display problem inside Tabs. #35195aria
attribute to improve accessibility. #34408 @heiyu4585ref
bug. #34847 @MQuyaria-checked
attribute for Checkbox, to avoid screen reader getting an incorrect status. #34862 @SpaNb4danger
value from the function to variable. #35113 @TrickyPiUpload
componentUploadChangeParam<T>
internalfileList
not using generics. #35158 @rendaoer@types/react@18
compatible. #35075 @AliRezaBeigy #35076 @littlediancreateRoot
的警告信息。#35030onChange
回调函数的参数从ChangeEvent
调整为value
。如果你使用了4.20.0-alpha.0
4.20.0-alpha.1
,请注意这个变化。#35187 @vagusXuseWatch
支持获取当前字段值。#35036useFormInstance
以获取当前上下文中的 Form 实例。#35039labelCol={{ sm: 24 }}
和wrapperCol={{ sm: 24 }}
时样式错乱的问题。#34907items
数据化菜单项支持以为将来性能提升做准备,并且children
将会在下个大版本中废弃。#34559picture-card
模式支持配置图片的crossOrigin
属性。#34981 @dragmoveprefixCls
对列表不生效的问题。#34944 @swchensize="small"
时列头背景色和选择列宽度的样式问题。#34963size="small"
和size="middle"
时选择下拉菜单的边距样式。#35173switcherIcon
属性支持 render-prop。#34470 @zqranrootClassName
androotStyle
。#34578placement
废弃警告的问题。#35162getCurrentAnchor
参数中返回默认高亮项。#34799showCheckedStrategy
用于配置回填方式。#34568 @heiyu4585onCopy
方法支持获取点击事件对象。#34655 @yzwxkjustify="space-evenly"
。#34606 @gp5251rootClassName
属性。#34574 @heiyu4585children
并设置loading
为 false 时提示Nothing was returned from render
的问题。#34872 @AlbertAZ1992overflow: hidden
样式以修复 Select 和 sticky Table 在 Tabs 中的展现问题。#35195aria
属性以提升可访问性。#34408 @heiyu4585ref
的问题。#34847 @MQuyaria-checked
属性导致屏幕阅读器识别错误的问题。#34862 @SpaNb4danger
值从函数改为变量。#35113 @TrickyPiUploadChangeParam<T>
内部fileList
不使用泛型问题。#35158 @rendaoer@types/react@18
。#35075 @AliRezaBeigy #35076 @littledianv4.19.5
Compare Source
<ConfigProvider componentSize="large" />
should display middle size Select. #34756childten
of non-react element. #34751 @1247748612@tag-border-radius
less variable not work. #34741<ConfigProvider componentSize="large" />
下的 Select 大小问题。#34756children
问题。#34751 @1247748612@tag-border-radius
less 变量不生效的问题。#34741v4.19.4
Compare Source
fullscreen
of the Calendar isfalse
, the element returned bydateFullCellRender
cannot be interactive. #34614 @imoctopussmall
size anddot
mode. #34651contentStyle
not working when children is 0. #34696 @zhao-huo-longfullscreen
为false
时,dateFullCellRender
返回的元素不可交互的问题。#34614 @imoctopusrtl
样式问题。#34626 @hmz22dot
模式下文字位置偏移的问题。#34651contentStyle
不生效的问题。#34696 @zhao-huo-longv4.19.3
Compare Source
clearIcon
color. #34610status
style in RangePicker. #34509hasFeedback
. #34475prefix
orsuffix
. #34474typeTemplate
. #34567 @AnizcusTable
. #34566 @freshgiammiclearIcon
的颜色问题。#34610prefixCls
时的数字 Row 和 Col 类样式问题。#34494 @mic-webeditable
切换时在 Firefox 下高度跳动 和 Typography.Titleeditable
确定图标错位的问题。#34518status
相关样式丢失的问题。#34509hasFeedback
时 Input 焦点丢失添加警告。#34475prefix
或者suffix
时 input 缺少某些 className 的问题。#34474v4.19.2
Compare Source
12px
to8px
insideextra
. #34428antd/es/config-provider
folder to enable ssr requirement. #34436size
is large. #34381form.validateFields
throwCan't perform a React state update on an unmounted component
warning. #34405initialValues
would change ifpreserve
is false. #34411data-*
type definition. #34410 @GitKoufooter
type definition. #34337 @zomixiextra
内元素间距为8px
。#34428form.validateFields
中移除时抛出Can't perform a React state update on an unmounted component
警告的问题。#34405preserve
为false
时initialValues
会被更改的问题。#34411data-*
TS 定义的问题。#34410 @GitKoufooter
类型定义。#34337 @zomixiv4.19.1
Compare Source
ReferenceError: colorPalette is not defined
when customize theme.Error: Invalid class or id selector syntax
when importantd/dist/antd.css
.csp
sometime not effect on Icon. #34356ReferenceError: colorPalette is not defined
错误。antd/dist/antd.css
时提示Error: Invalid class or id selector syntax
错误。csp
有时在 Icon 上不会生效的问题。#34356v4.19.0
Compare Source
ref
is modified because of refactoring from class component to function component. You can still get DOM node frominput
, and other methods such asfocus
andblur
mentioned in document are also supported.clearIcon
prop for customizing clear icon. #34325filterSearch
now support passing function to customize search. #34085 @heiyu4585column.filterDropdown({ clearFilters })
supportclearFilters({ confirm: false, closeDropdown: false })
. #34120 @heiyu4585aria-sort
attribute for screen readers. #33603 @dgreene1status
prop to support custom status.controls={{ upIcon, downIcon }}
to customize icon up and down. #33914 @heiyu4585placement
supporttop
/bottom
#33871 @heiyu4585placement
property. #33641 @ONLY-yoursarrow={{ pointAtCenter: true }}
to make arrow point at center. Andtop
bottom
placement are aConfiguration
📅 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.