Repository navigation
chore: Update Ant Design to v6 - #929
Merged
Merged
Conversation
| datasource | package | from | to | | ---------- | ----------------- | ------ | ----- | | npm | @ant-design/icons | 5.6.1 | 6.3.4 | | npm | antd | 5.29.3 | 6.6.4 |
Pure Go Unit Tests2 065 tests 2 064 ✅ 41s ⏱️ Results for commit 01823e5. ♻️ This comment has been updated with latest results. |
- Divider: `orientation="left"` is now the axis prop; the title side moved to `titlePlacement`. - `Key` comes from React (antd v6 ships `@rc-component/tree`, so the old `rc-tree/lib/interface` path no longer resolves). - ConfigProvider: CSS variables are always on in v6, `cssVar: true` is gone. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.5.0→^6.0.0^5.22.0→^6.0.0Release Notes
ant-design/ant-design-icons (@ant-design/icons)
v6.3.2Compare Source
v6.3.1Compare Source
v6.3.0Compare Source
v6.2.5Compare Source
ant-design/ant-design (antd)
v6.6.4Compare Source
GroupProps, BackTop and FloatButtonBackTopProps, InputGroupProps, MentionsOptionProps, and SelectOptionPropstypes in favor ofGetPropsor option-derived types. #58949 @li-jia-nanclassNames.clearandstyles.clearsemantic customizations for the clear button. #59245 @lazergfilteredValuebeing ignored when responsive columns are hidden. #59198 @QDyanbingpagination.classNamesandpagination.stylessemantic customizations. #59267 @QDyanbingokTextandcancelTextfalling back to default text for falsyReactNodevalues. #59254 @QDyanbingonCancelwhencancelButtonProps.onClickis provided. #59255 @QDyanbingpresetsand crashing when preset items are frozen. #59272 @QDyanbingminandmaxconstraints when the container resizes. #59084 @QDyanbingitemSelectedBganditemSelectedColortokens are used. #59046 @EmilyyyLiudataSourceitemkeytypes change. #59166 @QDyanbingtrigger="hover". #59246 @QDyanbingstyles.popup.root. #59221 @giaBaoJSzeroRuntimein nested themes wheninheritisfalse. #59250 @QDyanbingGroupProps、BackTop 和 FloatButtonBackTopProps、InputGroupProps、MentionsOptionProps与 SelectOptionProps旧类型,建议改用GetProps或从选项推导的类型。#58949 @li-jia-nanclassNames.clear和styles.clear语义化配置的问题。#59245 @lazergfilteredValue失效的问题。#59198 @QDyanbingpagination.classNames和pagination.styles语义化配置的问题。#59267 @QDyanbingokText和cancelText为假值ReactNode时被默认文案覆盖的问题。#59254 @QDyanbingcancelButtonProps.onClick时不触发onCancel的问题。#59255 @QDyanbingpresets并在预设项被冻结时崩溃的问题。#59272 @QDyanbingmin和max约束的问题。#59084 @QDyanbingitemSelectedBg和itemSelectedColorToken 时,选中项文字颜色滞后于滑块动画的问题。#59046 @EmilyyyLiudataSource项key类型变化后恢复旧选中状态的问题。#59166 @QDyanbingtrigger="hover"时鼠标从触发按钮移向菜单出现闪烁的问题。#59246 @QDyanbingstyles.popup.root的问题。#59221 @giaBaoJSinherit为false时未继承zeroRuntime的问题。#59250 @QDyanbingv6.6.3Compare Source
prefix,suffixIcon,allowClear.clearIcon, or the value returned byrenderExtraFooteris0. #59212 react-component/picker#1009 @github-actions @QDyanbingmaskconfiguration object. #59233 @giaBaoJSpopupRendertypes to acceptReactElementand returnReactNode. #59207 @QDyanbingDD.MM.YYYYandDD.MM.YYYY HH:mm:ssrespectively. #59151 @nrps9909minDateormaxDate. #59212 react-component/picker#1012 @github-actions @zombieJshowTimeenabled. #59212 react-component/picker#1010 @github-actions @zombieJMetaFilledandNetflixFilledbrand icons to Icon. #59178 ant-design-icons#755 @github-actions @mohamedkhaled4053XFilledrendering as a solid square. #59178 ant-design-icons#758 @github-actions @QDyanbingenterButtononMouseDownhandler. #59180 @QDyanbingpopupRenderreturnsnull, arrays, or numbers. #59207 @QDyanbingvalueisundefined. #59217 @dogledoglevalueisundefined. #59162 @dogledoglecollapsedset toundefined. #59175 @dogledogleprefix、suffixIcon、allowClear.clearIcon或renderExtraFooter返回值为0时渲染异常的问题。#59212 react-component/picker#1009 @github-actions @QDyanbingmask配置对象时点击遮罩关闭行为异常的问题。#59233 @giaBaoJSpopupRender类型,支持接收ReactElement并返回ReactNode。#59207 @QDyanbingDD.MM.YYYY和DD.MM.YYYY HH:mm:ss。#59151 @nrps9909minDate或maxDate后,切换到边界月份时面板意外关闭的问题。#59212 react-component/picker#1012 @github-actions @zombieJshowTime时,悬停其他日期导致待确认日期的选中样式丢失的问题。#59212 react-component/picker#1010 @github-actions @zombieJMetaFilled和NetflixFilled。#59178 ant-design-icons#755 @github-actions @mohamedkhaled4053XFilled图标显示为实心方块的问题。#59178 ant-design-icons#758 @github-actions @QDyanbingenterButton的onMouseDown回调的问题。#59180 @QDyanbingpopupRender返回null、数组或数字等内容时抛出错误的问题。#59207 @QDyanbingvalue为undefined时默认选中项失效且无法更新选中状态的问题。#59217 @dogledoglevalue为undefined时无法更新选中项的问题。#59162 @dogledoglecollapsed为undefined时无法点击收起的问题。#59175 @dogledoglev6.6.2Compare Source
onClickon keyboard activation, and preserving existing Tooltiparia-describedbyrelationships. #59139 @github-actions0content rendering across Alert, Empty, Card, Tag, Breadcrumb, Segmented, FloatButton, Form.Item, and Statistic. #59117 #59094 #59079 #59101 @bhumin18 @QDyanbing @dogledogleclosableand Select and AutoCompleteonPopupVisibleChangetype definitions incorrectly exposing unsupported callbacks or props. #59100 #59142 @QDyanbingonKeyDownhandlers for keys other than Enter. #59078 @QDyanbingfilterDropdownProps.onOpenChange(false)twice when closing the built-in filter dropdown. #59023 @thloveyexpandedKeysorselectedKeysis explicitlyundefined. #59076 @giaBaoJSkeyis numeric0. #59029 @QDyanbingrowKeyreturns numeric0. #59113 @nrps9909disabled={false}failing to override the global disabled state for JSX children. #59109 @QDyanbingextraprop is provided. #59089 @dogledoglealignandjustifyclasses after the props are removed or responsive breakpoints stop matching. #59066 @QDyanbingstylebeing overridden by ConfigProvidertag.style. #59087 @QDyanbingkey: 0. #59064 @QDyanbingnotFoundContentisnull. #59028 @QDyanbingcontentisundefined. #59077 @VamoBaoonClick,并保留 Tooltip 已有的aria-describedby关联。#59139 @github-actions0内容的问题。#59117 #59094 #59079 #59101 @bhumin18 @QDyanbing @dogledogleclosable、Select 和 AutoComplete 的onPopupVisibleChange类型定义错误暴露不支持回调或属性的问题。#59100 #59142 @QDyanbingonKeyDown回调的问题。#59078 @QDyanbingfilterDropdownProps.onOpenChange(false)的问题。#59023 @thloveyexpandedKeys或selectedKeys显式传入undefined时无法展开或选择的问题。#59076 @giaBaoJSkey为数值0的节点开始时 Shift 范围选择失效的问题。#59029 @QDyanbingrowKey返回数值0时重新挂载列表项的问题。#59113 @nrps9909disabled={false}在 JSX 子节点场景下无法覆盖全局禁用状态的问题。#59109 @QDyanbingextra属性时头部操作区不渲染的问题。#59089 @dogledoglealign、justify属性或响应式断点不再匹配后仍保留旧对齐类名的问题。#59066 @QDyanbingstyle被 ConfigProvidertag.style覆盖的问题。#59087 @QDyanbingkey: 0的条目后内容状态被重置的问题。#59064 @QDyanbingnotFoundContent为null时仍显示默认空状态的问题。#59028 @QDyanbingcontent为undefined时抛出错误的问题。#59077 @VamoBaov6.6.1Compare Source
onRemoveresolves. #58814 @afc163onChangecallbacks on scroll when usinggetCurrentAnchor. #58834 @nikzandalabelCol.offsetbeing overridden by label margins. #58981 @nikzandarequireddocumentation to clarify that validation rules infer the required state when unset. #58989 @QDyanbingborderedis enabled andshowHeaderisfalse. #57035 @LargopierowSpanranges. #58935 react-component/table#1488 @jiangrong-devopsonSearchtwice when clearing the search input. #59016 @QDyanbinglocale.remove. #58955 @nrps9909locale. #59014 @waterWangSHOW_PARENTlosing selected disabled child nodes in controlled mode. #58935 react-component/tree-select#681 @zombieJallowClearshifting its content on hover. #58932 @lazergonChangecallback when selected. #59010 @moon6967border-radiuschanges. #58923 @li-jia-nanonChangedocumentation to clarify that it fires when editing is completed. #59021 @EmilyyyLiuonRemove完成时误删新加入文件的问题。#58814 @afc163getCurrentAnchor时滚动会重复触发onChange的问题。#58834 @nikzandalabelCol.offset的问题。#58981 @nikzandarequired文档,明确未设置时会根据校验规则推断必填状态。#58989 @QDyanbingbordered且showHeader为false时首行圆角异常的问题。#57035 @LargopierowSpan范围偏移时行 hover 高亮单元格不正确的问题。#58935 react-component/table#1488 @jiangrong-devopsonSearch的问题。#59016 @QDyanbinglocale.remove的问题。#58955 @nrps9909locale配置。#59014 @waterWangSHOW_PARENT丢失已选中的禁用子节点的问题。#58935 react-component/tree-select#681 @zombieJallowClear时 hover 导致内容偏移的问题。#58932 @lazergoptions时选择选项不会触发选项onChange回调的问题。#59010 @moon6967border-radius的动态变化同步更新。#58923 @li-jia-nanonChange文档,明确其在编辑完成时触发。#59021 @EmilyyyLiuv6.6.0Compare Source
focusOutlinetheme token to control shared focus outlines across Input, Select, Rate, Steps, Splitter, and other components. #58647 #58708 @QDyanbingvariantconfiguration for Input.Search, Input.Password, and Input.OTP. #58784 @QDyanbingmouseEnterDelayandmouseLeaveDelayconfiguration for Tooltip, Popover, and Popconfirm. #58892 @EmilyyyLiusq_ALlocale support. #58618 @li-jia-nanuseTreefor retrieving node paths and supportscrollTo({ autoExpand: true })to expand target nodes before scrolling. #58841 @zombieJshowProgressto display the current scroll progress around the button. #58894 @ZQDesignedexpandable.forceRenderto render expanded row content before its first expansion. #58860 @nikzandacomponents.sizeChangerto customize the page-size changer, including in Table pagination. #58831 @QDyanbingpopupRenderto customize suggestion dropdown rendering. #58582 @EmilyyyLiumore.popupRenderto customize the overflow dropdown content. #58651 @EmilyyyLiucountto display multiple evenly distributed beams around the container border. #58691 @meet-studentpreview.wheelto control mouse wheel zoom in preview. #58728 @EmilyyyLiuborderRadiuscomponent token to customize its corner radius. #57765 @guoyunhenativeElementref support to Avatar.Group, Badge.Ribbon, Breadcrumb, Calendar, Card.Grid, Card.Meta, Carousel, Descriptions, Divider, Empty, FloatButton.Group, List.Item.Meta, QRCode, Result, Skeleton, Space.Compact, Spin, Splitter, Transfer, and Watermark. #58627 #58628 #58629 #58630 #58631 #58632 #58633 #58634 #58635 #58636 #58637 #58638 #58639 #58640 #58641 #58642 #58643 #58644 #58645 #58667 @li-jia-nanstyleandstylessettings. #58550 #58564 @QDyanbingclosable.disabledis enabled. #58853 @QDyanbingloadinganimation starts. #58690 #58712 @zombieJfocusOutline,用于统一控制 Input、Select、Rate、Steps、SpConfiguration
📅 Schedule: (in timezone Europe/Helsinki)
🚦 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 these updates again.
This PR has been generated by Mend Renovate CLI.