npm / antd
antd
What changed in antd 4 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
16 breaking1 security14 deprecations106 new APIs and options8 performance17 behavior and defaults2 tooling347 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initantd 6470 changes
Breaking changes 4
Carousel types no longer expose the ignored verticalSwiping prop.
TypeScript definitions for Tooltip, Popover, Popconfirm, and Slider no longer accept unsupported rc Tooltip props.
Borderless Input components now have a focus outline.
Unifies size enum values: Badge, Card, Progress, Steps, Switch, and Spin replace default with medium; Descriptions replaces middle and default with medium and large; Table and Divider replace middle with medium.
Security 1
Default download links no longer allow newly opened tabs to access the opener page.
Deprecations 11
BackTop and FloatButton BackTopProps is deprecated in favor of GetProps.
Avatar GroupProps is deprecated in favor of GetProps.
Input GroupProps is deprecated in favor of GetProps.
Mentions OptionProps is deprecated in favor of GetProps or option-derived types.
Select OptionProps is deprecated in favor of GetProps or option-derived types.
The List deprecation warning now recommends migrating to Listy.
rootStyle is deprecated in favor of styles.root.
Renames the Table filter type from FilterRestProps to FilterResetProps; the old name remains as a deprecated alias for compatibility.
Adds collapsible.icon as the replacement for Splitter collapsibleIcon.
Deprecates Splitter collapsibleIcon in favor of collapsible.icon.
Updates the deprecation warning for the size prop and removes a redundant check.
New APIs and options 87
A new brand icon is available in Icon.
ConfigProvider locale provides localized accessible names for the default previous and next arrows.
Adds a component token to customize Alert corner radius.
Adds support for multiple evenly distributed beams around the container border.
Adds global mouse-enter delay configuration for Tooltip, Popover, and Popconfirm.
Adds global mouse-leave delay configuration for Tooltip, Popover, and Popconfirm.
Adds global variant configuration for Input.Search, Input.Password, and Input.OTP.
Displays the current scroll progress around the back-to-top button.
Adds a ConfigProvider theme token to control shared focus outlines across components.
Adds control over mouse wheel zoom in the image preview.
Adds a high-performance virtualized list component with grouping, sticky headers, and imperative scrolling.
Adds customization of suggestion dropdown rendering.
Adds ref support for accessing root DOM elements on 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.
Adds
components.sizeChangerto customize the page-size changer, including in Table pagination.Supports expanding target Tree nodes before scrolling when
autoExpandis true.Adds Albanian locale support.
Adds
expandable.forceRenderto render expanded row content before its first expansion.Adds customization of overflow dropdown content.
Adds a Tree hook for retrieving node paths.
The
titleprop allows removing the native tooltip.Control the beam loop duration with the
durationprop.Control beam width with the
lineWidthprop.Control beam size with the
sizeprop.New size-specific tokens configure header and content padding separately for small and large sizes.
ConfigProvider form configuration now supports
labelWrap.DatePicker supports an
onClearcallback.Dropdown supports
leftandrightplacement values.Built-in Icon entries are available for Anthropic, Claude, Gemini, Mistral, DeepSeek, Qwen, Perplexity, HuggingFace, Ollama, Replicate, ElevenLabs, Telegram, Mastodon, Threads, and Snapchat.
Customize the visibility toggle button tab order with
visibilityToggle.tabIndex.Layout.Sider supports semantic
classNamesandstyles.onSelect,onClick, andonDeselectcallback parameters now includeitemData.Control body scroll locking with the
scrollLockprop.Range mode supports a
disabledarray to disable individual handles.The
maxCountcollapse mode supports dense step items.Row-selection checkboxes support
aria-*attributes supplied throughgetCheckboxProps.TimePicker supports an
onClearcallback.contentsupports per-line font styles.Adds ref support to access instance methods programmatically.
Adds a component for an animated border beam effect along container edges.
Adds Cascader and ConfigProvider configuration support for search, clear, remove, and suffix icons.
Adds per-option className and style support.
Adds closable support to the Image preview mask.
Adds a design token to control the error color of input affixes.
Adds a design token to control the warning color of input affixes.
ConfigProvider can globally configure DatePicker clearing and its clear icon.
Adds default Form validation messages for eight languages.
Adds a Splitter prop for managing panel content mounting.
ConfigProvider can control whether Drawer can receive focus.
Adds disabled support.
Adds semantic DOM support for help, helpItem, and extra to allow custom styling.
Adds support for the Return type.
Adds a closeIcon semantic node for classNames and styles configuration.
Adds a prop to disable the clear button while keeping it visible.
Adds a clear semantic segment for customizing the clear button with classNames and styles.
Improves accessibility and adds ConfigProvider support.
Adds a prop to customize the search icon.
Adds a prop to disable the clear button while keeping it visible.
Adds semantic DOM support for Calendar.
Adds a semantic itemSwitcher for Tree and TreeSelect.
Adds Form label alignment configuration through ConfigProvider.
ConfigProvider supports global Mentions allowClear configuration.
Adds a closeIcon semantic node for classNames and styles configuration.
ConfigProvider can control whether Modal can receive focus.
ConfigProvider supports globally configuring Modal status icons.
Adds a Badge design token.
Adds an Image prop to show a loading progress indicator.
Adds an icon semantic node for classNames and styles configuration.
ConfigProvider supports global RangePicker configuration for clearing and its clear and suffix icons.
Adds an align parameter to Table scrollTo.
ConfigProvider can globally configure Select allowClear.
ConfigProvider supports global configuration of Select search, clear, and icon options.
Adds design token support.
Adds semantic classNames and styles support for the value.
Adds a column prop for configuring Table columns through ConfigProvider.
Adds a remove semantic node for configuring close button classNames and styles.
Adds a close semantic node for configuring the close icon with classNames and styles.
Adds a DatePicker prop to customize tag rendering in multiple mode.
Adds an Anchor.Link prop for setting scroll offset individually for each link.
ConfigProvider can globally configure TimePicker clearing and its clear icon.
Adds a closeIcon semantic node for classNames and styles configuration.
Adds Wave configuration to control which element triggers the wave effect.
Adds a placement prop to control the position of action buttons.
Adds a more flexible semantic structure.
ConfigProvider can globally configure Upload accept.
ConfigProvider can globally configure Upload progress.
Adds Alert filled and outlined style variants and ConfigProvider support.
Adds the es_US locale preset.
Performance 8
Improves ellipsis tooltip performance in large lists.
Hash parsing performance issues with specially crafted hash values are fixed.
The full bundle is smaller, with gains from slimmer DatePicker and TimePicker runtime code and reduced extra TwoTone runtime in Icon and Upload.
Improves iteration performance when collecting enabled item keys.
Improves performance by reducing redundant array iterations.
Improves row selection performance by using Set-based lookup instead of O(n*m) .includes() checks.
Filter performance improves by caching flattened filter keys.
Filter search performance improves by reusing normalized search input.
Behavior and default changes 15
Localized accessible names for navigation arrows were added in 45 locales.
Week wording uses Taiwan-preferred terminology.
Virtual scrollbar track hover feedback is improved.
Improves virtual scrollbar track feedback in Select, Tree, and Table, and supports clicking the Table scrollbar track to jump.
tokenSeparatorsnow supports function-based values.Tabs adds semantic DOM support for
bodyandcontent.Deepens the shadow for better visibility on light backgrounds, affecting Card, Tour, and Segmented.
Adds default colors for solid variants.
Splitter collapsible panels gain smooth transition animation.
Adds focus-visible styles and focusTrap support.
Adds fully semantic structure support.
Adds semantic DOM support for source and target.
Adds default styles for table elements.
Adds image type detection for avif, tif, and tiff.
Button, Checkbox, Radio, Switch, and Segmented support the media query to disable transitions for improved accessibility.
Tooling 2
Adds an official command-line tool for offline component knowledge queries, project usage analysis, and migration guidance.
Adds generic type definition support for Upload.Dragger.
Fixes and other changes 342
Upload custom request types now expose abort handles.
AutoComplete no longer incorrectly inherits allowClear from ConfigProvider select.
Avatar no longer falls back to its default size when a larger breakpoint matches without a configured size.
Dropdown menu links no longer start with undefined when the parent item has no href or path.
Custom loading icons no longer appear before the loading delay ends.
Vertical slides no longer reverse order in RTL when dotPlacement makes the carousel vertical.
Missing Carousel arrow labels were added in remaining locales.
Alert’s close button is no longer clickable when closable.disabled is true.
Missing DatePicker placeholders were added in remaining locales.
TypeScript definitions now exclude unsupported props.
After paste, focus now lands on the correct cell.
Upload now invokes linkProps.onClick when a file name link is clicked.
DatePicker and TimePicker RangePicker now apply ConfigProvider locale.DatePicker.
Tour next and previous button click handlers now receive mouse events.
Notification timers now resume after closing hovered notices.
List, Divider, and Drawer now render numeric 0 content correctly.
Badge no longer truncates fractional horizontal offset values.
With preserveSelectedRowKeys enabled, onSelect no longer returns undefined for preserved keys.
Table column.filterDropdownProps.popupRender now works.
TreeSelect and Mentions now pass their own component names instead of Select.
Romanian locale translations were improved.
Table now scrolls to the first row when scroll is configured only in ConfigProvider.
A numeric 0 value no longer falls back to default counts.
The selection menu’s “Select all data” option now includes descendant rows in tree data.
The selection column z-index now applies with fixed columns after the v6 logical property migration.
Card now respects tabProps.defaultActiveKey when selecting the initial tab.
Controlled selection now updates correctly after one-way removal.
Shift selection no longer affects filtered-out items or selects incorrect ranges after search results change.
Shift range selection now works with numeric keys and defaultExpandAll.
Shift range selection no longer selects nodes marked non-selectable or disabled.
Text editing now works when onClick is provided.
Anchor scrolling no longer uses stale values after updates.
Avatar retries image loading after
srcSetchanges.Drawer now warns that
destroyOnCloseis deprecated.Result, message, notification, Avatar, Modal, Descriptions, and Form.Item now correctly render numeric 0 content.
Single and multiple Select heights are consistent after customizing global
fontSizeorlineHeight.Table range selection no longer uses stale values after updates.
Footer callbacks using rest parameters now receive
direction.Transfer no longer calls a stale callback after
onSelectChangeis replaced or removed.Transfer range selection no longer uses stale values after updates.
File names are no longer focusable as buttons when no preview action is available.
Custom
style.heightis no longer overridden when theheightprop is not set.The clear button now supports the classNames.clear and styles.clear semantic customizations.
Transfer no longer restores stale selections after dataSource item key types change.
ColorPicker's clear control is no longer interactive or showing hover styles when disabled.
Table filteredValue is no longer ignored when responsive columns are hidden.
Vertical Form.Item controls no longer shrink inside horizontal layouts.
Segmented selected-item text color now stays in sync with the thumb animation when custom itemSelectedBg and itemSelectedColor tokens are used.
Splitter panel sizes now respect their min and max constraints when the container resizes.
Modal okText and cancelText no longer fall back to default text for falsy ReactNode values.
Modal now triggers onCancel when cancelButtonProps.onClick is provided.
Table now applies pagination.classNames and pagination.styles semantic customizations.
ColorPicker no longer modifies presets or crashes when preset items are frozen.
Tabs more dropdown now applies styles.popup.root.
FloatButton.Group no longer flickers when moving the pointer from the trigger to the menu with hover triggering.
Table virtual cell content is now vertically centered.
ConfigProvider now inherits zeroRuntime in nested themes when inherit is false.
Default selections are preserved and selections can be updated when value is undefined.
The popup no longer closes unexpectedly when navigating to a month boundary set by minDate or maxDate.
The pending date selection highlight is retained when hovering over another date with showTime enabled.
Rendering now handles 0 values for prefix, suffixIcon, allowClear.clearIcon, and renderExtraFooter.
German locale defaults now use DD.MM.YYYY for dates and DD.MM.YYYY HH:mm:ss for date-times.
Missing year, quarter, month, week, and range placeholders were added in 32 locales.
Dropdown no longer throws when popupRender returns null, arrays, or numbers.
Icons now render when the project is bundled with Bun.
Invalid icon definitions no longer crash the page.
Navigation arrows now point in the correct direction in RTL mode.
The visibility toggle now respects controlled visibility.
Holding Enter or Space no longer repeatedly toggles password visibility.
The custom enterButton onMouseDown handler is now called.
Clicking the trigger now collapses the sider when collapsed is undefined.
Mask clicks now close the component correctly when a mask configuration object is reused.
Select, AutoComplete, Cascader, and TreeSelect types now accept ReactElement and return ReactNode.
The selection now updates when value is undefined.
Progress icon accessibility semantics were improved and its hardcoded English name was removed.
Single-select tree filters can now select empty string values.
Close buttons no longer activate repeatedly when holding Enter or Space.
The tag no longer activates repeatedly when holding Enter or Space.
The DatePicker confirmation button and ColorPicker gradient color text were corrected.
The icon no longer renders as a solid square.
Grid Row no longer retains stale alignment classes after props are removed or responsive breakpoints stop matching.
The Alert global closable type definition no longer exposes unsupported callbacks or props.
Watermark no longer throws an error when content is undefined.
Checkbox.Group disabled={false} now overrides the global disabled state for JSX children.
Tree.DirectoryTree can expand nodes when expandedKeys is explicitly undefined.
Drawer renders its header action area when only the extra prop is provided.
Table no longer calls onOpenChange(false) twice when closing the built-in filter dropdown.
Grid Row no longer retains stale justification classes after props are removed or responsive breakpoints stop matching.
Tree.DirectoryTree Shift range selection works when starting from a node whose key is numeric 0.
Descriptions no longer resets item state after reordering an item with key 0.
Menu popup IDs are no longer duplicated across multiple instances.
Horizontal submenus no longer unexpectedly close when the pointer moves from an item to its popup.
Menu icons stop moving after an inline menu finishes collapsing.
Cascader and Cascader.Panel no longer show the default empty state when notFoundContent is null.
Notification close buttons no longer unintentionally submit enclosing forms.
Alert, Empty, Card, Tag, Breadcrumb, Segmented, FloatButton, Form.Item, and Statistic now render numeric 0 content correctly.
Table sortable columns now invoke custom onKeyDown handlers for keys other than Enter.
Select and AutoComplete type definitions no longer expose unsupported callbacks or props.
Progress avoids redundant SVG announcements for assistive technology.
List no longer remounts items when rowKey returns numeric 0.
Tree.DirectoryTree can select nodes when selectedKeys is explicitly undefined.
Its decorative placeholder graphic is hidden from assistive technology.
Steps item onClick now fires on keyboard activation.
Decorative panel arrows are hidden from assistive technology.
Tag.CheckableTag local style is no longer overridden by ConfigProvider tag.style.
Tooltip preserves existing aria-describedby relationships.
The select-all checkbox is disabled when all search results are disabled.
Transfer displays items again after filtered data is restored from an empty result.
Upload no longer leaves hidden canvas elements in the DOM after generating GIF previews.
Duplicate onChange callbacks on scroll are fixed when using getCurrentAnchor.
Content no longer shifts on hover with a custom input and allowClear.
Beam radius synchronizes with dynamic container border-radius changes.
Redundant labels are hidden for decorative default expand icons while interactive icon triggers retain accessible names.
Dragging works after double-clicking the clear button.
The decorative default separator is hidden from screen readers while custom separator accessibility is preserved.
The progress ring border is no longer overridden before its initial display on some pages.
Form height no longer fluctuates during rapid validation state changes.
In vertical layout, label margins no longer override labelCol.offset.
Invalid placeholders are fixed in Icelandic and Mongolian validation messages.
Complex-control guidance supports explicitly associating labels with nested controls.
Icons no longer jitter when an inline menu expands or collapses.
Tooltip flashing is fixed when an inline menu collapses while an item is hovered.
Localized accessible names for Modal close buttons are improved.
Localized accessible names for Notification close buttons are improved.
Selecting an option now invokes that option's onChange callback.
Clear buttons clear values when activated with Enter or Space.
First-row corners render correctly when bordered is enabled and showHeader is false.
Row hover highlighting targets the correct cells when expanded rows offset rowSpan ranges.
Terminology across localized components is improved for Traditional Chinese.
One-way item actions now respect locale.remove.
Clearing the search input no longer triggers onSearch twice.
Controlled mode no longer loses selected disabled child nodes.
Newly added files are no longer dropped when asynchronous onRemove resolves.
Localized accessible names for Upload actions are improved.
Fixes layout shift when the loading animation starts.
Fixes jumping to the first slide when children are dynamically added.
Fixes the Drawer close button remaining interactive when
closable.disabledis enabled.Exports missing public Props and Ref types for Alert, Carousel, Cascader, Masonry, Mentions, Radio, Slider, Statistic, Table, Tabs, Tooltip, and Upload.
Fixes the clear icon showing a native button background in dark mode.
Fixes the placeholder remaining visible when an ancestor is hidden.
Fixes semantic style precedence when ConfigProvider and component-level
styleandstylessettings are combined across the listed components.Fixes the tooltip closing before users can interact with its popup and improves hover behavior around action buttons.
Alert now shows the close button when the closable configuration object contains only onClose.
With component={false}, App no longer emits an unnecessary CSS variable warning and warns when root props cannot be applied.
Disabled AutoComplete text now uses the disabled text color.
Checkbox.Group no longer crashes when options contains nullish entries or values.
BackTop scroll animation now respects prefers-reduced-motion.
RangePicker semantic callbacks now receive forwarded props.
Bare SVG icons from third-party icon libraries are no longer misaligned, missing spacing, or breaking onto separate lines in Breadcrumb, Collapse, Segmented, Tabs, and Tag.
Selecting all data no longer selects disabled rows on other pages.
Tour no longer exposes unusable per-step indicatorsRender and actionsRender TypeScript definitions.
Transfer deselect-all behavior after filtering is fixed.
Prevents unconfirmed partial values from being submitted on blur when using showTime and allowEmpty.
Fixes incomplete base styles when theme.zeroRuntime or CSS layers are enabled.
When mask is a string, Input.OTP uses type="text" while preserving explicit type values.
When mask is true, Input.OTP no longer displays the original value.
The resize handle no longer renders as a dot on touch devices.
Prevents suffix icons and selected content from overlapping the clear icon with custom theme colors.
Prevents onFocus and onBlur callbacks from triggering multiple times.
Standalone indicators are no longer mispositioned when nested in another Spin.
Controlled filter dropdown selections now update while the dropdown is open.
Third-party SVG icons now align vertically with labels.
The editable textarea font size now matches the edited content.
Form.Item useStatus no longer returns stale errors and warnings when the validation status remains unchanged.
Button, Collapse, ColorPicker, Layout, Select, Space.Addon, Tree, and Typography borders now respect the global lineWidth and lineType Design Tokens.
Fixed a hook-order warning in React 19 when using the UMD development build.
Numeric 0 for flex is no longer ignored in regular and responsive configurations.
Root DOM event handlers, including onPointerDown, onAnimationEnd, onTransitionEnd, and onScrollEnd, are no longer dropped.
Custom enterButton now respects the component's disabled and loading states.
suffix now displays when Form feedback is enabled.
Fixed reduced-motion styles for BorderBeam, Checkbox, and Switch that caused Lightning CSS minification failures.
Percentage-based aria-valuemin and aria-valuemax values are fixed before container measurement.
Lazy drag previews no longer exceed bounds next to zero-sized panels.
Bordered nested tables no longer lose their top border when wrapped by Tabs or custom content.
Bare SVG icons from third-party icon libraries now have spacing and correct vertical alignment in Tag.
Clicking the close icon no longer triggers navigation when Tag has both href and closable set.
Custom action buttons passed through actions now preserve their own disabled state.
Fixed rootStyle being ignored.
Fixes custom input background color being applied twice in the filled variant.
Fixes icon vertical alignment when a Button is used in Card extra content.
Fixes missing styles in some components when ConfigProvider is used with StyleProvider layer.
Fixes CSS variable prefixes not updating when prefixCls changes dynamically.
Fixes content columns collapsing to near-zero width when Descriptions is nested in Popover.
Fixes positioning and interaction when a Dropdown child component does not support ref.
Typography ellipsis mode and aria-label now update when ellipsis.rows or editable text changes.
Fixes feedback icon classes and nested noStyle feedback state not updating after dynamic configuration changes.
Form.Item no longer displays validation messages when help is set to false.
Fixes the focus outline being covered when the adjacent Input is hovered.
Completes missing localized messages for ConfigProvider, Table, Transfer, Typography, Form, QRCode, ColorPicker, and Icon across 68 locales.
Modal methods no longer apply body styling options to confirmation dialog titles.
Fixes the page-size selector expanding to full width inside Form.Item.
Button, Checkbox, Switch, Splitter, and BorderBeam pseudo-element transitions and animations now respect the reduced-motion preference.
Avatar, List, Pagination, Steps, and Table now respond to breakpoint changes after responsive configuration is enabled dynamically.
Fixes icons in checkedChildren and unCheckedChildren not being vertically centered.
Fixes horizontal scrolling occasionally jumping back because of stale deferred scroll synchronization.
Filter selections now reset to the current filtered values when reopening the filter dropdown.
Fixes the icon rendering smaller than other icons and removes its unintended drop shadow.
Fixes incorrect Japanese expand and collapse labels.
Across components, component
stylenow overrides globalstyles.rootandstyleconfiguration for the root semantic style.In bordered mode,
labelStyle,contentStyle,styles.label, andstyles.contentnow apply to their matching cells.A disabled FloatButton.Group no longer opens its hover menu.
Icon styles now work when
theme.zeroRuntimeis enabled.Input.Search no longer loses
enterButton.className.Input.Search now applies ConfigProvider root
styleconfiguration.Layout.Header, Layout.Footer, and Layout.Content retain their default background when used standalone with
theme.cssVarenabled.Result now renders
extrawhen its value is the number0.In single mode,
labelRendercontent no longer dims while Select is open.Select and related popup components now render numeric popup widths correctly.
Select no longer creates disabled tags.
defaultSortOrderand controlledsortOrderare no longer ignored when a column is hidden byresponsiveat the current breakpoint.Failed files now show a file icon.
Upload list item names have improved accessibility when previewing files without a URL.
The actions spacing now takes effect when hashed styles are enabled.
Pagination quick jumper input now follows ConfigProvider
variantstyles.Vertical menus no longer overflow the viewport when the trigger is centered, keeping all menu items reachable.
Missing Norwegian locale keys are now filled in.
Fixed header tables now receive
aria-*attributes whenscrollcreates multiple tables.Fixes showSearch types leaking unsupported Select props.
Fixes the disabled custom input background being darker than other disabled controls.
Fixes hover style remaining after a tap on mobile devices.
Improves clear button semantic attributes for accessibility.
Improves clear button accessibility in DatePicker and TimePicker.
Fixes responsive column values not behaving as expected.
Fixes unexpectedly inflated width when Descriptions is nested inside a Table.
The type definition now supports native HTML attributes.
Fixes a React 19 element.ref deprecation warning when the trigger node has a ref.
SVG colors use design tokens to support dark mode.
Improves QRCode and ColorPicker British English locale text to align with American English.
Fixes spin animation stopping when multiple iconPrefixCls values coexist.
Adds missing Khmer locale text for Tour.
Fixes icon animation jumping when the menu is collapsed.
Fixes vertical misalignment of footer buttons when confirmLoading is true.
Popover and Popconfirm now render when title or content is the number 0.
Adds missing Brazilian Portuguese locale text for QRCode and ColorPicker.
Fixes the checked state not updating on click in uncontrolled mode.
Fixes button style border radius and adjacent border display in vertical layout.
Multiple components no longer render empty wrapper DOM nodes when ReactNode content is an empty string.
Multiple components no longer render empty wrapper DOM nodes when ReactNode content is false.
Fixes Result and Popconfirm icon colors being overridden by global icon reset styles.
Fixes the selected option active state background color not following the theme color.
Fixes surrounding text being selected while dragging the handle in Safari.
Improves split bar semantic attributes for accessibility.
Fixes build failures in Vite, Yarn PnP, Node 25, and other strict ESM environments caused by deep path imports of rc-component packages.
Fixes incorrect semantic DOM structure in virtual mode.
The filter dropdown wrapper container is marked as presentational to improve accessibility.
Fixes the more dropdown animation direction when popup placement flips upward.
Improves semantic attributes for accessibility.
Fixes the arrow shadow being darker than the container in Tooltip and Popover.
Improves previous button text color readability on hover in primary type.
Transfer now forwards root HTML attributes, addressing an accessibility issue.
Fixes defaultExpandParent not working.
Fixes the progress bar becoming abnormally thick when progress is not configured.
Transfer updates filteredItems when filterOption or direction changes.
The placeholder is no longer empty when the locale defines only singular *Placeholder fields.
Fixes search input font size and line-height rendering in Safari.
Fixes strict ESM build errors caused by deep @rc-component/util runtime imports in Form, Input, Button, and other components.
Result no longer renders an empty title element when the title prop is not provided.
Fixes build errors affecting message and notification in strict ESM toolchains caused by a deep rc notification runtime import.
Fixes the beam animation breaking at rounded corners.
Reverts the exports field to fix antd TypeScript type resolution failure under moduleResolution: "bundler".
Fixes vertical centering of icon glyphs in icon-only buttons.
Fixes redundant Form.Item native input size and width/height overlay settings.
Fixes CSS variable prefixes so they follow prefixCls.
Improves accessibility for DatePicker and TimePicker.
Adds the missing forwardRef for React 18 compatibility.
Fixes heading font size design tokens so they support string values.
Fixes non-text labelRender content remaining visible while searching in Select and TreeSelect.
Fixes popup z-index.
Fixes layout of Menu item extra when an icon is present.
Fixes Menu item extra ellipsis and tooltip padding.
Fixes close button spacing when there is no title.
Fixes error status colors to match Input across outlined and filled variants.
Fixes active option styling taking priority over selected styling.
Selected value font family now follows the antd token.
Fixes the Select option so it works for content gap.
Fixes unexpected 1px horizontal padding.
Fixes scrolling to the top when a context menu closes and the tree regains focus.
Fixes Watermark not covering Table fixed columns by default.
Fixes Wave ignoring transparent hex colors.
Fixes focus styles for the close button.
No longer renders an empty body wrapper when no content is provided.
Prevents Tooltip semantic configs such as className and styles from leaking into Popover and Popconfirm.
Fixes ConfigProvider language packs exports from ESM/CJS distribution files.
Fixes the masked value becoming visible when selected on Windows.
Improves accessibility for the clear button.
Fixes the selection highlight radius.
Allows action buttons such as copy and edit to trigger when the link is disabled.
Long option labels now have corrected menu item ellipsis styles.
Shadow tokens now adapt to the dark theme.
Some expand animation crashes are fixed.
Keyboard-opened previews now lock focus, and closing a preview restores focus to its trigger element.
The disabled border now uses the colorBorderDisabled token.
Disabled step buttons no longer show hover styles.
Fixes the close button overlapping description content when no title is provided.
Disabled Radio no longer displays a hover color.
The default columnWidth now uses the selectionColumnWidth Design Token.
CJK content no longer wraps in compact layouts.
A disabled list item's remove button no longer changes color on hover.
Checkbox, switcher, and content alignment is corrected when parent nodes have multiple lines of content.
Icon is now centered in certain scenarios.
Image preview action buttons now reset native button styles.
TimePicker columns can now be scrolled directly on touch devices.
Component config typings now expose semantic classNames and styles for supported components.
Fixes sibling field values being lost when using onValuesChange.
Passes fetchPriority through to the img element.
Fixes collapsed icons appearing misaligned when customizing collapsedIconSize.
Applies the custom hover color from ConfigProvider to the Menu SubMenu parent item.
Prevents a controlled popover in a column title from being rendered twice when scrolling is enabled.
Fixes search failing when the render prop returns JSX elements.
Adds the switcher-line-icon className to custom switcherIcon when showLine is enabled.
Adds the missing screenXXXLMin token so antd.css is generated correctly.
Fixes TypeScript errors when onRemove is omitted.
App link
:focus-visibleoutline is improved to enhance keyboard accessibility.Image preview mask blur transition is improved to reduce flicker perception.
Fixes the required mark using a hardcoded
SimSunfont.Fixes the
xxxlbreakpoint mapping issue for media sizes.Image no longer shows a move cursor when
movable={false}.Fixes scrolling to the top when clicking a node.
Fixes checkbox widths when option text has different lengths or wraps.
Fixes global componentSize settings not taking effect for Skeleton.Avatar, Skeleton.Button, Skeleton.Input, Rate, and Spin.
Fixes ConfigProvider csp configuration not taking effect on all dynamic styles.
Fixes validation failures caused by timing issues when dynamic rules and dependencies are used together.
Fixes the height of the borderless variant when used alongside Input or Select.
Fixes the onCancel argument type definition to support KeyboardEvent.
Fixes radio button widths when option text has different lengths or wraps.
Fixes setting visibility: hidden through the style property.
Fixes text jumping in Firefox.
Fixes incorrect size calculations for panels when some panels are in controlled mode.
Fixes line alignment in Tree and TreeSelect when customizing titleHeight.
Removes the invalid blank area shown in picture-card mode when data is empty.
Always shows the item action area on non-hover or coarse-pointer devices.
Disabled options in Select now receive the aria-disabled attribute.
Fixes flickering in some browsers when opening preview.
Fixes height inconsistency with Select when using the borderless variant.
Fixes layout whitespace in the confirm method when icon is empty.
Fixes animation overflow when status is active.
Fixes incorrect dropdown height when value is an empty string.
Fixes value echo when value is an empty string.
Fixes selected value text remaining visible while searching.
Fixes the Checkbox being compressed when multi-line text is present.
Fixes ellipsis tooltip behavior when hovering the copy button and when moving back from it.
Fixes picture-wall list overflow and overlap when the file count exceeds one row.
antd 527 changes
Breaking changes 10
The antd/lib package output was removed.
The basic border radius changed to 6px, and gradient radius is supported.
Styles were adjusted across components, including transition duration, padding, borders, focus styles, hover styles, and component-specific appearance.
The built-in date library changed from Moment.js to Day.js.
The dist/antd.css file was removed.
Internet Explorer is no longer supported.
Less and CSS files were removed from the package as component styles were refactored to CSS-in-JS.
The package.json main entry now points to dist/antd.js.
The primary color changed to #1677ff.
Slider props related to Tooltip were unified into the tooltip prop.
Deprecations 3
dropdownClassName was deprecated in AutoComplete, Mentions, Cascader, Select, TreeSelect, DatePicker, and TimePicker; use popupClassName instead.
Table's filterDropdownVisible was deprecated and replaced by filterDropdownOpen.
The visible prop was deprecated in Tag, Drawer, Modal, Dropdown, Tooltip, Popover, and Popconfirm; use open instead.
New APIs and options 12
ConfigProvider gained a theme prop for modifying theme configuration, including algorithm pipelines, wireframe switching, and per-component Design Token overrides.
DatePicker gained presets to support preset ranges for quick selection.
A reset stylesheet was added to override common styles.
A new FloatButton component was added, and BackTop was refactored as its child component.
The package gained a locale directory containing CommonJS locale files.
Steps gained an inline type.
An exported theme object provides hooks and algorithms related to theming.
A compact theme algorithm was added.
A dark theme algorithm was added.
A default theme algorithm was added.
The hook retrieves Design Tokens from context.
A Tour component was added.
Behavior and default changes 2
The circle type supports responsive format text for small sizes.
The hook was refactored to support React 18 concurrent mode and is preferred over static Notification functions.
antd 414 changes
Breaking changes 2
Breadcrumb now uses path as the default key to avoid conflicts when name is used as a key.
Removed the legacy cell className used for custom cell styling.
New APIs and options 7
Added a custom default font color for Calendar display content.
Added a Less variable for theme customization.
Added a Less variable for theme customization.
Added a Less variable for theme customization.
Added a Less variable for theme customization.
Added a Less variable for theme customization.
Timeline.Item now supports the label property.
Fixes and other changes 5
Fixed component background styles in pop-up components under the dark theme.
strokeColor now ignores an incorrect percent.
Fixed trailColor not working when type is line.
Fixed a style rendering bug in IE11.
Fixed the filter menu max-height style when it has many items.