Skip to content
CAI
Software that uses CAICheck a score

ant-design/ant-design

58.6

Adequate · 14 November 2026

159.9k

lines of production code

TypeScript

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add AI-powered theme generator to the site theme switcher

The ThemeSwitch component now includes a new 'Market' option that opens a PromptDrawer, allowing users to describe a desired style (e.g., 'warm sunny', 'cyberpunk') via an AI chat interface. The site calls the Ant Design X agent API to generate a custom theme configuration based on the prompt, which is then applied to the site. The drawer also provides recommended theme prompts, a 'Copy Theme Code' button to export the generated configuration, and a 'Reset to Default' option. This feature is supported by new hooks (usePromptTheme, usePromptRecommend) and components (PromptDrawer, ThemeIcon) within the ThemeSwitch directory.

.dumi/theme/common/ThemeSwitch · high confidence

Add Affix component demos

Added demo files for the Affix component, including basic usage with offset top and bottom, a debug view for testing scroll behavior, an onChange callback example, and a target demo showing how to fix an element relative to a specific container instead of the window.

components/affix/demo, components/layout/demo, components/masonry/demo · high confidence

Add Alert design documentation and demo pages

This change introduces new design documentation and interactive demos for the Alert component within the \components/alert/design\ directory. It adds a \BehaviorPattern\ page that outlines user workflows for understanding and acting on alerts, alongside specific demo files (\action\, \content\, \type\) that showcase various Alert configurations, including different message types (success, info, warning, error), closable alerts, expand/collapse behaviors for long messages, and action button placements.

components/alert/design · high confidence

Add App component demos for instance access and configuration

New demo files (basic and config) have been added to the App component documentation. The basic demo illustrates how to access message, modal, and notification instances via App.useApp(), while the config demo shows how to set default options like maxCount for messages and placement for notifications directly on the App provider.

components/app/demo · high confidence

Add Badge builtin component for documentation

A new Badge component is introduced in the dumi theme, rendering as an Ant Design Tag with a 'filled' variant. It supports four semantic types (info, warning, error, success) that map to specific colors (blue, orange, red, green), allowing documentation authors to display styled status indicators.

.dumi/theme/builtins/Badge · high confidence

Add Behavior Map component to site documentation

The site now includes a new Behavior Map component that renders interactive behavior pattern diagrams using Mermaid. This component dynamically generates flowcharts from provided data structures, supports localization for both Chinese and English, and features a lazy-loaded implementation with a skeleton loading state to improve perceived performance. The visualization distinguishes between MVP and extension behaviors using color-coded indicators and allows users to navigate via clickable nodes.

.dumi/theme/common/BehaviorMap · high confidence

Add Bezier curve visualizer component for documentation

A new BezierVisualizer component has been added to the site theme, allowing users to visually inspect cubic-bezier timing functions directly in the documentation. The component parses CSS cubic-bezier values, renders an SVG visualization of the curve with control points and grid, and provides a link to open the curve in cubic-bezier.com for further exploration.

.dumi/theme/common/BezierVisualizer · high confidence

Add BorderBeam component styles

Introduces the styling for the new BorderBeam component, which renders an animated gradient beam that travels along the border of its container. The implementation uses CSS offset-path animations for the beam movement and mask-composite properties to ensure the beam respects the container's border-radius. It includes support for reduced-motion preferences by hiding the animation when the user prefers reduced motion, and exposes CSS variables for configuring the beam's size, duration, and gradient.

components/border-beam/style · high confidence

Add BorderBeam component with internal hooks for size and DOM management

Introduces the new BorderBeam component, which includes two internal hooks: useBorderSize, which tracks the computed border width of a DOM node, and useChildDom, which merges child refs to resolve the underlying DOM element. This adds a new visual component to the library.

components/border-beam/hooks · high confidence

Add BorderBeam decorative component

Introduces the BorderBeam component, which renders a moving, decorative beam along a container's border. Users can wrap content in BorderBeam to add visual emphasis for elements like login panels or CTAs without introducing business state semantics. The component supports configuring the beam's color (including gradients), count, duration, line width, size, and outset distance. It respects the \prefers-reduced-motion\ accessibility setting by hiding the effect when enabled.

components/border-beam · high confidence

Add Bun package manager support to documentation installation instructions

The InstallDependencies theme component now includes a dedicated tab for the Bun runtime, allowing users to view and copy installation commands specific to Bun alongside the existing npm, Yarn, and pnpm options. This change introduces new icon components for Bun (as well as npm, pnpm, and Yarn) and updates the underlying UI to use the \clsx\ library for class management and \createStaticStyles\ for styling, replacing previous dependencies and styling methods.

.dumi/theme/builtins/InstallDependencies · high confidence

Add Container component for styled alert blocks

A new built-in Container component has been added to the documentation theme. It wraps Ant Design's Alert component to display info, warning, success, or error messages with consistent styling. The component automatically applies a 'markdown' class to its description content, ensuring that nested Markdown content renders correctly within the alert box.

.dumi/theme/builtins/Container · high confidence

Add DatePicker design behavior pattern documentation

A new \BehaviorPattern\ component has been added to the DatePicker design documentation, providing a structured, localized overview of supported date selection behaviors. It categorizes options into selecting specific time points (day, week, month, quarter, year, time), selecting ranges (day, week, month, quarter, year, time), quick selection presets, and viewing extra date information, with links to corresponding demo pages for both English and Chinese locales.

components/date-picker/design · high confidence

Add Flex component demo pages

Added demo pages for the new Flex component, including examples for basic usage, alignment, gap sizing, and wrapping.

components/flex/demo · high confidence

Add InlinePopover component for previewing attributes

A new InlinePopover component has been added to the documentation theme. It renders a small icon that, when clicked, opens an Ant Design Image preview modal for a specified URL, allowing users to quickly view attribute previews directly within the documentation site.

.dumi/theme/builtins/InlinePopover · high confidence

Add JSON Editor component for theme customization

A new React wrapper component for the vanilla-jsoneditor library has been added to the theme's common utilities. This component initializes a JSON editor in text mode within the theme editor, allowing users to edit JSON content directly. It handles the lifecycle of the editor instance, ensuring proper cleanup when the component unmounts, and updates the editor's props when they change.

.dumi/theme/common/JSONEditor · high confidence

Add Pagination design documentation and demos

Added a new \components/pagination/design\ directory containing a \BehaviorPattern\ component that outlines pagination navigation behaviors (such as jumping to specific pages, adjusting items per page, quick jumping, and viewing total data) and a set of demo files (\basic\, \large-amount\, \mini\, \page-size\, \quick-jump\, \simple\, \total\) that showcase various \Pagination\ component configurations, including size variations and locale-aware total text display.

components/pagination/design · high confidence

Add Progress component design documentation and demos

This change adds a new design documentation section for the Progress component, including a behavior pattern page and multiple demo files (circle, content, info, progress, status) that showcase various usage scenarios such as circular progress, status indicators, and custom formatting. The documentation is localized for both English and Chinese.

components/progress/design · high confidence

Introduces a new \ResourceCards\ component that renders a responsive grid of resource links. Each card displays a cover image, title, and description, with a badge indicating whether the resource is 'Official' or 'Third Party' (the latter includes a tooltip warning). The component uses CSS tokens for styling, ensures external links open in new tabs with \noopener noreferrer\, and prevents image dragging.

.dumi/theme/builtins/ResourceCards · high confidence

Add TokenCompare component for visualizing design token color differences

A new TokenCompare component has been added to the documentation theme to help users visually compare design token values between light and dark modes. This component renders a table-like layout showing token names alongside their corresponding color representations in both themes, utilizing FastColor for color conversion and antd-style for static styling.

.dumi/theme/builtins/TokenCompare · high confidence

Add custom 404 page with specific redirects and monitoring

A new 404 page has been added to the site. It now automatically redirects specific legacy documentation paths (such as 'docs/spec/download' and 'docs/spec/work-with-us') to 'docs/resources'. Additionally, the page reports these not-found errors to the 'yuyanMonitor' service for tracking purposes.

.dumi/pages/404 · high confidence

Add gradient color support to ColorPicker

The ColorPicker now supports selecting gradient colors. This is implemented by introducing a new \GradientColorBar\ component that renders a slider for managing multiple color stops, and updating the main \PanelPicker\ to handle gradient modes, allowing users to add, drag, and delete gradient points.

components/color-picker/components/PanelPicker · high confidence

Add sidebar layout with support for hiding via URL parameter

The SidebarLayout component has been introduced to structure the site's main content area, integrating the sidebar and content slots. Users can now hide the sidebar navigation by appending ?layout=false to the URL, providing a cleaner view for specific pages or debugging.

.dumi/theme/layouts/SidebarLayout · high confidence

Added Chinese localization and theme color tool exports for documentation site

The documentation site now includes dedicated entry points for Chinese-language versions of the homepage and theme editor pages, enabling localized content delivery. Additionally, exports for color palette utilities (ColorPaletteTool, ColorPaletteToolDark, ColorPalettes, and Palette) have been added to the theme's built-in components, making these color management tools available for use within the documentation theme.

(repo-wide) · high confidence

Added LiveError component for displaying live demo errors

A new LiveError component has been introduced in the dumi theme slots to handle error states within live demos. When a live demo encounters an error, this component renders an Ant Design Alert banner displaying the error message, styled with the theme's error color to ensure visibility and consistency with the design system.

.dumi/theme/slots/LiveError · high confidence

Added agent discovery metadata and markdown homepage support

The functions directory now exposes OAuth authorization server and protected resource metadata endpoints at /.well-known/oauth-authorization-server.ts and /.well-known/oauth-protected-resource.ts, enabling agent discovery and authentication configuration. Additionally, a new middleware at \_middleware.ts serves a markdown-formatted homepage at the root path when the client accepts text/markdown, providing links to API catalogs, OpenAPI specs, documentation, and agent skills.

functions · high confidence

Adds public discovery metadata and agent-facing documentation endpoints

The site now exposes a suite of static discovery files under \public/.well-known/\ to help AI agents and crawlers locate and understand the documentation surface. This includes an Agent Card (\agent-card.json\) and an Agent Skills index (\agent-skills/index.json\) that define capabilities like component lookup, theme customization, and migration guides, alongside an MCP server card (\mcp/server-card.json\) exposing a \search-antd-docs\ tool. An OpenAPI spec (\openapi.json\) and an RFC 9727 API catalog (\api-catalog\) map out these public endpoints, while \\_headers\ configures the necessary Link headers for discovery. Additionally, \robots.txt\ has been updated to explicitly allow major AI crawlers (e.g., GPTBot, Claude-Web) and \versions.json\ provides a dynamic list of historical Ant Design version URLs.

public · high confidence

Adds site scripts for Microsoft Clarity analytics, China mirror notification, and AI tool integration

The site now includes three new client-side scripts in the \.dumi/scripts\ directory. Microsoft Clarity is integrated for behavioral analytics via \clarity.js\. A new \mirror-notify.js\ script detects users in China or on non-official mirrors and displays a notification prompting them to use the official Chinese mirror (\ant-design.antgroup.com\) with click tracking. Additionally, \webmcp.js\ registers a 'search-antd-docs' tool with the browser's Model Context Protocol, allowing AI agents to search Ant Design documentation.

.dumi/scripts · high confidence

Alert demo suite restructured with new variants and semantic customization

The Alert component documentation has been completely rewritten to showcase updated capabilities. New demos demonstrate the \variant\ prop (e.g., \filled\ to hide borders) and the \banner\ mode for top-of-page notifications. The \closable\ prop now accepts an object configuration, enabling \aria-label\ for accessibility and \afterClose\ callbacks for smooth unmounting. Customization is further detailed through \component-token\ (adjusting icon size/padding), \style-class\ (using semantic \styles\ and \classNames\ for granular control), and \custom-title-alignment\ (handling multi-line title layouts). The suite also includes an \ErrorBoundary\ demo for error handling and a \loop-banner\ example using external marquee libraries.

components/alert/demo · high confidence

AutoComplete demo suite updated with new variants, status, and semantic customization examples

The AutoComplete demo files have been refreshed to showcase the component's latest capabilities. New examples demonstrate the \variant\ prop (outlined, filled, borderless, underlined), \status\ prop (error, warning), and the \allowClear\ customization. The demos also illustrate semantic DOM customization via \classNames\ and \styles\, control mode usage, and specific layout patterns like 'Certain Category' and 'Uncertain Category'. Several debug-specific demos have been added to verify styling in disabled states, form contexts, and with custom inputs.

components/auto-complete/demo · high confidence

Calendar component locale support aligned with date-picker

The Calendar component now supports localization for a wide range of languages and regions by reusing the locale definitions from the date-picker component. This change adds or updates locale files for numerous regions (including Arabic, Azerbaijani, Bulgarian, Bengali, Belarusian, Catalan, Czech, Danish, German, Greek, English, Spanish, Estonian, Basque, Persian, Finnish, French, Galician, Irish, Hebrew, Hindi, Croatian, Hungarian, Indonesian, Icelandic, Italian, Japanese, Georgian, Kazakh, Khmer, Kurdish, Kannada, Korean, Lithuanian, Latvian, Macedonian, Malayalam, Mongolian, Marathi, Malay, Burmese, Norwegian, Dutch, Polish, Portuguese, Romanian, Russian, Sinhala, Slovak, Slovenian, Albanian, Serbian, Swedish, Tamil, Turkish, Ukrainian, Urdu, Uzbek, Vietnamese, and Chinese), ensuring consistent date formatting and labels across both components.

components/calendar/locale · high confidence

The Carousel demo files have been refreshed with new examples demonstrating the \arrows\ prop for switching controls, the \autoplay.dotDuration\ option to show dot progress, and the \dotPlacement\ prop supporting top, bottom, start, and end positions. Existing demos for basic usage, autoplay, fade effects, and component token customization have also been updated to reflect these capabilities.

components/carousel/demo · high confidence

Cascader demo suite rewritten in TypeScript with expanded feature coverage

The Cascader documentation demos in \components/cascader/demo\ have been completely rewritten as TypeScript files (\.tsx\) and updated to showcase the component's full API surface. This includes new or updated examples for \popupRender\ (custom dropdown), \optionRender\, \optionSelectedColor\ (component token), \classNames\/\styles\ (semantic styling), \variant\ (outlined, filled, borderless, underlined), \status\ (error, warning), \placement\, \expandIcon\, \suffixIcon\, \prefix\, \Cascader.Panel\ (including \disabled\ support), \changeOnSelect\, \showCheckedStrategy\, \multiple\ with \disableCheckbox\, \lazy\ loading, \showSearch\, \fieldNames\, and \custom-trigger\. The demos now use modern React patterns (hooks) and provide comprehensive coverage of the Cascader's customization capabilities.

components/cascader/demo · high confidence

Cascader hooks refactor and icon configuration support

The Cascader component's internal hooks have been refactored to support configurable icons and improved context integration. A new \useBase\ hook centralizes prefix class and direction logic via \ConfigContext\. The \useIcons\ hook introduces support for custom \expandIcon\ and \loadingIcon\ props, allowing users to override default icons (RightOutlined, LeftOutlined, LoadingOutlined) and respect RTL direction, with fallbacks to context-provided icons. A new \useCheckable\ hook manages checkbox rendering for multiple selection modes.

components/cascader/hooks · high confidence

ColorPicker component implementation

The ColorPicker component is now available, providing a comprehensive interface for selecting and editing colors. It supports both single-color and linear-gradient modes, allowing users to manage multiple color stops. The component includes a ColorInput section with steppers for HSB and RGB values, a hex input field, and an alpha slider. Preset colors are organized in a collapsible list, and the trigger displays the selected color with an optional text description. A clear button is provided to reset the color to transparent.

components/color-picker/components · high confidence

ColorPicker demo updates: new APIs and semantic styling

The ColorPicker demos have been expanded to showcase new capabilities including the \size\ prop for trigger dimensions, \showText\ (now supporting a function for custom text rendering), \panelRender\ for customizing the popup layout, and \mode\ for switching between single and gradient colors. The demos also demonstrate the \allowClear\ prop, \disabledAlpha\ to lock opacity, and the new \classNames\/\styles\ APIs that allow semantic customization of the component's internal structure (e.g., root, body, popup). A new \\_semantic.tsx\ demo illustrates how to use \SemanticPreview\ to visualize these semantic DOM nodes.

components/color-picker/demo · high confidence

ColorPicker style implementation

The ColorPicker component's visual presentation is now defined by a dedicated, token-driven style system located in \components/color-picker/style\. This change introduces modular style generators for the color block, input fields, picker palette, preset colors, and sliders, ensuring consistent theming and layout. Users benefit from a polished UI that respects design tokens for sizing, spacing, and shadows, including support for RTL layouts, status indicators (error/warning), and disabled states.

components/color-picker/style · high confidence

Divider demo updates: new variants, tokens, and semantic styling

The Divider demo files have been updated to showcase new capabilities: the \variant\ prop now supports \dashed\ and \dotted\ styles in addition to the default solid line; a \size\ prop allows adjusting spacing with \small\, \medium\, and \large\ options; and a \plain\ prop provides a lighter text style. The demos also illustrate \ConfigProvider\ theme tokens for customizing margins, line width, and colors, as well as granular styling via \classNames\ and \styles\ functions targeting semantic parts like \root\, \content\, and \rail\. Additionally, a new semantic preview demo explains the underlying DOM structure.

components/divider/demo · high confidence

The styling logic for the Dropdown component has been migrated to a new CSS-in-JS implementation using the theme token system. This change introduces configurable tokens for dropdown-specific properties such as \zIndexPopup\, \paddingBlock\, \dropdownArrowDistance\, and \dropdownEdgeChildPadding\, allowing for consistent theme customization. The new styles also include dedicated handling for vertical menu scrolling to prevent viewport overflow, refined arrow positioning and animation logic, and specific status styles for dangerous menu items.

components/dropdown/style · high confidence

Enhanced semantic customization for DatePicker and TimePicker

The DatePicker and TimePicker components now support more granular styling and class customization through a new \useMergedPickerSemantic\ hook. This change allows users to pass \classNames\ and \styles\ props that are merged with context-level configurations from \ConfigProvider\, specifically handling the popup root element's styling and class names. This enables better visual customization of the picker's internal structure without relying on global CSS overrides.

components/date-picker/hooks · high confidence

Expanded DatePicker locale support with new regional variants and format configurations

The DatePicker component now supports a significantly broader range of locales, including new additions such as Arabic (Egypt), Azerbaijani, Bulgarian, Bengali (Bangladesh), Belarusian, Catalan, Danish, Greek, Irish, Galician, Gujarati, Hebrew, Hindi, Croatian, Hungarian, Icelandic, Indonesian, Kannada, Khmer, Kurdish (Iraq), Malayalam, Macedonian, Marathi, Malay (Malaysia), Burmese, Norwegian (Bokmål), Dutch (Belgium), and Uzbek (Latin). Several existing locales have been enhanced with specific regional formatting, most notably German (Germany) which now includes custom \fieldDateFormat\ and \fieldDateTimeFormat\ settings, and Japanese and Korean which now provide short week day and month names. A new Spanish (US) locale variant has been added to support US date formatting conventions, and an example configuration file has been introduced to document the expected locale structure.

components/date-picker/locale · high confidence

Expanded locale coverage with new translations and component support

The locale system in components/locale has been significantly expanded with the addition of new language files (including Arabic Egypt, Azerbaijani, Bulgarian, Bengali, Belarusian, Catalan, Czech, Danish, German, Greek, British English, US English, and Spanish Spain) and updates to existing ones. These files provide comprehensive translations for core components such as Table, Tour, Modal, Popconfirm, Transfer, Upload, Empty, Icon, Text, Carousel, and Form. Notably, the Form locale now includes default validation messages, and the Text, Carousel, QRCode, and ColorPicker components have added localized strings for features like copy/collapse actions, slide navigation, and color presets, ensuring a more complete internationalized experience across the UI.

components/locale · high confidence

FloatButton demo updates: semantic structure, progress ring, and drag-and-drop

The FloatButton demo suite has been refreshed to showcase new capabilities and structural improvements. A new \progress-ring\ demo demonstrates the \showProgress\ feature on \FloatButton.BackTop\, allowing users to visualize scroll progress. A \draggable\ demo illustrates how to integrate third-party libraries like \@dnd-kit\ to make the button movable. The \style-class\ demo now highlights the support for semantic DOM customization via \classNames\ and \styles\ props, enabling granular control over root, content, and icon elements. Additionally, new \semantic\ and \semantic\_group\ demos provide visual documentation of the component's internal structure, while existing demos for badges, groups, and tooltips have been updated to reflect current API usage.

components/float-button/demo · high confidence

FloatButton gains semantic styling, BackTop progress ring, and nativeElement refs

The FloatButton component now supports granular customization of its internal structure via new \classNames\ and \styles\ props, allowing users to target semantic parts like the icon and content. The BackTop sub-component introduces a \showProgress\ prop that renders a visual scroll progress ring around the button edge. Additionally, both the main FloatButton and FloatButton.Group now expose a \nativeElement\ ref for direct DOM access, and the BackTop respects the user's \prefers-reduced-motion\ setting by disabling scroll animation when enabled.

components/float-button · high confidence

Form component rewritten with semantic styling and new internal structure

The Form component has been completely rewritten, introducing a new internal architecture that separates concerns into dedicated modules: ErrorList for validation messages, FormItemInput for field rendering, FormItemLabel for label and tooltip handling, and FormList for dynamic fields. This refactor enables granular customization via the new \classNames\ and \styles\ props on the Form component, allowing users to target specific semantic DOM elements (like \root\, \label\, \help\, \extra\) directly. The change also updates the Form.List API to expose \errors\ and \warnings\ in the meta object, and introduces a new \ErrorList\ component accessible via \Form.ErrorList\ for custom error rendering.

components/form · high confidence

Grid component demos migrated to TypeScript and CSS-in-JS

The Grid component documentation has been updated with a comprehensive set of new and rewritten demos (basic, flex, gutter, responsive, etc.) implemented in TypeScript (.tsx). These demos now utilize the \createStyles\ API from \antd-style\ for styling instead of external CSS files, and demonstrate updated component features such as responsive gutter arrays, string-based gutter values, and the \useBreakpoint\ hook.

components/grid/demo · high confidence

Image component demo suite rewritten with semantic styling and modern APIs

The Image component demos have been completely rewritten to demonstrate the latest customization and interaction capabilities. The suite now includes a semantic demo (\\_semantic.tsx\) that visualizes the component's internal DOM structure and supports customization via \classNames\ and \styles\ props, including the new \popup.close\ semantic node. New examples showcase \placeholder\ progress indicators (including a custom generating progress demo), \coverPlacement\ for positioning preview masks, and \previewSrc\ for displaying high-resolution images in the viewer. The demos also illustrate controlled preview states, nested modal usage, and advanced toolbar customization via \actionsRender\, which now exposes transformation actions like \onFlipX\, \onFlipY\, and \onReset\. Additionally, the demos have been updated to use \createStaticStyles\ and \clsx\ instead of the legacy \createStyles\ and \classnames\ packages.

components/image/demo · high confidence

Image component introduces semantic styling and progressive loading

The Image component now supports granular customization of its internal structure via \classNames\ and \styles\ props, allowing users to target specific semantic parts like the root, image, cover, and preview popup. Additionally, a new \placeholder\ prop enables progressive loading indicators, including a built-in animated progress bar (configurable via \percent\ and custom \render\ functions) to display while images load. The PreviewGroup component also adopts these semantic styling capabilities for consistent customization across the image preview experience.

components/image · high confidence

Input demo suite restructured with semantic previews and variant debugging

The Input component documentation has been reorganized into a comprehensive set of new demo files covering all subcomponents (Input, Input.Password, Input.Search, Input.TextArea, Input.OTP) and features. A key addition is the introduction of semantic preview demos (e.g., \_semantic\_input.tsx) that visualize the internal DOM structure and allow customization via \classNames\ and \styles\ functions. The demos now explicitly showcase the new \variant\ prop (outlined, filled, borderless, underlined) and include dedicated debug pages for borderless, filled, and search variants to illustrate configuration via ConfigProvider and component props. Additional demos cover advanced features like custom character counting strategies (using \runes2\), focus cursor control, and compact mode with Space.Compact.

components/input/demo · high confidence

InputNumber demo suite restructured with new variants and features

The InputNumber demo files have been completely rewritten and expanded to showcase the component's latest capabilities. New demos demonstrate the \variant\ prop (outlined, filled, borderless, underlined), \stringMode\ for high-precision decimals, \changeOnWheel\ interaction, custom \formatter\/\parser\, keyboard control toggling, and \status\ feedback. The suite also includes examples for \addonBefore\/\addonAfter\ with complex components, prefix/suffix usage, semantic DOM customization via \styles\/\classNames\, and specific debug scenarios for disabled hover states, borderless height alignment, and form feedback with suffixes.

components/input-number/demo · high confidence

Integrate centralized TypeScript typings for CSS variables, module declarations, and Jest matchers

The typings directory now provides a unified entry point (index.d.ts) that aggregates custom type definitions. This includes support for CSS custom properties in React styles (cssType.d.ts), declarations for various module imports like SVGs, JSON, Markdown, and raw assets (custom-typings.d.ts), and extended Jest matchers for accessibility and style assertions (jest.d.ts).

typings · high confidence

Introduce App component for global message, notification, and modal hooks

The new \App\ component wraps your application to provide a React context that exposes \message\, \notification\, and \modal\ hooks via \App.useApp()\. This allows you to call static methods like \message.success()\ or \modal.warning()\ from any nested component without manually managing \contextHolder\ elements. The component also supports global configuration for message and notification options, handles CSS variable class names for styling, and includes development warnings to prevent misuse when \component\ is set to \false\.

components/app · high confidence

Introduce CheckableTagGroup and semantic styling for Tag

The Tag component now includes a new CheckableTagGroup component, which allows users to manage a group of checkable tags with single or multiple selection modes, supporting options with individual className and style customization. Additionally, both Tag and CheckableTagGroup now support semantic classNames and styles via the classNames and styles props, enabling granular customization of internal semantic structures (e.g., root, icon, content, close) through object or function-based configurations. This change also introduces support for the icon prop in CheckableTag and enhances accessibility with proper ARIA attributes.

components/tag · high confidence

Introduce ColorPicker component with gradient support and semantic styling

The ColorPicker component is now available for color selection, supporting both single and linear gradient modes. It features a customizable trigger with configurable size, format options (hex, rgb, hsb), and preset color groups. The component integrates with the ConfigProvider for global theming and supports semantic customization via classNames and styles props, allowing detailed control over internal structures. Additional capabilities include alpha channel handling, clear functionality, and panel rendering customization.

components/color-picker · high confidence

Introduce DirectoryTree component and semantic styling for Tree

The Tree component now includes a new DirectoryTree variant that provides file-system-like interaction, automatically assigning folder/file icons, enforcing single selection, and supporting shift-click range selection and configurable expand actions (click or double-click). Additionally, Tree and DirectoryTree now support semantic customization via \classNames\ and \styles\ props, allowing users to target specific internal structures like \root\, \item\, \itemIcon\, \itemTitle\, and \itemSwitcher\ with either static objects or dynamic functions.

components/tree · high confidence

Introduce Empty component with semantic styling and design token support

The Empty component is now available to display placeholder content when no data is present. It supports two built-in images (default and simple) and allows customization via the \image\, \description\, and \children\ props. The component integrates with the design system by using CSS variables for colors (derived from tokens like \colorFill\, \colorBgContainer\) to ensure proper dark mode support, and exposes \classNames\ and \styles\ props for granular control over semantic DOM structures (root, image, description, footer). It also supports global configuration via ConfigProvider for default images and styles.

components/empty · high confidence

Introduce Flex component with CSS-in-JS styling

The Flex component is now available, providing a layout utility that supports vertical direction, right-to-left (RTL) mode, and automatic hiding of empty elements. It includes built-in support for gap sizing (small, medium, large), flex wrapping, alignment, and justification via CSS classes. The styling is generated using the internal theme system, mapping padding tokens to gap values, and explicitly disables default font style resets to prevent unwanted typography inheritance.

components/flex/style · high confidence

Introduce Flex layout component

A new Flex component is added to the Layout group, providing a container for block-level elements with flexible horizontal and vertical alignment, spacing (gap), and wrapping capabilities. It supports properties such as \vertical\, \wrap\, \justify\, \align\, \flex\, \gap\, \component\, and \orientation\, and integrates with the ConfigProvider for global configuration and design tokens. This component serves as a more flexible alternative to the Space component for block-level layouts, available since antd 5.10.0.

components/flex, components/masonry · high confidence

Introduce Input.OTP component with masking, separators, and semantic customization

The Input.OTP component is now available, allowing users to create one-time password input fields with configurable length, separators, and masking (including custom mask characters). It supports semantic class names and styles for granular UI customization, integrates with the ConfigProvider for variant and size settings, and handles focus management, keyboard navigation, and input validation internally.

components/input/OTP · high confidence

Introduce Listy virtual list component

Adds the Listy component (antd@6.6.0), a high-performance list that supports grouping with sticky headers and virtual scrolling for long datasets. It exposes a ref with a scrollTo method for imperative scroll control, allows customizing semantic DOM styles via classNames and styles, and integrates with ConfigProvider for global configuration and RTL direction support. This diff provides the component implementation, demo pages (basic, virtual, group, rich, drag-sorting, infinite, scroll-to, style-class), and comprehensive test coverage including semantic, token, and RTL tests. Also in this area: Fixes for List, Listy, Modal, Pagination, Progress, and Tooltip components.

components/listy/style · high confidence

Introduce Splitter component for resizable panel layouts

Adds the new Splitter component, enabling users to create resizable horizontal or vertical layouts with draggable dividers. The component supports multiple panels with configurable min/max sizes, collapsible panels with optional motion animations, and a lazy mode to defer rendering of panel content until needed. It includes accessibility improvements such as correct ARIA value ranges and keyboard support for collapsing, along with semantic customization via classNames and styles, and integrates with the global Config Provider for consistent theming.

components/splitter · high confidence

Introduce Splitter component with resizable and collapsible panels

Adds a new Splitter component located in components/splitter/hooks that allows users to divide content into resizable and collapsible panels. The implementation includes hooks for managing panel sizes (converting between pixel and percentage values, handling min/max limits, and auto-filling undefined sizes), handling user drag interactions with boundary constraints, and managing collapse/expand states with history recovery. It also supports RTL layouts and includes a showCollapsibleIcon API to control the visibility of collapse icons.

components/splitter/hooks · high confidence

Adds the Watermark component, allowing users to overlay specific text or image patterns onto a page area to identify copyright or prevent information theft. The component supports configuring text content, font styles (color, size, weight, family, alignment), image sources, rotation, spacing, and offset. It automatically handles nesting within popups like Modals and Drawers via the \inherit\ prop, ensures watermarks remain visible even if container styles are manipulated by adding \overflow: hidden\, and provides an \onRemove\ callback when the watermark is detached from the DOM.

components/watermark · high confidence

Introduce localized ContentTabs component for documentation site

The documentation site now uses a new \ContentTabs\ component that renders tabbed navigation for content sections, specifically supporting a 'Design' tab alongside the default 'Development' tab. This component integrates with the site's localization system to display tab labels in both English and Chinese, and utilizes Ant Design's Tabs component to manage the active state and switching behavior based on route metadata.

.dumi/theme/slots/ContentTabs · high confidence

Introduce useModal hook for programmatic modal management

This change adds the \useModal\ hook and its supporting \HookModal\ component, enabling users to trigger confirmation dialogs (info, success, error, warning, confirm) programmatically via React hooks rather than static class methods. The hook returns an API object with methods that return promise-based instances, allowing for \await\-style handling of user actions, along with \destroy\ and \update\ capabilities for managing the lifecycle and configuration of these dynamically rendered modals.

components/modal/useModal · high confidence

Introduction of seed tokens and color map types for theme generation

The theme system now exposes foundational seed tokens and type definitions to support dynamic color generation. A new \ColorMap\ interface and associated generator types (\GenerateColorMap\, \GenerateNeutralColorMap\) define the structure for color scales. Additionally, \seed.ts\ introduces a \SeedToken\ object containing default preset colors (such as blue, purple, red) and base design tokens for typography, motion, radius, and focus outlines, establishing the primitive values used to derive the final theme.

components/theme/themes · high confidence

List component demos updated to v5 design and modern patterns

The List component documentation has been completely refreshed with new demo files that showcase v5-specific features and modern React patterns. Key additions include a grid layout demo, responsive grid examples, and drag-and-drop sorting integrations using dnd-kit (both standard and handler-based). The demos now utilize React hooks instead of class components, leverage the new ConfigProvider theme tokens for customization, and use the updated DiceBear avatar API. Existing patterns like infinite loading and pagination are also present with updated implementations.

components/list/demo · high confidence

The new LocaleLink component automatically adjusts navigation paths based on the current site locale. When the locale is set to Chinese ('cn'), it appends a '-cn' suffix to the path; when set to English ('en'), it removes the suffix. This ensures that internal links within the documentation site correctly resolve to the appropriate language version without requiring manual updates to the link targets.

.dumi/theme/builtins/LocaleLink · high confidence

Masonry component styling and animation hooks

The Masonry component now includes dedicated style definitions that establish its layout structure and item animations. Users will see items fade in and out with opacity transitions, while non-faded items animate their position (left, right, top) using the theme's motion duration settings. The component also supports right-to-left (RTL) directionality.

components/masonry/style · high confidence

Mentions demo suite updated for v6 features

The Mentions component demos have been refreshed to showcase new v6 capabilities, including the \allowClear\ option for customizing the clear button, \autoSize\ for adaptive height, and \status\ for error/warning states. The suite now demonstrates the new \variant\ prop (outlined, filled, borderless, underlined) and \size\ configuration, as well as advanced customization via \popupRender\ and semantic \styles\/\classNames\ functions. Additional demos cover \prefix\ customization for multiple trigger tokens, \placement\ adjustments, and integration with Form validation.

components/mentions/demo · high confidence

The Menu demo files have been completely rewritten to use the modern \items\ prop instead of legacy JSX children, and now include new examples for \popupRender\ (customizing submenu popups), semantic DOM styling via \classNames\/\styles\, component token debugging, and collapsed icon/extra rendering. This provides updated, comprehensive usage patterns for the Menu component's current capabilities.

components/menu/demo · high confidence

New Audio component for site documentation

A new \Audio\ builtin component has been added to the site theme, allowing documentation pages to embed audio controls. It renders a clickable link with a sound icon that triggers playback of an HTML audio element identified by a specific ID, using static styles for consistent alignment and hover effects.

.dumi/theme/builtins/Audio · high confidence

New Avatar demo examples added

Added a comprehensive set of new demo files for the Avatar component, including badge integration, basic sizing and shapes, component token customization, dynamic text sizing with gap control, image fallback strategies, group layouts with max-count and overflow handling, responsive sizing, and type variations (image, icon, text).

components/avatar/demo · high confidence

New ColorChunk theme component for displaying color values

A new \ColorChunk\ component has been added to the dumi theme builtins. It renders a small colored dot alongside a color value (hex string or children), using Ant Design design tokens for styling (such as background colors and border radius). When the \enablePopover\ prop is true, hovering over the chunk displays a popover with a larger preview of the color, including a correctly colored arrow.

.dumi/theme/builtins/ColorChunk · high confidence

New ComponentMeta theme component for documentation metadata

The documentation site now uses a new \ComponentMeta\ component (\.dumi/theme/builtins/ComponentMeta/index.tsx\) to render metadata sections for component pages. This component displays import instructions with a copy-to-clipboard feature, links to source code, changelogs, design guidelines, and issue counts, and supports localization for Chinese and English. It integrates with existing hooks like \useIssueCount\ and \useLocale\, and uses Ant Design's theme system for styling.

.dumi/theme/builtins/ComponentMeta · high confidence

New ComponentTokenTable builtin for documentation

A new \ComponentTokenTable\ builtin component has been added to the \.dumi/theme/builtins\ directory. This component renders a table of design tokens (both global and component-specific) for the documentation site, allowing users to view token names, descriptions, types, and default values. It includes interactive features such as collapsible sections, a help popover with code examples for token customization, and support for multiple languages (English and Chinese). The component uses \antd-style\ for styling and \prismjs\ for syntax highlighting of the generated configuration code.

.dumi/theme/builtins/ComponentTokenTable · high confidence

New ConfigProvider demos for RTL, localization, theming, and component configuration

Added a comprehensive set of new demo pages for the ConfigProvider component, covering right-to-left (RTL) direction toggling, internationalization (locale) switching, theme customization (primary color, border radius, component-specific tokens), and configuration of component size, prefix classes, and warning strategies. The demos also demonstrate the new \useConfig\ hook for accessing provider context, the \holderRender\ API for wrapping static method providers (message, modal, notification), and customizable wave effects for interactive elements.

components/config-provider/demo · high confidence

New DatePicker and RangePicker demos and semantic documentation

The date-picker demo section has been completely refreshed with a new set of documentation examples. This includes a new \\_semantic.tsx\ helper that visualizes and documents the semantic DOM structure (root, prefix, input, suffix, popup, etc.) for both single and multiple picker modes. The existing demos have been rewritten to use modern patterns, such as replacing class components with hooks, using \dayjs\ instead of Moment.js, and demonstrating new features like \allowEmpty\, \cellRender\, \components\ for custom panels, \minDate\/\maxDate\ ranges, \status\ indicators, \variant\ styles (filled), \placement\, \mask\ formatting, and external panel integration. Debug demos for tokens, multiple selection, and suffix icons have also been added or updated.

components/date-picker/demo · high confidence

New DatePicker design demos for various pickers and scenarios

Added a comprehensive set of demo components for the DatePicker design system, covering date, month, quarter, week, year, and time pickers in both single and range modes. The collection includes specific examples for preset ranges (e.g., Last 7 Days) and preset times (e.g., Yesterday), as well as a detailed 'date-extra-info' demo that showcases custom cell rendering for highlighting weekends, displaying sales data, and visualizing data fluctuations using the internal panel components.

components/date-picker/design/demo · high confidence

New DemoWrapper component with debug visibility and suspense handling

The site now uses a new DemoWrapper component to render demo grids. This component introduces controls to toggle the visibility of debug demos and to expand or collapse all code blocks. It also wraps individual demos in a React Suspense boundary with a fallback, improving the loading experience for demo content.

.dumi/theme/builtins/DemoWrapper · high confidence

New Empty component demos for customization and semantic styling

Added demo files for the Empty component, including basic usage, simple image style, description hiding, ConfigProvider integration, and semantic DOM styling. The new \style-class.tsx\ and \\_semantic.tsx\ demos demonstrate how to customize Empty's appearance using \styles\ and \classNames\ props, supporting both object and function-based styling for semantic elements like root, image, description, and footer.

components/empty/demo · high confidence

New FlexWithImagePreview theme component for documentation layouts

A new \FlexWithImagePreview\ component has been added to the dumi theme to improve the visual presentation of documentation pages. This component combines a Flexbox layout with an image preview, allowing users to display a title and description alongside an image. It supports conditional rendering of the title and description, and uses Ant Design's styling system for consistent theming. The component is designed to enhance the readability and structure of documentation content that includes images.

.dumi/theme/builtins/FlexWithImagePreview · high confidence

New Masonry layout component with internal positioning hooks

This change introduces the new Masonry component, providing a multi-column layout that automatically arranges items based on their heights. The implementation includes three new internal hooks located in \components/masonry/hooks\: \useDelay\ for debouncing layout updates using requestAnimationFrame, \usePositions\ for calculating stable column and vertical positions for each item, and \useRefs\ for managing DOM element references. This enables users to display content in a masonry-style grid that adapts to varying item sizes.

components/masonry/hooks · high confidence

New Message demos for hooks, theming, and semantic customization

The message component documentation now includes a comprehensive set of new demo files that illustrate modern usage patterns. These demos demonstrate the recommended \message.useMessage\ hook API with \contextHolder\ (replacing static methods), support for custom display durations, and a new loading message type. Theming capabilities are showcased via \component-token\ and \style-class\ demos, allowing users to customize Message styles through ConfigProvider tokens or direct \styles\/\classNames\ props. Additional demos cover semantic DOM structure inspection, message stacking with configurable thresholds, updating message content via unique keys, promise-like \then\ interfaces for sequential messages, and static method usage with warnings about context limitations.

components/message/demo · high confidence

New ProComponents section in the Component Overview page

The Component Overview page now includes a dedicated section for ProComponents (such as ProLayout, ProForm, and ProTable). This new area displays these advanced components alongside the standard Ant Design components, providing users with a unified view of the entire ecosystem. The implementation introduces a new data structure for these items and integrates them into the existing overview layout, ensuring they are discoverable via the page's search functionality.

.dumi/theme/builtins/ComponentOverview · high confidence

New Resource Articles page component

Added a new theme component that displays a categorized list of design and development articles, organized by year and language. The component fetches site configuration data, handles loading and error states with visual feedback, and renders article links with author avatars using Ant Design components.

.dumi/theme/builtins/ResourceArticles · high confidence

New Resource page layout with sticky navigation tabs

The site now features a dedicated Resource layout that includes a sticky, auto-scrolling tab bar (AffixTabs) for quick navigation between resource sections. This layout uses CSS logical properties and antd-style for theming, supports dark mode via the DarkContext, and applies a consistent max-width and padding structure to the content area.

.dumi/theme/layouts/ResourceLayout · high confidence

New Result component demos and customization examples

Added a comprehensive set of demo files for the Result component, covering standard status scenarios (success, error, info, warning, 403, 404, 500) and advanced customization. The demos illustrate how to use custom icons, apply component tokens via ConfigProvider (e.g., adjusting font sizes and margins), and leverage the new \classNames\ and \styles\ props to customize the semantic DOM structure (root, title, subTitle, icon, extra, body) using both static objects and dynamic functions.

components/result/demo · high confidence

New Statistic demos and semantic customization support

The Statistic component's demo suite has been expanded to showcase new capabilities and usage patterns. A new \Statistic.Timer\ sub-component is introduced, supporting both countdown and countup modes with millisecond precision and custom formats. The component now supports a \loading\ prop for displaying a loading state, and users can apply animated number transitions using the \react-countup\ library. Additionally, deeper visual customization is enabled through \classNames\ and \styles\ props, allowing granular control over semantic DOM elements (such as root, header, title, content, value, prefix, and suffix) via both static objects and dynamic functions.

components/statistic/demo · high confidence

New Theme Editor page with local save and static styling

A new Theme Editor page has been added to the documentation site, wrapping the \antd-token-previewer\ ThemeEditor component. Users can now edit theme configurations and save them to local storage via a dedicated 'Save' button, with success feedback provided through the App context's message API. The page supports internationalization (English and Chinese) and applies custom static styles using \createStaticStyles\ from \antd-style\ to ensure correct SVG and image display within the editor interface.

.dumi/pages/theme-editor · high confidence

New Theme preview component for the documentation site

The site now includes a new Theme preview component located at .dumi/pages/index/components/Theme. This component renders a comprehensive dashboard-style layout to demonstrate Ant Design's theming capabilities, utilizing CSS variables for styling and the FastColor library for color manipulation. It integrates various Ant Design UI elements such as Layout, Card, Table, and Menu to showcase how themes apply across different interface patterns.

.dumi/pages/index/components/Theme · high confidence

New ThemePreview component with one-click code copying

The homepage now features a new ThemePreview component that allows users to switch between component and dashboard previews, toggle dark mode, and copy the complete source code for the selected theme configuration with a single click. This includes generating the necessary React/TypeScript code snippets for ConfigProvider usage, making it easier to adopt custom themes directly in applications.

.dumi/pages/index/components/ThemePreview · high confidence

New TokenTable component for displaying design tokens in documentation

Added a new TokenTable component that renders a table of design tokens, including name, description, type, and default value. The component supports localization (Chinese and English) and provides specialized visualizations for color values (ColorChunk) and cubic-bezier timing functions (BezierVisualizer). It fetches token data from the global token metadata and uses antd-style for styling.

.dumi/theme/builtins/TokenTable · high confidence

New VideoPlayer component for documentation sites

A new VideoPlayer component has been added to the dumi theme builtins, allowing documentation sites to embed interactive video players. The component renders a video element with a custom play/pause overlay icon that appears on hover, using CSS logical properties and CSS variables for styling. It manages playback state internally and exposes standard HTML video attributes via props.

.dumi/theme/builtins/VideoPlayer · high confidence

New Watermark component with multi-line, image, and portal support

The Watermark component is now available, allowing you to overlay text or images across a container. This release introduces support for multi-line content with per-line font styling, custom image watermarks with specific dimensions, and rendering within Modals and Drawers via portaling. The component also supports inheriting styles from parent contexts or disabling inheritance, and ensures it covers fixed table columns by default.

components/watermark/demo · high confidence

New animated loading placeholder and cover overlay for Image component

The Image component now includes a visual loading state with an animated, multi-layered ink-flow placeholder effect (using FastColor and CSS keyframes) and a hoverable cover overlay for preview actions. This style implementation introduces new component tokens (such as \progressAnimationDuration\, \zIndexPopup\, and preview operation colors) to control the appearance of the loading animation and preview UI, enhancing the user experience during image loading and preview interactions.

components/image/style · high confidence

New build, validation, and release automation scripts

The scripts directory now includes a comprehensive suite of new tooling: \build-style.tsx\ generates static CSS using \@ant-design/static-style-extract\ with optional CSS Cascade Layers; \check-cssinjs.tsx\ validates CSS-in-JS output for syntax errors and linter warnings; \check-site.ts\ and its snapshot verify component documentation pages; \check-repo.ts\ and \check-version-md.ts\ enforce release hygiene (branch, version, changelog); \generate-\*\ scripts automate token metadata, component changelogs, and contributor lists; and \post-publish.ts\ / \pre-publish.ts\ manage npm tagging and pre-flight checks.

scripts · high confidence

New component changelog display component

Added a new \ComponentChangelog\ theme component that renders a changelog drawer for Ant Design components. This component parses changelog text to support bold and inline code formatting, displays version history with tags, and includes links to GitHub references and contributors. It also features a bug version list with clickable links to issue details.

.dumi/theme/common/ComponentChangelog · high confidence

New component exports and type re-exports in the main index

The components barrel file now exposes several new components and their associated types, including BorderBeam, Flex, Listy, Masonry, Splitter, and Statistic.Timer, along with their props and ref interfaces. Additionally, it re-exports specific types such as CheckboxChangeEvent, CalendarMode, QRPropsSvg, and various semantic and ref types from components like Alert, Mentions, and ConfigProvider, ensuring these are available from the main entry point.

components · high confidence

New component preview layouts for the documentation site

Added two new React components, \Components.tsx\ and \Simple.tsx\, within the site's PreviewPane to render Ant Design component demos. \Simple.tsx\ provides a compact, localized preview with a frosted-glass background effect, while \Components.tsx\ offers a more comprehensive, multi-column layout showcasing a wider range of UI elements and styles.

.dumi/pages/index/components/PreviewPane · high confidence

New design tokens and styles for Tree and DirectoryTree components

The Tree and DirectoryTree components now support granular design tokens for node states, including \nodeHoverBg\, \nodeHoverColor\, \nodeSelectedBg\, \nodeSelectedColor\, and specific directory selection colors (\directoryNodeSelectedBg\, \directoryNodeSelectedColor\). This allows users to customize the appearance of hovered and selected nodes, as well as the background and text colors for DirectoryTree selections. The styles also introduce an \indentSize\ token to control node indentation and improve alignment for checkboxes, titles, and switcher icons.

components/tree/style · high confidence

New documentation build infrastructure and site styling

The .dumi directory now includes a new global.less file that styles the site footer and applies overscroll containment to the HTML element, alongside a layer-import.less file that imports Ant Design styles. The build process is enhanced with several new TypeScript plugins: rehypeAntd transforms the HTML AST to support Sandpack code blocks, custom video players, and locale-aware links; rehypeChangelog structures changelog entries into a RefinedChangelog component; remarkAnchor allows custom header IDs; and remarkAntd auto-generates descriptions from frontmatter. A new tsconfig.json is added to support JSON module resolution for these plugins.

.dumi · high confidence

New documentation site hooks for theme, localization, and data fetching

The site now includes a suite of new hooks in .dumi/hooks to enhance the documentation experience. useThemeAnimation enables smooth, click-originated dark/light mode transitions using the View Transitions API. useLocalStorage provides a robust, cross-tab synchronized state management solution for user preferences. useLocale and useLocation handle internationalized routing and link generation. useMenu constructs the sidebar navigation with support for component version tags (NEW, UPDATED, DEPRECATED). Additionally, useChangelog fetches version history data, useIssueCount retrieves open GitHub issue counts via the GitHub API, useLayoutState batches state updates for layout rendering, and useDark exposes a context for theme state.

.dumi/hooks · high confidence

New documentation site theming and plugin architecture

The documentation site now uses a new \SiteThemeProvider\ component that integrates \antd-style\ for theming, injecting custom tokens (such as header/banner heights and code background colors) and handling dark mode color-scheme updates for iframes. A new \plugin.ts\ entry point registers several theme plugins including \llms\ (for raw markdown output), \raw-md\, \semantic-md\, \tech-stack\, \routes\, and \build-assets\. Additionally, \themeConfig.ts\ defines the ordering for documentation categories and types in both English and Chinese.

.dumi/theme · high confidence

New documentation theme components for semantic preview and code interaction

The documentation site now includes a suite of new shared theme components in \.dumi/theme/common\ to enhance the developer experience. \SemanticPreview\ and its templates (\SelectSemanticTemplate\, \TreeSelectSemanticTemplate\) allow users to visually inspect and interact with component semantic structures, including support for the new \itemSwitcher\ semantic in TreeSelect. \CodePreview\ provides an improved code display with syntax highlighting, copy functionality, and live editing capabilities. Additional utilities like \BrowserFrame\ for mockups, \ClientOnly\ for hydration safety, \Link\ with route prefetching, and \PrevAndNext\ navigation improve the consistency and performance of the documentation site.

.dumi/theme/common · high confidence

New dumi theme plugins for asset building, raw markdown, and semantic documentation

The site build process now includes several new dumi theme plugins in the \.dumi/theme/plugins\ directory. The \build-assets\ plugin handles server-side rendering (SSR) by extracting Emotion styles into separate CSS files and ensuring correct CSS layer ordering for Tailwind. The \raw-md\ plugin generates raw markdown output, including locale-aware link adjustments for Chinese documentation. The \semantic-md\ plugin extracts semantic descriptions from component files to generate semantic documentation. The \llms\ plugin aggregates documentation into structured formats (like \llms-full.txt\) for LLM consumption. The \routes\ plugin adds explicit routes for changelogs. The \tech-stack\ plugin customizes the React tech stack to include dependency lists and extract descriptions/styles from markdown for code previews.

.dumi/theme/plugins · high confidence

New internal hooks for ConfigProvider theme and context management

The ConfigProvider module now exposes four new internal hooks to manage component configuration and theming more effectively. \useTheme\ centralizes the logic for merging parent and child theme configurations, handling CSS variable keys, and applying component-specific token overrides. \useConfig\ provides a unified way for components to access disabled and size contexts. \useSize\ simplifies size resolution by supporting static values, context inheritance, and dynamic functions. Additionally, \useCSSVarCls\ generates the specific CSS class name required for CSS variable styling. These hooks streamline how components consume configuration and apply theme overrides.

components/config-provider/hooks · high confidence

New theme built-in components for Ant Design integration

Added two new built-in theme components in .dumi/theme/builtins: Antd.tsx, which allows rendering any Ant Design component dynamically by name, and versionToken.ts, which exposes Ant Design's version-specific design token metadata and statistics for documentation purposes.

.dumi/theme/builtins · high confidence

New theme context providers for demo and site state

Added DemoContext and SiteContext to manage shared state for documentation demos and the overall site. DemoContext provides a mechanism to toggle debug views and synchronize code types across demo components. SiteContext introduces a centralized provider for site-wide configuration, including mobile detection, banner visibility, direction, theme management (with specific support for dark mode via an isDark flag), and dynamic theme algorithms, replacing previous ad-hoc state handling.

.dumi/theme/slots · high confidence

New theme interface types and token definitions

The theme system now exposes a structured set of TypeScript interfaces and type definitions in the \components/theme/interface\ directory. This includes \SeedToken\ for base design values (colors, fonts, sizes), \AliasToken\ for semantic UI colors (backgrounds, borders, text states), and \ComponentTokenMap\ which aggregates token types for all supported components. Additionally, utility types like \GlobalToken\, \FullToken\, and \GenStyleFn\ are re-exported from \@ant-design/cssinjs-utils\ to facilitate component styling, providing a unified and type-safe way to access and override theme tokens.

components/theme/interface · high confidence

New theme preview options added to the homepage

The homepage theme preview component now includes several new selectable themes: Blossom, Bootstrap, Cartoon, Geek, Glass, Illustration, Lark, LobeHub, MUI, Serene, and Shadcn. Each theme provides a distinct visual style, allowing users to preview how Ant Design components render with different color palettes, typography, and layout configurations.

.dumi/pages/index/components/ThemePreview/previewThemes · high confidence

New theme token mapping interfaces for colors, typography, sizing, and style

The theme system now exposes explicit TypeScript interfaces (\ColorMapToken\, \FontMapToken\, \SizeMapToken\, \StyleMapToken\) that map design tokens to their specific usage contexts. These interfaces define granular properties for text colors, border colors, fill levels, background layers, font sizes, line heights, component sizes, and border radii. They are combined into a unified \MapToken\ interface, providing a structured contract for how design tokens are applied across the component library.

components/theme/interface/maps · high confidence

New theme utility functions for menu generation, localization, and code conversion

The .dumi/theme/utils module now provides new utilities to enhance the documentation site's functionality. The getMenuItems function structures navigation menus by sorting and grouping components based on locale-specific metadata and custom ordering. Localization is improved with getLocalizedPathname and isZhCN, which handle URL transformations between English and Chinese versions. For code examples, renderReactToHTMLString converts React components to HTML strings using createRoot, and tsToJs transforms TypeScript code (including TSX) into formatted JavaScript using the TypeScript compiler API and Prettier.

.dumi/theme/utils · high confidence

New useMergeSemantic hook for unified semantic style and class merging

A new \useMergeSemantic\ hook has been introduced in \components/\_util/hooks/useMergeSemantic\ to centralize the merging of semantic classNames and styles. This utility resolves both static values and functions (accepting a props config) from multiple sources, merges them using \clsx\ for classes and object spreading for styles, and applies a schema to ensure consistent nested object structures. It is accompanied by supporting type definitions (\semanticType.ts\) and utility functions (\utils.ts\) to enforce strict typing and schema-based filling, providing a standardized way for components to handle semantic customization.

_components/\util/hooks/useMergeSemantic · high confidence

New utility components and TypeScript types for internal use

The \components/\_util\ directory now includes several new internal utilities: \ActionButton\ handles async actions with loading states, \ContextIsolator\ strips form and space styles from children, and \PurePanel\ provides a theme-less wrapper for measuring popup dimensions. Additionally, new TypeScript types \GetRef\, \GetProps\, and \GetProp\ are exported to help extract component props, context values, and ref types, alongside utility functions for clipboard copying, responsive breakpoints, and scroll animations.

_components/\util · high confidence

New utility hooks for closable, mask, and z-index management

The \components/\_util/hooks\ directory now exports a suite of new internal hooks to standardize component behavior. \useClosable\ centralizes the logic for rendering close buttons, handling \closeIcon\ props, and applying ARIA attributes. \useMergedMask\ manages mask visibility, closability, and blur effects, while \useZIndex\ provides a structured system for calculating and warning about z-index stacking for popups and containers. Additional hooks include \useAllowClear\ for input clear actions, \useMultipleSelect\ for shift-based range selection, \useOrientation\ for layout direction, \usePatchElement\ for DOM patching, \useProxyImperativeHandle\ for ref proxying, \useSyncState\ for synchronous state updates, and \useForceUpdate\ for triggering re-renders.

_components/\util/hooks · high confidence

New version upgrade notification modal for Ant Design 6.0

A new modal dialog has been added to the documentation site to notify users about the release of Ant Design 6.0. This modal appears automatically on the first visit (with a 1-second delay) and respects a dismissal deadline of February 1, 2026. It displays localized content (English and Chinese) highlighting key v6 improvements such as React 18 minimum support, pure CSS variables, semantic DOM structures, and new components like Masonry. Users can view the full changelog or the release post directly from the modal, and their dismissal preference is stored in localStorage to prevent repeated notifications.

.dumi/theme/common/VersionUpgrade · high confidence

Pagination demo site restructured with new configuration and customization examples

The Pagination demo section has been completely rewritten and expanded to showcase the component's full capabilities. New examples demonstrate the \align\ prop for positioning, \size\ variants (small/large), and the \simple\ mode with its \readOnly\ option. Customization is now thoroughly covered with demos for replacing the size changer via the \components\ prop, customizing navigation labels with \itemRender\, and applying granular styling through \classNames\, \styles\, and Component Tokens. The site also includes a semantic structure preview, a wireframe style demo, and a debug page for \ConfigProvider\ variants, providing users with comprehensive, up-to-date usage patterns.

components/pagination/demo · high confidence

Progress demo updates: semantic structure, tokens, and new visual variants

The Progress component demos have been restructured to showcase new V5 capabilities and visual variants. A new \\_semantic.tsx\ demo demonstrates the semantic DOM structure (root, body, rail, track, indicator) and how to customize it via \classNames\ and \styles\. A \component-token.tsx\ demo illustrates theme customization using \ConfigProvider\ tokens like \defaultColor\ and \lineBorderRadius\. New demos cover specific features: \gradient-line.tsx\ for gradient strokes, \info-position.tsx\ for \percentPosition\ placement, \linecap.tsx\ for \strokeLinecap\ styling, \segment.tsx\ for \success\ segments, \steps.tsx\ for step-based progress, and \dashboard.tsx\ for dashboard-type progress with \gapDegree\ and \gapPlacement\. Additionally, \circle-micro.tsx\ and \circle-mini.tsx\ demonstrate responsive and smaller circular progress bars.

components/progress/demo · high confidence

Radio component demos rewritten for v6

The Radio component documentation has been completely refreshed with a new set of TypeScript-based demos. This update introduces examples for the new semantic customization API (using \classNames\ and \styles\), the \block\ layout mode, and the \optionType\ configuration. It also adds specific demos for the \name\ attribute to ensure proper browser grouping, Badge integration, and the new wireframe theme support, while removing legacy demo structures.

components/radio/demo · high confidence

Rate component API and implementation update

The Rate component now supports a \tooltips\ prop that accepts an array of strings or full \TooltipProps\ objects to customize the tooltip for each individual star, and a \size\ prop (small, medium, large) to control the star dimensions. The component also exposes \focus()\ and \blur()\ methods, and its styling has been migrated to use CSS variables and the new design token system.

components/rate · high confidence

Redesigned Header with Sponsor Support and Modern Styling

The site header has been completely rewritten to use CSS logical properties and design tokens via \antd-style\, improving layout consistency and dark theme support. A new Sponsors section has been added to the header, featuring a \SponsorsNav\ component that displays sponsor avatars in a popover with bilingual descriptions and links. The header now includes a new \SwitchBtn\ component for toggling UI states (like language or direction) with animated transitions, and the navigation structure has been refactored into modular components (\Logo\, \Navigation\, \SponsorCard\) for better maintainability.

.dumi/theme/slots/Header · high confidence

Segmented component adds semantic styling and enhanced customization options

The Segmented component now supports granular customization of its internal semantic structures (root, item, label, icon) via new \classNames\ and \styles\ props, which accept either objects or functions and integrate with the ConfigProvider's global context. This change also introduces support for item-level tooltips, icon-only display modes, and a \round\ shape option, while upgrading the underlying \@rc-component/segmented\ library and switching the class-name utility from \classnames\ to \clsx\ for improved performance.

components/segmented · high confidence

Segmented component demo suite added

The \components/segmented/demo\ directory now includes a comprehensive set of documentation examples for the Segmented component. These demos cover basic usage, controlled state, dynamic option loading, and various customization options such as \block\ mode, \shape="round"\, \size\ variants (small, medium, large), and vertical \orientation\. The examples also demonstrate advanced features including custom item rendering with icons and avatars, semantic DOM styling via \classNames\ and \styles\ props, component token customization through \ConfigProvider\, and accessibility improvements like the \name\ prop for grouping and support for bare \\<svg\>\ icons.

components/segmented/demo · high confidence

Spin component adds progress percentage and semantic styling support

The Spin component now supports a \percent\ prop (introduced in v5.18.0) to display a loading progress bar, including an 'auto' mode that simulates an indeterminate progress animation. Additionally, version 6.0.0 introduces \classNames\ and \styles\ props, allowing users to customize the appearance of specific semantic structures within the component (such as root, section, indicator, and description) via object or function configurations. The component also deprecates the \tip\ prop in favor of \description\ and \wrapperClassName\ in favor of \classNames.root\.

components/spin · high confidence

Spin indicator now supports progress percentage display

The Spin component's indicator has been refactored to support an optional \percent\ prop, allowing it to render a circular progress ring alongside the standard loading animation. This change introduces new internal components (\Looper\ and \Progress\) that conditionally display the progress ring based on the provided percentage value, enhancing the visual feedback for loading states that track completion.

components/spin/Indicator · high confidence

Splitter component demo suite

Added a comprehensive set of demo files for the Splitter component, illustrating its core capabilities including horizontal and vertical layouts, collapsible panels with configurable icons and motion, lazy rendering mode, and nested structures. The demos also cover size management (min/max/default), controlled resizing, double-click reset functionality, and extensive styling customization via semantic classNames, styles objects, and design tokens.

components/splitter/demo · high confidence

Splitter component styling implementation

This change introduces the style definitions for the new Splitter component, establishing the visual layout and interaction states for its panels and bars. It defines CSS variables for sizing the draggable split bar and trigger areas, implements hover and active states for the drag handle, and ensures accessibility by applying focus outlines to the collapse controls. The styles also handle customization of the drag icon and ensure correct positioning within the flex container.

components/splitter/style · high confidence

Table component refactored to use rc-table with semantic styling and JSX API support

The Table component has been restructured to wrap the underlying \@rc-component/table\ library, introducing a new internal architecture (\InternalTable\, \RcTable\) that manages render cycles and integrates with Ant Design's ConfigProvider for size, locale, and CSS variable support. This change enables semantic DOM styling via new \classNames\ and \styles\ props, allowing users to customize specific table sections (root, header, body, pagination) using either objects or functions. It also introduces a JSX-style API with \Table.Column\ and \Table.ColumnGroup\ components for declarative column definition, while maintaining backward compatibility with the standard \columns\ array prop. The update includes a new \ExpandIcon\ implementation for accessible expand/collapse controls and supports virtual scrolling through a dedicated \RcVirtualTable\ wrapper.

components/table · high confidence

Tabs demo suite rewritten for v6 API and semantic customization

The Tabs demos in \components/tabs/demo\ have been completely rewritten to demonstrate the new v6 API, specifically the \items\ prop for defining tab content and the \renderTabBar\ prop for advanced customization like sticky headers and drag-and-drop via dnd-kit. The examples now showcase granular styling through the \styles\ and \classNames\ props, component tokens for theme debugging, and new capabilities such as centered tabs, custom indicators, and icon support including bare SVG elements. A new \\_semantic.tsx\ demo was added to visualize the component's semantic DOM structure for developers.

components/tabs/demo · high confidence

Tag component introduces solid variant with default color support

The Tag component now supports a 'solid' variant, which automatically applies a 'default' color when no specific color is provided. This change is driven by a new internal hook that manages color logic, allowing for custom colors across three variants (solid, filled, outlined) and handling inverse color naming conventions.

components/tag/hooks · high confidence

Time Picker locale files added for all supported languages

The Time Picker component now includes dedicated locale files for every supported language (e.g., ar\_EG, de\_DE, ja\_JP, zh\_CN). These files provide the specific placeholder text for single time selection and the start/end placeholders for time range selection, ensuring the component displays correctly localized labels in all supported regions.

components/time-picker/locale · high confidence

TimePicker demo updates: 12-hour format, variants, and semantic styling

The TimePicker demo files have been refreshed to showcase new and existing capabilities. A new 12-hour format demo demonstrates the \use12Hours\ prop and various time formats. The variant demo now illustrates the four available styles (\outlined\, \filled\, \borderless\, \underlined\) for both single and range pickers. Additionally, a new semantic styling demo shows how to customize the TimePicker's internal structure using \classNames\ and \styles\ props, and the suffix icon demo clarifies the use of \suffixIcon\ and \prefix\ props.

components/time-picker/demo · high confidence

Timeline component refactored to use CSS variables and added horizontal orientation support

The Timeline component's styling has been migrated to use CSS variables (via genCssVar) for better theme customization and consistency. This change introduces a new horizontal layout mode (orientation=horizontal) with specific styles for alternate and same-side item placements, and standardizes semantic naming for component tokens and structure.

components/timeline/style · high confidence

Timeline demo updates: semantic structure, horizontal layout, and new customization options

The Timeline demo files have been refreshed to showcase the component's new capabilities. A new semantic structure is now exposed, allowing users to customize specific sub-elements (like root, item, icon, rail) via \classNames\ and \styles\ props, demonstrated in the new \semantic\ and \style-class\ demos. The component now supports a horizontal layout via the \orientation\ prop, with demos illustrating \start\, \end\, and \alternate\ modes in horizontal orientation. Additional features include a \variant\ prop for filled styling, a \titleSpan\ prop to control title width, and improved handling of pending/loading states with a \reverse\ toggle. Legacy pending demos are preserved alongside the new patterns.

components/timeline/demo · high confidence

Tooltip now supports unique instances via a new provider

A new UniqueProvider component has been added to the tooltip module to enable unique tooltip instances. This provider wraps the underlying trigger logic and applies a fade animation to the tooltip content using clsx for class merging. It also processes built-in placements to disable dynamic insets, ensuring consistent positioning behavior for each tooltip instance.

components/tooltip/UniqueProvider · high confidence

Tour component demo updates

The Tour component demos have been updated to showcase new customization capabilities, including the \actionsRender\ prop for customizing action buttons, the \indicatorsRender\ prop for customizing step indicators, and the \gap\ prop for controlling the highlight area's radius and offset. The demos also demonstrate custom mask styles and colors, non-modal tour modes, and semantic DOM styling via \classNames\ and \styles\ props.

components/tour/demo · high confidence

Tour component introduces semantic styling and pure panel support

The Tour component now supports granular customization of its internal structure through new \classNames\ and \styles\ props, allowing users to target specific semantic elements like the header, footer, mask, and indicators. This is enabled by the new \interface.ts\ definitions and the \panelRender.tsx\ implementation which applies these styles to the DOM. Additionally, a new \PurePanel\ component (\PurePanel.tsx\) is exposed via the \\_InternalPanelDoNotUseOrYouWillBeFired\ property, providing a simplified panel structure for advanced use cases. The component also integrates with the ConfigProvider to allow global semantic style overrides.

components/tour · high confidence

Transfer demo suite rewritten with new features and semantic documentation

The Transfer component demos have been completely rewritten to showcase new capabilities and improved customization. Key additions include a new \actions\ prop allowing custom React elements for transfer buttons, a \oneWay\ prop for single-direction transfer, and a \pagination\ option for handling large datasets. The demos now demonstrate \status\ support (error/warning), custom \selectAllLabels\, and granular styling via \styles\ and \classNames\ functions that target specific semantic DOM nodes (documented in the new \\_semantic.tsx\ file). Advanced examples show how to integrate \Table\ and \Tree\ components as custom list renderers within the Transfer.

components/transfer/demo · high confidence

Upload demo suite rewritten for v6 with semantic styling and new capabilities

The Upload component documentation has been completely overhauled with a new set of TypeScript-based demos. This update introduces a SemanticPreview demo to visualize and explain the component's semantic DOM structure (root, list, item, trigger) and includes a Component Token demo showing how to customize styles via ConfigProvider. New examples demonstrate v6 features such as the \pastable\ property for paste-to-upload, the \directory\ prop for folder uploads, and drag-sorting the file list using dnd-kit. Existing demos have been modernized to use the \Flex\ component, \message.useMessage\ hook, and \antd-style\, while also covering advanced patterns like manual uploads, custom progress bars, and Aliyun OSS integration.

components/upload/demo · high confidence

Removals

Removal of Col component style entry point

The style entry point for the Col component (components/col/style/index.ts) has been removed. This file previously exported an empty object to support babel-plugin-import compatibility; its deletion indicates that the Col component no longer requires or supports this specific style-import mechanism.

components/col/style · high confidence

Removal of legacy Ant Design theme assets and templates

The theme directory's legacy static assets and templates have been removed. This includes the deletion of \static/script.js\, \static/style.css\, and \static/tomorrow.css\, along with the removal of template files (\layout.html\, \component.html\, \page.html\, \aside.html\, \iframe.html\) and the \theme.js\ configuration. Users relying on this specific theme configuration will no longer have access to these styling and layout definitions.

theme · high confidence

Removal of legacy index.html template

The src/index.html template, which previously rendered a main content area with a banner section, has been removed from the application. This change eliminates the specific HTML structure and Jinja2 block definitions associated with this page entry point.

src · high confidence

Architecture

Input component styles refactored into modular, token-driven architecture

The Input component's styling has been restructured from a monolithic definition into a modular, token-driven system. Styles are now split into dedicated files for the base input, textarea, search, and OTP variants, all driven by a new \InputToken\ configuration. This change introduces support for distinct visual variants (outlined, filled, borderless, underlined) and ensures consistent theming across all Input sub-components, including proper handling of compact mode, status colors, and responsive sizing.

components/input/style · high confidence

Refactor Tree utility logic into dedicated modules

The internal utility logic for the Tree component has been reorganized into three new files: \dictUtil.ts\ for handling field-name-aware node traversal and range selection calculations, \dropIndicator.tsx\ for rendering the drag-and-drop position indicator with RTL support, and \iconUtil.tsx\ for managing switcher and leaf icons (including loading states and custom icon rendering). This change improves code modularity and maintainability without altering the public API.

components/tree/utils · high confidence

Table component styles refactored into modular, token-driven files

The Table component's styling has been restructured from a monolithic approach into a modular system. The main style entry point (index.ts) now imports and composes distinct style generators for specific features: bordered, ellipsis, empty, expand, filter, fixed, pagination, radius, rtl, selection, size, sorter, sticky, summary, and virtual. This change introduces a comprehensive set of ComponentTokens (e.g., headerBg, rowHoverBg, cellPaddingBlock) that allow for granular customization of the Table's appearance. The refactoring also integrates CSS variable support (via genCssVar) and utilizes FastColor for color handling, ensuring that all visual aspects of the Table—from fixed column shadows to filter dropdowns and virtual scrolling indicators—are now driven by these tokens and organized into maintainable, single-responsibility style modules.

components/menu/style, components/table/style · high confidence

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 10 files: “chore: migrate build entries and script to TypeScript (\#59834)” (refs \#59834).

alias · low confidence · unverified

2067 commits (179 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 2067 commits (179 fixs), 49 files: “chore: install using pnpm (\#44639)”; “adjust change log”; “docs: tag visible deprecate (\#37418)”; and 1785 more (refs \#44639, \#37418, \#24765, \#52300, \#41734, …).

(repo-wide) · low confidence · unverified

4 commits (0 fixes) modifying components/listy/demo

A change to existing behaviour in components/listy/demo — 4 commits, 20 files: “demo: add drag-sorting demo (\#58962)”; “feat: Listy support scrollWidth (\#59197)”; “feat(Listy): support rowHoverable (\#59273)”; and 1 more (refs \#58962, \#59197, \#59273, \#58724).

components/listy/demo · medium confidence · unverified

7 commits (0 fixes) modifying components/listy

A change to existing behaviour in components/listy — 7 commits, 3 files: “feat: bump @rc-component/listy to 1.4.0 (\#59347)”; “site: normalize locale-aware links in Chinese docs (\#59277)”; “demo: add drag-sorting demo (\#58962)”; and 4 more (refs \#59347, \#59277, \#58962, \#59197, \#59273, …).

components/listy · medium confidence · unverified

Add pre-commit hook for lint-staged

A new pre-commit hook has been added to the .husky directory that executes lint-staged. This ensures that code linting and formatting checks are automatically applied to staged files before each commit, helping to maintain code quality and consistency.

.husky · high confidence

Affix component adopts design-token-based styling

The Affix component's styling has been refactored to use the internal theme token system. This change introduces a dedicated ComponentToken for the 'zIndexPopup' property, allowing users to customize the fixed element's z-index via theme configuration rather than relying on hardcoded values. The styling logic is now encapsulated within a shared style generator and registered via genStyleHooks, ensuring consistent theming and easier maintenance of the component's visual properties.

components/affix/style · high confidence

Affix component rewritten as a React Function Component

The Affix component has been refactored from a class-based implementation to a React Function Component (FC). This change introduces a behavioral shift for developers using versions 5.10.0 and above: legacy methods for obtaining refs and calling internal instance methods are no longer supported. The component now utilizes \React.forwardRef\ for proper ref handling, integrates with \ConfigProvider\ for context-aware styling (prefixCls, className, style), and relies on \@rc-component/resize-observer\ and \clsx\ for dependency management. The API surface (offsetTop, offsetBottom, target, onChange) remains consistent, but the internal mechanics for position calculation and event listening have been updated to align with modern React patterns.

components/affix · high confidence

Alert component restructured with semantic styling and ErrorBoundary

The Alert component has been refactored to support granular customization via new \classNames\ and \styles\ props that target internal semantic structures (root, icon, title, description, actions, close). A new \variant\ prop (defaulting to \outlined\, with \filled\ available) allows switching visual styles. The component now exposes a static \Alert.ErrorBoundary\ sub-component for catching and displaying child rendering errors. Additionally, several legacy props (\message\, \onClose\, \closeIcon\, \closeText\, \afterClose\) are deprecated in favor of a unified \closable\ configuration object and \title\.

components/alert · high confidence

Anchor component demos updated to v6 data-driven API and new features

The Anchor component documentation has been refreshed with new and updated demos in \components/anchor/demo\. The primary change is a migration from the legacy nested \Anchor.Link\ JSX pattern to the new data-driven \items\ prop structure, as seen in the new \basic.tsx\, \static.tsx\, and \horizontal.tsx\ files. Several new capabilities are now demonstrated: \direction="horizontal"\ for horizontal layouts, \targetOffset\ for controlling scroll positioning (including per-link offsets), \replace\ for browser history management, \getCurrentAnchor\ for custom active state logic, and \onChange\/\onClick\ event handlers. Additionally, a new \style-class.tsx\ demo illustrates customizing semantic DOM styles via \classNames\ and \styles\ props, while \component-token.tsx\ shows theme token overrides. A \legacy-anchor.tsx\ demo is retained for the old API, and a \\_semantic.tsx\ file provides semantic structure descriptions for documentation.

components/anchor/demo · high confidence

Anchor component rewritten as functional component with data-driven API and semantic styling

The Anchor component has been rewritten from a class-based implementation to a functional component, introducing a data-driven \items\ prop to replace the deprecated \children\ approach for defining links. This change also adds granular scroll offset control via a new \targetOffset\ prop on individual \Anchor.Link\ items, allows \className\ and \style\ to be passed down to the component, and introduces \classNames\ and \styles\ props for customizing semantic DOM structures. Additionally, the internal navigation mechanism now uses \window.history.pushState/replaceState\ instead of \window.location.href\ for better performance, which affects the \:target\ pseudo-class behavior.

components/anchor · high confidence

App component style system refactored to use genStyleHooks

The styling logic for the App component has been migrated to the new \genStyleHooks\ system. This change introduces a structured style generation approach where base styles (including text color, font size, line height, and font family) are defined via \genBaseStyle\, and component tokens are prepared via \prepareComponentToken\. The diff confirms the removal of previous style definitions in favor of this new hook-based architecture, which also explicitly handles RTL direction support within the component class.

components/app/style · high confidence

AutoComplete component refactored with Semantic DOM and deprecated legacy APIs

The AutoComplete component has been refactored to support a Semantic DOM structure, allowing users to customize internal styles and classes via the new \classNames\ and \styles\ props (e.g., \classNames.popup.root\). Several legacy props have been deprecated in favor of these new semantic alternatives: \dropdownClassName\, \popupClassName\, and \dropdownStyle\ are replaced by \classNames.popup.root\ and \styles.popup.root\; \dropdownRender\ is replaced by \popupRender\; \dropdownMatchSelectWidth\ is replaced by \popupMatchSelectWidth\; \onDropdownVisibleChange\ is replaced by \onOpenChange\; and \dataSource\ is replaced by \options\. The component now extends \InternalSelectProps\ while omitting incompatible properties like \loading\ and \mode\, and includes updated documentation reflecting these changes and the new semantic customization capabilities.

components/auto-complete · high confidence

Avatar component rewritten with responsive sizing and improved image handling

The Avatar component has been rewritten to support responsive sizes via the ConfigProvider and breakpoints, allowing the size to adapt to screen width. Image loading is now more robust: the component retries loading when srcSet changes, falls back to children or icon on error, and exposes an onError callback to customize fallback behavior. The default size is now 'medium' instead of 'default'. Avatar.Group introduces a new 'max' prop (replacing deprecated maxCount/maxStyle/maxPopoverPlacement/maxPopoverTrigger) to control overflow display with a popover, and supports shape and size inheritance from context.

components/avatar · high confidence

BackTop component deprecated in favor of FloatButton.BackTop

The BackTop component is now marked as deprecated and displays a warning directing users to migrate to FloatButton.BackTop. The implementation has been updated to use CSS variables for styling, supports RTL direction, and manages visibility via a \visibilityHeight\ prop (defaulting to 400px) rather than a separate \visible\ state, while retaining the scroll-to-top animation and target configuration.

components/back-top · high confidence

BackTop component styling migrated to token-based system

The BackTop component's visual presentation is now driven by a new token-based styling system. This change introduces specific design tokens for background colors, text colors, font sizes, and dimensions, allowing for consistent theming across the application. Additionally, the component now supports responsive positioning, automatically adjusting its right-side offset on medium and small screens via media queries, while maintaining a fixed position at the bottom-right corner on larger viewports.

components/back-top/style · high confidence

BackTop demo marked as deprecated

The BackTop component's basic demo has been updated to explicitly indicate that the component is deprecated. Users viewing the documentation will now see a 'Deprecated' notice in both English and Chinese, signaling that this component is no longer recommended for new development.

components/back-top/demo · high confidence

Badge component refactored with semantic styling hooks and new Ribbon sub-component

The Badge component has been rewritten to use the new semantic styling system (useMergeSemantic), allowing users to customize internal structures via classNames and styles props. The default size has changed from 'default' to 'medium', and the 'title' prop now supports null/false to remove the native tooltip. A new Badge.Ribbon sub-component has been added for decorative ribbons, and the ScrollNumber animation logic has been refactored for better performance.

components/badge · high confidence

Badge component styles migrated to token-based system with CSS-in-JS

The Badge component's styling has been refactored to use a token-based architecture via \@ant-design/cssinjs\, replacing the previous Less-based approach. This change introduces granular design tokens for controlling badge dimensions (height, dot size, font size), colors (text, background, hover, shadow), and specific behaviors like the processing animation and ribbon offset. Users can now customize these visual aspects through the theme configuration, and the component supports CSS variables for dynamic theming. The migration also includes improved handling of RTL layouts, status indicators, and the new Ribbon feature, ensuring consistent styling across different modes and themes.

components/anchor/style, components/badge/style, components/popconfirm/style · high confidence

Badge demo suite rewritten for v6 with semantic, token, and customization examples

The Badge component demos have been completely rewritten to align with the v6 design system. The new set includes semantic structure previews for the Badge and Badge.Ribbon (introduced in v6.0.0), demonstrates the new component token customization via ConfigProvider (e.g., indicatorHeight, dotSize, paddingInline), and showcases the new \styles\ and \classNames\ props for granular semantic DOM styling. Existing features like colorful badges, status indicators, ribbon placement, and count animations are now demonstrated with updated ES6/React 18-compatible code and clearer documentation.

components/badge/demo · high confidence

BorderBeam demo updates: hover, count, and token configuration

The BorderBeam demo page now includes examples for hover-triggered visibility, configuring the number of beams via the \count\ prop, and overriding the \lineWidth\ through the global \ConfigProvider\ theme tokens.

components/border-beam/demo · medium confidence

The Breadcrumb component's styling has been migrated to use the new design token system. This change introduces configurable tokens for item colors, link colors, hover states, separator appearance, and icon sizing, allowing users to customize the component's visual appearance through the theme configuration rather than relying on hardcoded CSS values.

components/breadcrumb/style · high confidence

The Breadcrumb component has been completely rewritten for version 6, replacing the legacy \routes\ and \Breadcrumb.Item\/\Breadcrumb.Separator\ children API with a declarative \items\ array. This new structure supports nested menus via the \menu\ property on items, allowing for quick navigation dropdowns. The component now uses a Context-based architecture (\BreadcrumbContext\) to propagate semantic class names and styles, enabling granular customization of the root, item, and separator elements via \classNames\ and \styles\ props. Additionally, the underlying DOM structure has been updated to use \\<li\>\ elements for items and separators, and the component now supports global configuration for the separator and dropdown icon via ConfigProvider.

components/breadcrumb, components/timeline · high confidence

The Breadcrumb demo files have been completely rewritten to demonstrate the component's modern capabilities. All examples now use the \items\ prop instead of the legacy \routes\ or children-based syntax. The demos showcase new features including dropdown menus via the \menu\ property on items, customizable separators (both global and per-item), and route parameter injection via the \params\ prop. Additionally, the suite illustrates v5 styling capabilities, including Component Tokens for visual customization and the \classNames\/\styles\ props for semantic DOM structure control, while also demonstrating proper alignment for bare SVG icons.

components/breadcrumb/demo · high confidence

Button component rewritten with hooks and semantic customization support

The Button component has been refactored to use React hooks, introducing a new semantic DOM structure that allows granular customization via \classNames\ and \styles\ props (e.g., targeting root, icon, and content). The component now supports a \color\ and \variant\ system alongside the existing \type\ prop, with \type\ acting as syntactic sugar for color/variant pairs. Additionally, \iconPosition\ has been renamed to \iconPlacement\, and the \ButtonGroup\ component is now deprecated in favor of \Space.Compact\.

components/button · high confidence

Button component styles refactored to use CSS variables and design tokens

The Button component's styling logic has been rewritten to leverage CSS variables and a comprehensive token system. This change introduces new design tokens for controlling font weight, icon gaps, shadows, and specific colors for various button variants (solid, outlined, dashed, filled, text, link) and states (hover, active, disabled). It also adds dedicated style modules for handling button groups and compact layouts (Space.Compact), ensuring consistent border merging and visual alignment. Users benefit from more granular control over button appearance through the theme configuration and improved visual consistency across different button shapes and sizes.

components/button/style · high confidence

Calendar component refactored with new internal structure and semantic styling support

The Calendar component has been refactored to use a new internal architecture, introducing a dedicated Header component and a \generateCalendar\ factory pattern that supports custom date libraries via \@rc-component/picker\. This change brings improved semantic customization capabilities, allowing users to apply specific \classNames\ and \styles\ to internal structures like the header, body, and cells through the \classNames\ and \styles\ props (available from v6.0.0). The component now also exposes a \nativeElement\ ref via \CalendarRef\ and ensures better integration with the ConfigProvider for context-aware styling and locale handling.

components/calendar · high confidence

Calendar demo suite rewritten for v6 semantic tokens and customization

The Calendar demo files have been completely rewritten to demonstrate the new v6 customization capabilities. The suite now includes a semantic preview (\\_semantic.tsx\) documenting the new semantic DOM structure (root, header, body, content, item, itemContent) and their supported versions. Existing demos have been migrated to use \dayjs\ instead of Moment.js and leverage \theme.useToken\ and \cssVar\ for styling. New and updated demos showcase specific v6 features: \customize-header.tsx\ demonstrates the new \headerRender\ method for full header control; \style-class.tsx\ shows how to use the new \classNames\ and \styles\ props (accepting objects or functions) to target semantic elements; \event-range.tsx\ and \notice-calendar.tsx\ illustrate advanced \cellRender\ usage for complex layouts like event bars and badges; and \component-token.tsx\ provides a debug view for direct token overrides. The \lunar.tsx\ demo has also been updated to use \lunar-typescript\.

components/calendar/demo, components/switch/demo · high confidence

Calendar styles migrated to the token-based system

The Calendar component's styling has been refactored to use the new design token system, replacing the previous Less-based implementation. This change introduces specific tokens for controlling the calendar's appearance, including \yearControlWidth\, \monthControlWidth\, \miniContentHeight\, \fullBg\, \fullPanelBg\, and \itemActiveBg\. Users can now customize these visual aspects through the theme configuration, ensuring consistent styling with the rest of the component library's token architecture.

components/calendar/style · high confidence

Card component rewritten with hooks and semantic styling

The Card component has been refactored to use React hooks and a new semantic styling system, allowing users to customize internal structures (header, body, title, etc.) via \classNames\ and \styles\ props. Deprecated props like \bordered\, \headStyle\, and \bodyStyle\ are now replaced by \variant\ and the new semantic style APIs. The component also supports ConfigProvider context for global styling and size variants, and includes improved handling for tabs, loading states, and grid layouts.

components/card · high confidence

Card component style generation refactored to use CSS-in-JS tokens

The Card component's styling has been migrated to a new token-based system defined in \components/card/style/index.ts\. This introduces specific design tokens for controlling the card's appearance, including \headerBg\, \headerFontSize\, \headerHeight\, \bodyPadding\, \headerPadding\, \actionsBg\, and \cardShadow\. Users can now customize these aspects via the theme configuration, replacing previous hardcoded values with configurable token properties for the header, body, actions, and grid layouts.

components/card/style · high confidence

Card demo suite rewritten for v6 semantic tokens and modern patterns

The Card component demos have been completely rewritten to align with the v6 design system. The suite now includes a new semantic DOM preview (\\_semantic.tsx\ and \\_semantic\_meta.tsx\) that visualizes and documents the internal structure of the Card and Card.Meta components. Existing demos have been updated to use the new \variant\ prop (e.g., \variant="borderless"\) instead of previous styling approaches, and the \Card.Grid\ demo now explicitly demonstrates the \hoverable\ prop. Avatar images have been standardized to use the DiceBear API with the 'lorelei' style, and the loading demo now utilizes the \Flex\ component for layout. Additionally, new debug demos (\button-alignment-debug.tsx\, \no-body-debug.tsx\) and a component token demo (\component-token.tsx\) have been added to assist with styling customization and regression testing.

components/card/demo · high confidence

The Carousel component introduces semantic naming for dot placement, replacing the deprecated \dotPosition\ prop with \dotPlacement\ (accepting \top\, \bottom\, \start\, \end\) to better support RTL layouts. Default arrow buttons are now localized via \ConfigProvider\ locale, and the \autoplay\ prop supports a \dotDuration\ option to display a progress bar. The component also exposes a \nativeElement\ ref and includes updated documentation for these changes.

components/carousel · high confidence

The Carousel component's styles have been refactored to use the new design token system, replacing the previous Less-based implementation. This change introduces configurable tokens for carousel indicators (dotWidth, dotHeight, dotGap, dotOffset, dotActiveWidth) and navigation arrows (arrowSize, arrowOffset), allowing users to customize the appearance of these elements through the theme configuration. The migration also includes fixes for RTL mode mirroring issues and ensures that dot animations and clickability behave correctly across different states.

components/avatar/style, components/carousel/style · high confidence

Cascader component refactored with semantic DOM and new Panel sub-component

The Cascader component has been refactored to support a semantic DOM structure, allowing users to customize internal styles and classes via the new \classNames\ and \styles\ props (e.g., \classNames.popup.root\). A new \Cascader.Panel\ sub-component is now available for standalone panel usage. Additionally, several legacy props have been deprecated in favor of the new semantic approach (\dropdownClassName\, \dropdownStyle\, \dropdownRender\, \dropdownMenuColumnStyle\, \popupMenuColumnStyle\, \showArrow\, \bordered\, \searchValue\, \onSearch\, \onDropdownVisibleChange\, \onPopupVisibleChange\), and the component now integrates with the ConfigProvider for global icon configuration (\expandIcon\, \loadingIcon\, \searchIcon\, \clearIcon\, \removeIcon\, \suffixIcon\).

components/cascader · high confidence

Cascader component styling migrated to CSS-in-JS tokens

The Cascader component's styling has been refactored to use a new token-based system (CascaderToken) via CSS-in-JS, replacing previous style implementations. This change introduces specific design tokens for controlling the component's appearance, including control width, item width, dropdown height, and colors/padding for selected options. It also standardizes the styling for menu columns, checkboxes, and disabled states, ensuring consistent theming and better support for CSS variables across the Cascader and its Panel variant.

components/cascader/style · high confidence

Changelog now warns users about deprecated versions with defect details

The changelog display now detects deprecated versions and visually warns users when a version contains known defects. When a version is marked as deprecated, a warning icon appears next to the version number; hovering over it reveals a popover listing specific defect reasons as clickable links, helping users understand why they should upgrade to the next version.

.dumi/theme/builtins/RefinedChangelog · high confidence

Checkbox component rewritten in TypeScript with semantic styling support

The Checkbox and Checkbox.Group components have been rewritten in TypeScript and migrated to use the @rc-component/checkbox library. This update introduces support for semantic DOM customization via new \classNames\ and \styles\ props, allowing users to target specific internal structures (root, icon, label) with either static objects or dynamic functions. The implementation now leverages the CSS-in-JS (cssinjs) system with CSS variables and hash IDs for styling, and includes improved handling of disabled states, group value ordering, and accessibility attributes.

components/checkbox · high confidence

Collapse component rewritten in TypeScript with semantic styling and v6 API updates

The Collapse component has been rewritten in TypeScript, introducing support for semantic class names and styles via the \classNames\ and \styles\ props (available since v6.0.0) for granular customization of internal structures like root, header, title, body, and icon. The component now uses \clsx\ instead of \classnames\, integrates with the ConfigProvider for global semantic style overrides, and enforces stricter TypeScript types. Deprecated props \destroyInactivePanel\ and \expandIconPosition\ are replaced by \destroyOnHidden\ and \expandIconPlacement\ respectively, with runtime warnings in development. The \collapsible\ prop on panels now accepts \header\, \icon\, or \disabled\ values, replacing the older \disabled\ prop. The expand icon is now rendered using \@ant-design/icons/RightOutlined\ with proper ARIA labels for accessibility, and the component supports RTL directionality and size variants (\large\, \small\, \medium\).

components/collapse · high confidence

Collapse component style migration to design tokens

The Collapse component's styling has been migrated from Less to a token-based system, introducing granular design tokens for header and content padding (including small and large variants), background colors, and border radius. This change allows users to customize the visual appearance of the Collapse component more precisely through the theme configuration, supporting distinct styles for borderless content and ensuring consistent cursor and focus behaviors across different sizes.

components/alert/style, components/collapse/style · high confidence

Collapse demos migrated to \`items\` API and semantic previewer

The Collapse demo files in \components/collapse/demo\ have been rewritten to use the new \items\ prop instead of the legacy \Collapse.Panel\ children pattern, and the semantic previewer demo (\\_semantic.tsx\) has been added to visualize the component's semantic DOM structure (root, header, title, body, icon) with version annotations. Existing demos (accordion, basic, borderless, collapsible, custom, extra, ghost, icon, mix, noarrow, size, style-class) now demonstrate the modern API surface, including features like \collapsible\, \expandIconPlacement\, \size\, and semantic \styles\/\classNames\ customization.

components/collapse/demo · high confidence

Compact theme and shared token generation utilities

The theme system now includes a new compact theme that reduces control heights and font sizes for denser layouts, alongside a set of shared utility functions (genCompactSizeMapToken, genColorMapToken, genCommonMapToken, genControlHeight, genFontMapToken, genRadius, genSizeMapToken) that standardize how design tokens are derived from seed values. This refactoring centralizes token generation logic, ensuring consistent sizing, spacing, and color mapping across themes.

components/theme/themes/shared · high confidence

Config Provider style module exports reset icon style hook

The style entry point for the Config Provider component has been updated to export the \useResetIconStyle\ hook from the internal theme module. This change centralizes the styling logic for the reset icon, making it available for consumption by the component's style system.

components/config-provider/style · high confidence

ConfigProvider internal structure refactored into modular context providers

The ConfigProvider component has been restructured to improve maintainability and performance by extracting its internal logic into separate, dedicated context providers. The main \index.tsx\ now orchestrates these new modules: \DisabledContext\ and \SizeContext\ handle component-level state (disabled status and size) via their own providers; \MotionWrapper\ manages animation settings by wrapping children in \@rc-component/motion\ only when necessary; \PropWarning\ handles deprecation warnings (such as for \dropdownMatchSelectWidth\); and \defaultRenderEmpty\ centralizes the logic for rendering empty states across various components. This change isolates concerns, allowing the core ConfigProvider to remain lightweight while delegating specific configuration aspects to specialized, memoized components.

components/config-provider · high confidence

ConfigProvider now supports global arrow configuration for tooltips

A new hook, useMergedArrow, has been introduced to merge arrow settings from both component props and the global ConfigProvider context. This allows users to define a default arrow behavior (such as showing the arrow or pointing it at the center) via the ConfigProvider, which will be applied to all Tooltip, Popover, and Popconfirm components unless explicitly overridden by individual component props.

components/tooltip/hook · high confidence

The .cursor/skills file is now a symbolic link pointing to ../.agents/skills, ensuring that Cursor's skill definitions are sourced from the .agents directory.

.cursor · high confidence

Dark theme color generation now uses FastColor and explicit palette algorithms

The dark theme's color derivation logic has been refactored to use the \@ant-design/fast-color\ library for alpha and brightness calculations, replacing the previous implementation. New files (\colorAlgorithm.ts\, \colors.ts\) define specific algorithms for generating color palettes and neutral color tokens (backgrounds, text, borders) with explicit alpha values and lightness adjustments. The main \index.ts\ derivative now integrates these new palette generators and explicitly defines hover/active states for preset colors, ensuring consistent dark-mode styling for components like Select and Button.

components/theme/themes/dark · high confidence

Date and Time Pickers refactor to support semantic customization and variant styling

The Date and Time Pickers have been refactored to introduce a new semantic styling system and a variant-based design. Users can now customize picker appearance using granular \classNames\ and \styles\ props (e.g., \classNames.popup.root\, \styles.input\) instead of the deprecated \dropdownClassName\ and \popupStyle\. The \bordered\ prop is deprecated in favor of the \variant\ prop (e.g., 'outlined', 'filled'). Additionally, the \onSelect\ callback for TimePicker is deprecated in favor of \onCalendarChange\, and the \suffixIcon\ now correctly respects \null\ or \false\ values to hide the icon.

components/date-picker/generatePicker · high confidence

DatePicker documentation and entry point restructuring

The DatePicker component's documentation has been reorganized into a dedicated design tab (index.$tab-design.en-US.md and index.$tab-design.zh-CN.md) that showcases component definitions, basic usage patterns for all picker modes (day, week, month, quarter, year, time, and their ranges), and interactive variants like presets and extra info. The main documentation files (index.en-US.md and index.zh-CN.md) have been updated to reflect the current API surface, including deprecation notices for props like \bordered\, \dropdownClassName\, and \popupClassName\ in favor of \variant\ and \classNames\/\styles\ for semantic structure customization. The component entry point (index.tsx) now explicitly exports type definitions for various picker modes and exposes internal panel components for advanced use cases. Additionally, new utility files (util.ts) and a PickerButton component have been introduced to handle placeholder logic, icon management, and internal button styling.

components/date-picker · high confidence

DatePicker style system migrated to CSS-in-JS with token-based theming and variant support

The DatePicker component's styling has been completely rewritten to use a new CSS-in-JS architecture driven by design tokens. This migration introduces support for multiple visual variants (outlined, underlined, filled, and borderless) that can be applied to the picker and its multiple-selection items. The new style system also adds granular control over status indicators (error and warning) via dedicated affix color tokens, improves the visual treatment of cell hover and range states in the panel, and ensures consistent sizing and padding across small, default, and large picker sizes.

components/date-picker/style · high confidence

Default theme refactored to use FastColor and modular token generation

The default theme implementation has been restructured into separate modules (colorAlgorithm, colors, index, theme) and now uses the FastColor library for color manipulations like alpha blending and darkening. This change introduces new token generation functions for color palettes and neutral colors, replacing previous inline logic, and ensures backward compatibility for deprecated color names like 'pink'.

components/theme/themes/default · high confidence

Demo sandboxes now run on React 19 with static styling

The Sandpack component used for interactive code demos has been updated to scaffold environments using React 19 (and React DOM 19) instead of previous versions, ensuring that examples demonstrate the latest library behavior. Additionally, the component's internal styling has been migrated from dynamic runtime styles to static styles via \createStaticStyles\, and the fallback loading state now utilizes Ant Design's Skeleton component for a more consistent visual experience during sandbox initialization.

.dumi/theme/builtins/Sandpack · high confidence

Descriptions component refactored with new items API and responsive span support

The Descriptions component now supports a new \items\ prop for defining content, which takes precedence over the legacy \children\ approach. This change introduces responsive configuration for item spans, allowing them to adapt to different screen sizes, and fixes a calculation error where the last item's span in a row was not correctly adjusted to fill available space. The underlying logic has been restructured into dedicated hooks (\useItems\ and \useRow\) to manage item conversion, responsive matching, and row layout calculations.

components/descriptions/hooks · high confidence

Descriptions component refactored with semantic styling and new Cell/Row architecture

The Descriptions component has been refactored to support granular semantic customization via new \classNames\ and \styles\ props, allowing users to target specific internal structures like \label\, \content\, \root\, and \header\. This change introduces a new internal architecture with dedicated \Cell\ and \Row\ components that handle the rendering logic, merging styles from ConfigProvider context with component-level props. The \labelStyle\ and \contentStyle\ props are now deprecated in favor of the new semantic \styles.label\ and \styles.content\ API. Additionally, the component now uses \clsx\ instead of \classnames\ for class name merging and supports responsive column configuration via breakpoint objects.

components/descriptions · high confidence

Descriptions demo suite updated with new layout, styling, and semantic examples

The Descriptions component documentation has been refreshed with a comprehensive set of new and updated demos. Users can now see examples for vertical layout, responsive column configuration, and block-style items. The demos also illustrate granular styling capabilities, including per-item label and content styles, root-level style overrides, and customization via the \classNames\ and \styles\ props. Additionally, a new semantic preview demo is included to help visualize the component's internal structure, alongside existing examples for bordered views, padding, and JSX-style usage.

components/descriptions/demo · high confidence

Divider component API and implementation update

The Divider component now supports a \variant\ prop (dashed, dotted, solid) to control line style, a \size\ prop (small, medium, large) for horizontal spacing, and \classNames\/\styles\ props for customizing semantic internal structures. The deprecated \type\ prop is replaced by \orientation\, and \titlePlacement\ now supports \start\ and \end\ values. The component also exposes a \nativeElement\ ref and integrates with ConfigProvider for global configuration.

components/divider · high confidence

Divider component style refactoring and tokenization

The styling logic for the Divider component has been consolidated into a new style module that utilizes the design token system. This change introduces specific component tokens for controlling horizontal text padding, orientation margins, and vertical margin spacing, allowing for more granular customization of the divider's appearance. The styles now explicitly handle horizontal and vertical orientations, dashed and dotted variants, and text alignment (start/end) through CSS classes, ensuring consistent rendering across different configurations.

components/descriptions/style, components/divider/style · high confidence

Documentation site styles migrated to CSS-in-JS with design tokens

The documentation site's global styles have been rewritten from LESS to CSS-in-JS (using @emotion/react) and are now driven by Ant Design design tokens via antd-style. This change ensures that site elements—such as code blocks, markdown content, demo cards, and navigation—automatically adapt to theme changes (including dark mode) and logical properties (RTL support), providing a consistent and responsive user experience across all viewports.

.dumi/theme/common/styles · high confidence

Drawer component restructured with semantic styling and focus management

The Drawer component has been refactored to support granular semantic customization via \classNames\ and \styles\ props, allowing users to target specific internal structures like the header, body, footer, and mask. The legacy style props (e.g., \bodyStyle\, \headerStyle\) are now deprecated in favor of this new semantic API. Additionally, the component introduces a \focusable\ configuration option for managing focus trapping and trigger behavior, and the \loading\ state now renders a Skeleton instead of a Spin component.

components/drawer · high confidence

Drawer component style migration to CSS-in-JS with token-based theming

The Drawer component's styling has been rewritten from inline styles to CSS-in-JS, introducing a new token-based system that allows for granular customization of visual properties such as z-index, footer padding, and resize handle size. This change also adds support for a blur effect on the mask, enables resizable drawers via a dedicated dragger handle, and ensures consistent motion animations across all placement directions (left, right, top, bottom) using the new theme tokens.

components/drawer/style · high confidence

Drawer demos migrated to React 18 and updated API usage

The Drawer demo files have been completely rewritten to use React 18 patterns, specifically replacing the deprecated \visible\ prop with \open\ and updating \onClose\ handlers to use \useState\. The demos now demonstrate modern features such as the \resizable\ prop for adjusting drawer size, the \closable\ prop accepting an object to customize the close button's \placement\ (e.g., to the end/right), and the \mask\ prop supporting a \blur\ option. Additionally, the demos showcase the new semantic styling system via \classNames\ and \styles\ props, and include new examples for multi-level drawers, loading states, and form integration within drawers.

components/drawer/demo · high confidence

The Dropdown component has been refactored to support granular customization via new \classNames\ and \styles\ props, allowing users to target specific semantic DOM nodes (root, item, itemTitle, itemIcon, itemContent) rather than applying styles to the entire overlay. This change also introduces a deprecation warning for \Dropdown.Button\, which is now implemented as a wrapper around \Space.Compact\ + \Dropdown\ + \Button\ and advises users to migrate to this composition. Additionally, several legacy props (\dropdownRender\, \destroyPopupOnHide\, \overlayClassName\, \overlayStyle\) are marked as deprecated in favor of their modern equivalents (\popupRender\, \destroyOnHidden\, \classNames.root\, \styles.root\).

components/dropdown · high confidence

Empty style export added for row component

An empty default export has been added to the style index file for the row component. This change ensures compatibility with babel-plugin-import, allowing the module to be imported without errors even though no actual style definitions are provided.

components/row/style · high confidence

FloatButton styles refactored to use CSS variables and semantic tokens

The FloatButton component's styling has been migrated to use CSS variables via the genCssVar hook, replacing hardcoded values with semantic tokens for better theme consistency. This change introduces support for a progress ring on the BackTop variant, allows the button to display a badge, and enables dynamic z-index configuration. Additionally, the styles now properly handle RTL layouts, support various placements (top, bottom, left, right) for the group menu, and fix issues with hover menu flickering and border-radius inconsistencies.

components/float-button/style · high confidence

The site footer has been completely rewritten to use \antd-style\ for styling and \rc-footer\ for structure, introducing responsive mobile layouts and updated link collections (including Ant Design X, Web3, and Mini). A new \AdditionalInfo\ component dynamically detects support for the CSS \:where\ selector and displays a warning banner for legacy browsers that lack this support, directing users to compatibility documentation.

.dumi/theme/slots/Footer · high confidence

Form component styles migrated to token-based system

The Form component's styling has been refactored to use the new token-based design system, replacing legacy Less styles with CSS-in-JS tokens. This migration introduces new configurable tokens for form elements, including label colors, font sizes, heights, margins, and padding for both vertical and inline layouts. The change also includes a new file for form validation motion styles and a fallback style for Internet Explorer, ensuring consistent visual behavior and easier customization of form appearance through the theme token interface.

components/empty/style, components/form/style, components/statistic/style · high confidence

Form demos rewritten for v6 with modern patterns and semantic documentation

The Form demo files in \components/form/demo\ have been completely rewritten to align with the v6 API and design system. Basic and advanced examples now use \Form.useForm\ and functional components instead of legacy HOCs, and styles are driven by \theme.useToken\ and CSS-in-JS via \createStyles\. The new \semantic.tsx\ demo introduces \SemanticPreview\ to document Form component tokens (root, label, content, help, extra) with version tags, while other demos demonstrate updated patterns such as nested \Form.List\ with \noStyle\, drag-sorting via \dnd-kit\, custom feedback icons, and component token overrides.

components/form/demo · high confidence

Form hooks refactored to use rc-component and support variants

The form hooks have been rewritten to delegate core state management to @rc-component/form, introducing new internal hooks (useChildren, useDebounce, useFrameState, useItemRef, useFormWarning) to handle child normalization, delayed updates, frame-batched state, item reference composition, and duplicate name warnings. The useForm hook now exposes scrollToField, focusField, and getFieldInstance capabilities by wrapping the underlying rc-form instance, while useVariants enables component-level variant configuration (e.g., borderless vs outlined) via ConfigProvider and context, allowing forms and their inputs to inherit styling variants consistently.

components/form/hooks · high confidence

Form.Item refactoring and validation status improvements

The Form.Item component has been refactored to improve validation status handling and layout support. A new StatusProvider context now manages validation states (success, warning, error, validating) and feedback icons, ensuring that status is correctly propagated even when using the noStyle prop. The component now supports a layout prop to control vertical/horizontal alignment, and validation messages are debounced to prevent UI shaking during rapid validation changes. Additionally, empty strings are treated as non-renderable content, and numeric zeros in extra content are rendered correctly.

components/form/FormItem · high confidence

Grid components rewritten with CSS-in-JS and Context API

The Grid system (Row and Col) has been refactored to use the new CSS-in-JS styling engine (cssinjs) and React Context for state management. This change introduces responsive support for the \align\ and \justify\ properties on Row, allowing values to be specified per breakpoint (e.g., \{ xs: 'start', md: 'center' }\). It also adds a new \stretch\ value to the \align\ prop and supports string-based CSS units for the \gutter\ property. The implementation replaces legacy Less-based styles with generated CSS variables and uses \clsx\ for class name handling, improving performance and consistency with the rest of the component library.

components/grid · high confidence

Grid styles now use CSS variables for better theme integration and conflict resolution

The Grid component's styling has been refactored to generate CSS variables via the \genCssVar\ hook, allowing grid properties like column widths and display modes to be overridden by CSS variables. This change specifically resolves conflicts where Form styles (which set \display: flex\ on columns) would incorrectly override the Grid's default \display: block\ behavior, ensuring the grid layout remains intact. Additionally, the style generation now supports responsive flex settings and includes fixes for offset handling on small screens and the \space-evenly\ justification option.

components/grid/style · high confidence

Homepage components rewritten with CSS-in-JS and design tokens

The homepage components (BannerRecommends, BannerSponsors, ComponentsList, DesignFramework, Group) have been refactored to use antd-style's createStyles and CSS variables (cssVar) instead of hardcoded styles. This enables dynamic theming, dark mode support, and consistent design tokens across the site. New features include a mouse-tracking hover effect on recommendation cards, sponsor display with bilingual support, and improved mobile responsiveness.

.dumi/pages/index/components · high confidence

Icon search page rewritten with new component structure and search capabilities

The IconSearch page has been completely rewritten to improve searchability and user experience. The search bar now automatically scrolls to the icon list when a query is entered, and the results are grouped by theme (Outlined, Filled, TwoTone) in the 'All' view. A new 'All' filter option allows users to see all icons regardless of theme. The page also supports copying icon names to the clipboard, with visual feedback for successful copies. New icons from version 6.5.0 are marked with a badge. The search functionality has been optimized with debouncing and improved matching logic, including support for searching by icon tags and names. The page also includes a skeleton loading state for better perceived performance.

.dumi/theme/builtins/IconSearch · high confidence

ImagePreview component migrated to TypeScript with improved image handling

The ImagePreview builtin component has been rewritten in TypeScript, replacing the previous JavaScript implementation. This change introduces support for the \clsx\ library for class name management and integrates with \@rc-component/util\ for array handling. The component now explicitly defines its props interface, including a \pure\ mode that removes padding and background styling. Additionally, images within the preview are now set to be non-draggable (\draggable={false}\), and the rendering logic has been refined to better handle comparable image sets and carousel views using specific CSS classes.

.dumi/theme/builtins/ImagePreview · high confidence

Input components migrated to rc-input with semantic styling and variant support

The Input, TextArea, Search, Password, and OTP components have been refactored to use the underlying rc-input library, introducing a new semantic DOM structure that allows granular customization via \classNames\ and \styles\ props for internal elements like the root, prefix, suffix, and clear icon. The legacy \bordered\ prop is deprecated in favor of the \variant\ prop (supporting \outlined\, \borderless\, \filled\, and \underlined\ states), and \addonBefore\/\addonAfter\ are deprecated in favor of \Space.Compact\. Additionally, \Input.Group\ is now a deprecated wrapper around \Space.Compact\ to maintain backward compatibility while encouraging the new layout pattern.

components/input · high confidence

InputNumber documentation and component interface updates

The InputNumber component's documentation has been refreshed to reflect current API capabilities, including the deprecation of \addonBefore\ and \addonAfter\ in favor of \Space.Compact\, the introduction of the \variant\ prop for styling (outlined, borderless, filled, underlined), and new features like \changeOnWheel\, \classNames\/\styles\ for semantic customization, and \focus\/\blur\ ref methods. The component implementation now supports these variants and semantic styling hooks, while maintaining backward compatibility for deprecated props with warnings.

components/input-number · high confidence

InputNumber style system refactored to use CSS variables and variant support

The InputNumber component's styling has been rewritten to use a token-based system with CSS variables, replacing hardcoded values. This change introduces support for multiple visual variants (outlined, filled, underlined, and borderless) and ensures consistent sizing and padding across different component states. Users will see improved handling of disabled states, better alignment with other input components, and the ability to customize appearance through theme tokens like handle colors and border styles.

components/input-number/style · high confidence

Layout component styles migrated to CSS-in-JS with design tokens

The Layout component's styling has been rewritten using the new CSS-in-JS system, replacing the previous Less-based styles. This change introduces a comprehensive set of design tokens (such as \headerBg\, \siderBg\, \triggerHeight\) that allow for granular customization of the Layout, Header, Footer, and Sider components. Users can now customize these visual properties via the theme configuration, and the Sider component specifically supports ConfigProvider themes and respects border design tokens. Deprecated tokens like \colorBgHeader\ are mapped to new equivalents (\headerBg\), ensuring backward compatibility while modernizing the styling architecture.

(repo-wide) · high confidence

Layout components rewritten with hooks and semantic styling

The Layout components (Sider, Header, Footer, Content) have been refactored to use React hooks instead of class components, improving performance and bundle size. The Sider now supports responsive breakpoints via a new \breakpoint\ prop and \onBreakpoint\ callback, and allows customizing internal semantic structures (root, body) via \classNames\ and \styles\ props. The Layout container automatically detects Sider children to apply the \has-sider\ class, preventing SSR flickering, and passes context to Sider for collapse state management. All components now support CSS variables and semantic design tokens.

components/layout · high confidence

Legacy QRCode import paths maintained for backward compatibility

The \components/qrcode\ directory now serves as a compatibility layer that re-exports the main QRCode component, its interface definitions, and its styles from the new \qr-code\ location. This ensures that existing applications importing from the old \components/qrcode\ path continue to function without modification, while developers are encouraged to migrate to the new \qr-code\ path.

components/qrcode · high confidence

List component deprecated with migration guidance to Listy

The List component is now marked as deprecated and will be removed in the next major version. The documentation includes a dedicated FAQ section explaining that Listy (available since antd 6.6.0) is the recommended replacement, detailing how to map List props like dataSource, renderItem, rowKey, header, footer, and loading to Listy's items, itemRender, and surrounding components. The List.Item component now supports semantic classNames and styles for actions and extra content, and the grid configuration includes a new xxxl breakpoint (≥1920px).

components/list · high confidence

List component styling migrated to new token-based system

The List component's styling logic has been rewritten to use the new design token system (genStyleHooks), replacing the previous Less-based implementation. This introduces new ComponentTokens for granular control over list item padding (itemPadding, itemPaddingSM, itemPaddingLG), header/footer background colors, and meta alignment, while also fixing legacy token propagation issues and improving responsive behavior for bordered lists and grid layouts.

components/list/style · high confidence

Mentions component documentation and implementation updated for v6

The Mentions component in this location has been updated to align with version 6.0.0 standards. The implementation now supports semantic customization via \classNames\ and \styles\ props (available since 6.0.0), allowing users to target specific internal structures like the root, textarea, popup, and suffix. The documentation has been refreshed to reflect these new capabilities, along with other existing features such as \allowClear\ (with \disabled\ support in 6.4.0), \variant\ (including \underlined\), \status\, and \popupRender\. The component also inherits configuration from \ConfigProvider\ and \Form\, ensuring consistent styling and behavior across the application.

components/mentions · high confidence

Mentions component styling refactored to use CSS variables and input variants

The Mentions component's styling has been migrated to use the new CSS variable system (via genCssVar) and now inherits the Input component's variant styles (outlined, filled, borderless, underlined). This change ensures consistent theming and allows users to customize the Mentions dropdown and input area using the same token structure as other form components.

components/mentions/style · high confidence

The Menu component has been refactored to use a new internal context structure (MenuContext, OverrideContext) and now supports granular customization of semantic DOM structures via new \classNames\ and \styles\ props. This change introduces a new \MenuContext\ to manage state like \inlineCollapsed\ and \theme\ across nested items, and updates \MenuItem\, \SubMenu\, and \MenuDivider\ to consume these semantic styles. The component also integrates with \@rc-component/menu\ for core rendering while adding Ant Design-specific features like controlled tooltip states to prevent flash during collapse transitions and improved handling of the \Layout.Sider\ context.

components/menu · high confidence

Message component adopts Notification styling architecture

The Message component's styling logic has been refactored to share the token system and base styles with the Notification component. This change introduces specific component tokens for Message (such as \zIndexPopup\, \contentBg\, and \contentPadding\) and implements a dedicated style hook that maps these to the shared Notification token structure. Users benefit from consistent visual design and token-based customization between Message and Notification components, while the underlying implementation now leverages the Notification's shared style generation utilities.

components/message/style · high confidence

Message component refactored with hooks API and semantic styling support

The Message component has been restructured to introduce a recommended \useMessage\ hook API, which resolves context access issues by providing a \contextHolder\ for proper integration with React Context and ConfigProvider. The implementation now leverages \@rc-component/notification\ for the underlying rendering and supports semantic customization via \classNames\ and \styles\ props, allowing users to target specific internal structures like wrappers, icons, and titles. Additionally, the component now supports a \stack\ configuration to collapse multiple messages and includes a \pauseOnHover\ option to control timer behavior during interaction.

components/message · high confidence

The Modal component has been refactored to support granular semantic styling via \classNames\ and \styles\ props, allowing customization of internal structures like the header, body, and footer. Deprecated props such as \destroyOnClose\, \maskClosable\, and \autoFocusButton\ have been replaced by their modern equivalents (\destroyOnHidden\, \mask.closable\, and \focusable.autoFocusButton\). Additionally, a new \focusable\ configuration object provides better control over focus trapping and trigger focusing, and the static method \Modal.destroy\ has been renamed to \Modal.destroyAll\ to clarify its purpose of closing all confirmation dialogs.

components/modal · high confidence

The Modal component's confirm dialog styling has been refactored to improve layout and responsiveness. The new styles ensure the confirm body content is properly centered and constrained, preventing dramatic width increases by applying a max-width calculation that accounts for the icon and margins. Additionally, the footer button alignment is corrected, and specific token-based styles are introduced for the confirm icon, title, and body padding, ensuring consistent visual hierarchy across different confirm types (info, success, warning, error).

components/modal/style · high confidence

The Modal demo files have been rewritten to reflect the API migration from \visible\ to \open\ for controlling modal visibility. The demos now showcase updated features including the \mousePosition\ prop for controlling animation origins, the \centered\ prop for vertical alignment, and responsive \width\ configuration. Additionally, the static \Modal.destroy\ method has been replaced with \Modal.destroyAll\ in the router demo, and the \Modal.useModal\ hook is now the primary pattern for demonstrating context-aware usage, promise-based confirmations, and manual instance management.

components/modal/demo · high confidence

Motion styles refactored into modular, token-driven modules

The motion style generation in \components/style/motion\ has been restructured from a monolithic implementation into separate, focused modules (\collapse\, \fade\, \move\, \slide\, \zoom\, \util\). This change introduces a unified \initMotion\ core that leverages \@ant-design/cssinjs\ Keyframes and design tokens (such as \motionDurationMid\ and \motionEaseInOut\) to generate CSS, replacing previous hardcoded values. The refactoring also adds a \sameLevel\ parameter to motion initializers to correctly handle CSS selector nesting for both child and same-element animations, and includes a \genNoMotionStyle\ utility that respects the \prefers-reduced-motion\ accessibility setting.

components/style/motion · high confidence

New GlobalLayout component with advanced theme and state management

The site now uses a new GlobalLayout component that manages theme state (light, dark, auto, compact) via URL search parameters and local storage, supports system theme detection, and integrates Ant Design's CSS-in-JS with algorithms for different themes. It also handles responsive mobile mode, banner visibility with local storage caching, and direction (LTR/RTL) synchronization.

.dumi/theme/layouts · high confidence

New Sidebar component with CSS token styling and React 19 compatibility

The documentation site now uses a new Sidebar component that replaces previous layout logic. This component adopts CSS tokens and the \antd-style\ library for styling, ensuring consistent theming across light and dark modes. It also updates the codebase to use \React.use\ for context consumption, aligning with React 19 standards, and implements specific styling for menu items, groups, and scrollbars to improve the visual hierarchy and usability of the navigation.

.dumi/theme/slots/Sidebar · high confidence

New documentation site layout with RTL, theme, and layout-hiding support

The site now uses a new DocLayout component that supports right-to-left (RTL) rendering via the ConfigProvider's direction prop, applies the AlibabaSans font family, and allows hiding the header layout by appending ?layout=false to the URL. It also handles hash-based scrolling after page load, sets locale-specific dayjs settings, and renders appropriate sub-layouts (IndexLayout, ResourceLayout, SidebarLayout) based on the current path.

.dumi/theme/layouts/DocLayout · high confidence

New homepage layout with lazy-loaded sections and theme-aware styling

The site's home page has been replaced with a new layout that renders content in collapsible groups: a component list and a design framework section. These sections are loaded lazily via React.lazy to improve initial load performance. The page now uses createStaticStyles for CSS and integrates with the site's dark mode context, applying specific background colors based on the theme. It also includes a banner recommendation area and a theme preview component with a prompt drawer for theme customization.

.dumi/pages/index · high confidence

New responsive hooks for breakpoint detection and gutter calculation

The grid system now exposes two new hooks to improve responsive behavior and layout flexibility. The \useBreakpoint\ hook allows components to subscribe to screen size changes and optionally trigger re-renders when the active breakpoints change, ensuring UI updates reactively to viewport modifications. The \useGutter\ hook centralizes gutter logic, enabling the \Row\ component to support string-based gutter values and object-based responsive configurations (e.g., different gutters per breakpoint), falling back to a default set of screens including the new \xxxl\ breakpoint.

components/grid/hooks · high confidence

New theme utility functions and token aliasing logic

This change introduces several new utility modules in the theme system: \alias.ts\ defines the mapping from seed/derivative tokens to developer-facing alias tokens (including specific calculations for shadows, screen breakpoints, and focus line widths); \getAlphaColor.ts\ provides a new algorithm to calculate alpha colors based on background contrast; \genPresetColor.ts\ handles CSS generation for preset color scales; \genStyleUtils.ts\ exports standardized hooks for style generation (\genStyleHooks\, etc.) and CSS variable helpers; and \useResetIconStyle.ts\ adds a hook to register default icon styles. These utilities form the backend logic for the theme system's token resolution and style generation.

components/theme/util · high confidence

Notification component refactored with new internal architecture and semantic customization

The Notification component has been restructured to use new internal components (PureList, PurePanel) and a dedicated hook (useStackConfig) for managing stack behavior. This change introduces support for semantic customization via \classNames\ and \styles\ props (available in v6.0.0), allowing users to target specific internal DOM structures like icons, titles, and descriptions. The update also includes a global configuration system that manages task queues for notification rendering, ensuring proper context handling and synchronization with the App component. Additionally, the component now supports CSS variables for styling and integrates with the ConfigProvider for global settings like placement, duration, and RTL mode.

components/notification · high confidence

Notification demo suite rewritten for hooks and semantic customization

The notification demo files have been completely rewritten to demonstrate the modern hooks-based API (\notification.useNotification\) instead of static methods, ensuring proper \ConfigProvider\ context consumption. The demos now showcase new customization capabilities, including component tokens for background colors and progress bars, semantic DOM structure styling via \styles\ and \classNames\, and the \pauseOnHover\ feature for progress bars. Additional demos illustrate notification stacking, custom icons, and placement options.

components/notification/demo · high confidence

Pagination component rewritten with hooks and semantic styling support

The Pagination component has been refactored to use React hooks (replacing the previous class-based or context-heavy implementation) and now supports semantic customization via \classNames\ and \styles\ props, allowing users to target specific internal structures like \root\ and \item\. The component also integrates with the ConfigProvider for global theme and size configuration, supports responsive sizing via the \responsive\ prop, and allows customizing the size changer component via the \components\ prop. Documentation has been updated to reflect these new capabilities and the semantic DOM structure.

components/pagination · high confidence

Pagination component styles refactored with new token system and bordered variant

The Pagination component's styling has been completely rewritten to use a new token-based architecture, introducing granular control over visual properties such as item background colors, active states, and disabled states via new tokens like \itemBg\, \itemActiveColor\, and \itemActiveBgDisabled\. A new \bordered\ style variant has been added, allowing pagination items to display with explicit borders and specific disabled/hover states. The refactoring also aligns the Pagination size changer and quick jumper inputs with the Input component's styling system, ensuring consistent sizing and focus outlines across components.

components/pagination/style · high confidence

Popconfirm component refactored with PurePanel and semantic styling support

The Popconfirm component has been restructured to extract its internal overlay content into a new PurePanel implementation, separating the presentation layer from the control logic. This change introduces support for semantic class names and styles, allowing users to customize specific parts of the component (such as the icon, title, and buttons) via the new \classNames\ and \styles\ props. The component now relies on \clsx\ for class merging and integrates with the ConfigProvider for consistent prefixing and global configuration, while maintaining existing API compatibility for properties like \title\, \description\, \okText\, and \cancelText\.

components/popconfirm · high confidence

Popconfirm demos rewritten for v6 with open prop and semantic styling

The Popconfirm demo files in components/popconfirm/demo have been completely rewritten. The demos now use the open prop instead of visible to control visibility, and include new examples for async confirmation, promise-based closing, dynamic triggers, and semantic DOM styling via classNames and styles. The basic demo now supports the description prop (available since v5.1.0), and the placement demo demonstrates all twelve placement options with arrow centering. A new semantic preview demo (\_semantic.tsx) illustrates the component's internal structure for styling purposes.

components/popconfirm/demo · high confidence

Popover component restructured with PurePanel and semantic styling support

The Popover component has been refactored to support granular customization of its internal structure via new \classNames\ and \styles\ props, allowing users to target semantic elements like the title and content. A new \PurePanel\ implementation (\\_InternalPanelDoNotUseOrYouWillBeFired\) provides a lightweight, standalone panel for advanced use cases, while the main component now integrates with the ConfigProvider for global trigger and delay settings and uses \clsx\ for class management.

components/popover · high confidence

Popover demo site overhaul

The Popover documentation has been completely rewritten to showcase the component's current capabilities. New demos demonstrate the \open\ prop for controlled visibility, the \arrow\ property for hiding or centering the arrow, and the \classNames\/\styles\ props for semantic customization. The collection also includes examples for hover-and-click interactions, all twelve placement options, scroll-based shifting, and component token debugging.

components/popover/demo · high confidence

Popover styling migrated to CSS variables and drop-shadow

The Popover component's style logic has been rewritten to use the new CSS variable generation system (genCssVar) and numeric font weights. This change introduces drop-shadow for the Popover and Tooltip arrows to fix previous shadow rendering issues, updates the arrow offset logic to use 'arrow-offset-x' for correct transformOrigin, and ensures consistent styling via the new token system.

components/popover/style · high confidence

Progress component refactored into modular sub-components with semantic styling support

The Progress component has been restructured into distinct sub-components (Circle, Line, Steps) to improve maintainability and enable granular customization. This change introduces support for semantic class names and inline styles via the \classNames\ and \styles\ props, allowing users to target specific internal structures (root, body, rail, track, indicator) for styling. The refactoring also includes updates to the API, such as deprecating \trailColor\ in favor of \railColor\, standardizing \gapPosition\ to \gapPlacement\, and adding support for custom gradient lines and step-specific stroke colors.

components/progress · high confidence

Progress component styles migrated to TypeScript with token-based theming

The style definitions for the Progress component have been rewritten in TypeScript (index.ts) to support the new design-token system. This change introduces configurable tokens for visual properties such as default and remaining colors, border radius, text/icon sizes, and animation duration, allowing users to customize the appearance of line and circular progress bars via the theme configuration. The implementation also includes specific styles for status indicators (success, exception) and the active animation state, ensuring consistent styling across different progress types.

components/progress/style · high confidence

QRCode component refactored with rc-qrcode and enhanced status rendering

The QRCode component has been migrated from qrcode.react to @rc-component/qrcode, enabling better integration with the library's ecosystem. This change introduces a new QrcodeStatus sub-component to handle status overlays (expired, loading, scanned) more robustly, ensuring the onRefresh method is correctly passed through to custom status renderers. The component now supports a nativeElement ref for imperative access, allows custom styling for semantic structures via classNames and styles props, and integrates with ConfigProvider for global QRCode configuration. Documentation has been updated to reflect these API changes and new features like marginSize and boostLevel.

components/qr-code · high confidence

QRCode component styling now uses design tokens and supports cover/background customization

The QRCode component's visual presentation is now driven by a token-based style system, allowing users to customize the text color and the background color of the cover overlay via \QRCodeTextColor\ and \QRCodeCoverBackgroundColor\ tokens. The styling leverages \FastColor\ for color manipulation and integrates with the component's scanned/expired status states, ensuring consistent theming across the application.

components/qr-code/style · high confidence

QRCode demo updates: status, rendering, and customization

The QRCode component demos now showcase the new \status\ prop (supporting \loading\, \expired\, and \scanned\ states) and the \statusRender\ callback for customizing the UI of these states. Additionally, demos illustrate the \type\ prop for choosing between \canvas\ and \svg\ rendering, and the \styles\/\classNames\ props for semantic customization of the QRCode's internal structure.

components/qr-code/demo · high confidence

Radio component refactored to use rc-component and support semantic styling

The Radio component has been rewritten to use the underlying \@rc-component/checkbox\ library, replacing the previous internal implementation. This change introduces support for granular semantic styling via \classNames\ and \styles\ props on both \Radio\ and \Radio.Group\, allowing customization of internal structures like the root, icon, and label. The \Radio.Group\ now manages state and context internally using React Context to pass props like \optionType\, \block\, and \disabled\ to children, and supports rendering options via the \options\ prop with individual \className\, \id\, and \required\ attributes. The component also adopts CSS variables for theming and includes a new \context.ts\ file to manage group state.

components/radio · high confidence

Radio component styling refactored to support vertical layout and block mode

The Radio component's styling logic has been updated to introduce a new 'vertical' layout mode for Radio groups, allowing items to stack in a column rather than the default horizontal row. Additionally, a 'block' mode is now supported for Radio groups, enabling them to expand to full width. The styling implementation has been refactored to use CSS variables more effectively, specifically skipping zIndex in certain variable generations and replacing background transitions with background-color for better performance. Several visual fixes are included, such as correcting hover states for disabled radios, ensuring consistent width in grouped radios, and fixing margin issues in vertical mode to prevent jagged edges or overflow.

components/radio/style · high confidence

Rate component demos updated to TypeScript and Flex layout

The Rate component documentation demos in components/rate/demo have been rewritten from JavaScript to TypeScript (.tsx) and updated to use the Flex component for layout. This change reflects the component's support for new features such as custom characters (including icons and text), half-star selection, size variants, clearable ratings, and detailed tooltip configurations, ensuring the examples align with the current API and styling system.

components/rate/demo · high confidence

Rate component styling migrated to TypeScript with token-driven size support

The Rate component's style definition has been converted from JavaScript to TypeScript, introducing a structured token system for star appearance. This change adds explicit component tokens for star color, background, hover scale, and sizes (small, default, large), enabling users to customize the Rate component's dimensions and colors via theme configuration. The styling now supports small and large variants through dedicated size tokens and includes improved focus-visible outlines for accessibility.

components/rate/style · high confidence

Redesigned Button documentation with new demo structure and semantic preview

The Button component's documentation has been completely rewritten using modern React patterns. All demo files (basic, block, color-variant, loading, etc.) now use functional components and the Flex layout for consistent spacing. A new 'Semantic Preview' demo visualizes the Button's internal DOM structure (root, content, icon) with descriptions. The demos also showcase the new \color\ and \variant\ properties, \iconPlacement\, and custom disabled background colors via theme tokens.

components/button/demo · high confidence

Redesigned color documentation with interactive palette tools and dark mode support

The color documentation site has been rebuilt using new React components (ColorBlock, ColorPaletteTool, ColorPalettes, etc.) to provide a richer user experience. Users can now interact with a ColorPicker to generate and validate color palettes, with built-in warnings for low saturation or brightness. The documentation now supports dark mode, allowing users to preview how color palettes appear against dark backgrounds. Additionally, all color values can be copied to the clipboard with a single click, and the interface is fully internationalized with English and Chinese translations.

.dumi/theme/common/Color · high confidence

Redesigned demo previewer with split architecture and modernized sandbox environments

The Previewer component has been refactored into a modular structure (Actions, CodePreviewer, DesignPreviewer, etc.) to support distinct rendering modes: standard code demos and design-focused previews. The code sandbox experience is modernized by switching the Stackblitz runtime from Create React App to Vite with React 19, and updating CodePen to use React 18 UMD. A new CodeBlockButton enables internal Hitu code block integration, while the Actions menu now includes a sticky code-hide button and improved accessibility. Design tabs now render via a dedicated DesignPreviewer that allows copying component layouts to Sketch JSON.

.dumi/theme/builtins/Previewer · high confidence

Redesigned documentation page layout with new meta, anchor, and contributor components

The documentation content area has been restructured with new components: a fixed Table of Contents anchor (DocAnchor) that uses CSS logical properties for RTL support and displays debug demos when enabled; a DocMeta section showing author avatars and dates; a Contributors list that fetches and displays static contributor data with loading skeletons; and a ColumnCard linking to Zhihu, Yuque, and Juejin columns. The main Content slot now integrates these elements, adds a BackTop button with scroll progress, and supports component import metadata and LLMs markdown links.

.dumi/theme/slots/Content · high confidence

Redesigned homepage banner with animated luminous background

The homepage PreviewBanner component has been replaced with a new implementation featuring an animated, glowing background effect. This change introduces a new LuminousBg component that renders floating, blurred 'bubbles' with randomized positions, sizes, and opacities that shift over time, creating a dynamic visual experience. The banner now uses CSS logical properties for layout, supports dark mode via the DarkContext, and includes a Suspense boundary for the background component to ensure smooth loading. The typography and button layout remain, but the overall aesthetic is updated with a more modern, immersive feel.

.dumi/pages/index/components/PreviewBanner · high confidence

Refactor Transfer component data and selection logic into dedicated hooks

The Transfer component's internal logic has been restructured by extracting data processing and selection management into two new hooks: \useData\ and \useSelection\. The \useData\ hook now handles the mapping of data sources using the \rowKey\ and splits records into left and right datasets based on \targetKeys\. The \useSelection\ hook manages selected keys, ensuring they remain valid when the underlying data changes by filtering out stale selections and resetting them when data keys shift. This change improves the modularity and maintainability of the Transfer component's state management.

components/transfer/hooks · high confidence

Refactor modal button components to support onClose callback

The modal component's internal button logic has been refactored into dedicated sub-components (ConfirmCancelBtn, ConfirmOkBtn, NormalCancelBtn, NormalOkBtn). This change introduces an \onClose\ callback that is now invoked alongside existing actions (like \onCancel\ or \onOk\) when buttons are clicked, ensuring that closing logic is consistently triggered. Additionally, the normal cancel button now correctly preserves and executes any custom \onClick\ handler provided in \cancelButtonProps\ alongside the internal cancel action.

components/modal/components · high confidence

Refactored Image preview and placeholder configuration hooks

The Image component's internal logic for handling preview and placeholder configurations has been restructured into dedicated hooks. \usePreviewConfig\ now normalizes preview settings, maps deprecated props (such as \visible\ to \open\, \onVisibleChange\ to \onOpenChange\, and \toolbarRender\ to \actionsRender\), and emits deprecation warnings for legacy usage. \useMergedPreviewConfig\ centralizes the merging of preview context, managing z-index, mask closability, and root class names using \clsx\. Additionally, \usePlaceholderConfig\ extracts progress-related settings from placeholder configurations. These changes improve the maintainability of the Image component's configuration handling while ensuring backward compatibility through explicit deprecation notices.

components/image/hooks · high confidence

Refactored Table filter dropdown into modular hook components

The table filtering logic has been restructured into a dedicated \useFilter\ hook with extracted sub-components (\FilterDropdown\, \FilterSearch\, \FilterWrapper\). This change introduces a new \filterOnClose\ column prop to control whether the dropdown closes upon filtering, supports function-based \filterSearch\ for custom filtering logic, and adds \defaultFilteredValue\ for uncontrolled column initialization. The refactoring also improves keyboard accessibility by preventing sort triggers on Enter within the filter dropdown and ensures filter state persistence while the dropdown is visible.

components/table/hooks/useFilter · high confidence

Refactored component styling infrastructure and added vertical compact mode support

The \components/style\ directory has been restructured to improve theme integration and expand layout capabilities. A new \compact-item-vertical.ts\ module was added to provide styling for vertical compact item arrangements, handling border collapsing and radius adjustments for vertical stacks. The core styling engine was refactored to migrate internal types (such as \OverrideComponent\, \TokenWithCommonCls\, and \CSSUtil\) to use \@ant-design/cssinjs-utils\, simplifying transition style generation and enabling CSS variable support for components like Tooltip, Popover, Dropdown, and DatePicker. Additionally, the \placementArrow.ts\ module was updated to use CSS variables for arrow positioning (renaming \arrow-offset-horizontal\ to \arrow-offset-x\) and to implement drop-shadow effects for improved arrow rendering, while \reset.css\ was updated to remove legacy mark styles and the \@-ms-viewport\ rule.

components/style · high confidence

Refreshed Dropdown demos to align with v6 API and design system

The demo files in components/dropdown/demo have been completely rewritten to reflect the latest Dropdown API and styling capabilities. Key updates include replacing the deprecated Dropdown.Button with Space.Compact + Dropdown + Button, switching the visibility control from 'visible' to 'open', and adopting the 'items' array format for menu configuration. The demos now utilize the 'styles' and 'classNames' props for semantic customization, demonstrate the new 'arrow' configuration (including pointAtCenter), and showcase features like 'popupRender' for custom overlays, 'selectable' menus, and context menu triggers.

components/dropdown/demo · high confidence

Replace legacy icon components with SVG-based wrappers

The site's theme icons (CodePen, CodeSandbox, Direction, Expand, ExternalLink, Hitu, Juejin) have been rewritten as React components that render inline SVGs, replacing the previous implementation. This change removes the use of \forwardRef\ and \findDOMNode\ in these components, which resolves deprecation warnings in React 18+, and ensures icons are rendered directly as SVG elements for better compatibility and performance.

.dumi/theme/icons · high confidence

Result component receives a major overhaul with semantic styling and new exception icons

The Result component has been significantly updated to support granular customization via new \classNames\ and \styles\ props, allowing users to target specific semantic structures (root, title, subTitle, body, extra, icon) using either objects or functions. This change also introduces new SVG-based icons for the 403, 404, and 500 status codes, replacing the previous implementations, and updates the component's internal architecture to use \clsx\ for class merging and \@rc-component/util\ for attribute handling.

components/result · high confidence

Result component styles migrated to CSS-in-JS with customizable tokens

The styling logic for the Result component has been moved into a dedicated TypeScript module using the CSS-in-JS system. This change introduces new design tokens, allowing users to customize the title and icon font sizes (now accepting both numbers and strings), as well as the margin for the extra area. It also establishes specific token variables for status icon colors (success, error, info, warning), enabling more granular theme control over the component's visual appearance.

components/result/style · high confidence

Rewritten Checkbox demos with TypeScript and semantic customization examples

The Checkbox documentation demos have been completely rewritten in TypeScript (\.tsx\) and updated to use modern React patterns (functional components with hooks). This change introduces new demonstration scenarios, including a semantic structure preview (\\_semantic.tsx\) that visualizes the component's internal DOM parts (root, icon, label) for version 6.0.0, and a new \style-class\ demo showing how to customize these semantic parts using the \classNames\ and \styles\ props with both object and function-based approaches. Existing demos like \basic\, \check-all\, \group\, and \disabled\ have also been modernized to reflect current best practices.

components/checkbox/demo · high confidence

Segmented component style implementation and tokenization

The styling logic for the Segmented component has been consolidated into a dedicated style module, introducing a comprehensive token system for controlling item colors (text, hover, active, selected), container padding, and background. This change establishes the visual foundation for the component, including support for vertical layout orientation, block display mode, and proper focus outlines for accessibility, while ensuring smooth transitions and correct rendering of selected states and icons.

components/segmented/style · high confidence

Select component demos rewritten for v5

The Select component documentation has been completely updated with new demo files that showcase v5 features and patterns. Key additions include demos for the new \variant\ prop (outlined, filled, borderless), \status\ (error, warning), \maxCount\ for limiting selections, and \prefix\ support. The demos now utilize the \options\ prop instead of \Option\ children, demonstrate \ConfigProvider\ theme tokens for customization, and include examples for \popupRender\, \labelRender\, \tagRender\, and \optionRender\. Additional demos cover virtual scrolling for large datasets, remote search with debouncing, and responsive tag collapsing.

components/select/demo · high confidence

Select component restructured for v6 with semantic styling and deprecated API cleanup

The Select component has been refactored for version 6, introducing a new semantic DOM structure that allows granular customization via \classNames\ and \styles\ props (e.g., \classNames.popup.root\). Several legacy props have been deprecated in favor of modern alternatives: \bordered\ is replaced by \variant\, \showArrow\ by \suffixIcon\, \dropdownClassName\/\dropdownStyle\/\popupClassName\ by the new semantic style objects, and \dropdownRender\ by \popupRender\. The component now supports global configuration for icons (like \loadingIcon\, \suffixIcon\, \clearIcon\) via ConfigProvider and includes new hooks like \usePopupRender\ to isolate context for custom dropdown content.

components/select · high confidence

Select component styles refactored to use CSS variables and modular structure

The styling for the Select component has been restructured into modular files (dropdown, select-input, token) and migrated to use CSS variables via the \genCssVar\ hook. This change introduces new design tokens for customizing option states (selected, active), multi-select tag appearance (background, border, height), and input variants, allowing for more granular theme control. It also standardizes the visual behavior of the clear button, dropdown animations, and input states across different sizes and variants.

components/select/style · high confidence

Skeleton component rewritten with new sub-elements and semantic styling

The Skeleton component has been completely refactored to support granular sub-elements (Avatar, Button, Input, Image, Node, Title, Paragraph) and advanced customization via semantic classNames and styles. This change introduces a new internal Element component for shared shape/size logic, replaces the classnames library with clsx for performance, and integrates with the ConfigProvider for size and prefix handling. Users can now independently control the styling of specific skeleton parts (e.g., avatar vs. paragraph) and use new props like \round\ for titles/paragraphs and \block\ for buttons/inputs.

components/skeleton · high confidence

Skeleton component styling refactored with new token system

The Skeleton component's styling logic has been rewritten to use a new token-based system, introducing specific design tokens for gradient colors (gradientFromColor, gradientToColor), title height, block radius, and paragraph spacing. This change replaces the previous hardcoded or less granular styling approach, allowing for more precise customization of the skeleton's appearance, including the loading animation colors and dimensions for various sub-elements like avatars, inputs, and images.

components/skeleton/style · high confidence

Skeleton demo updates: semantic structure, element variants, and customization

The Skeleton component demos have been refreshed to showcase its full capabilities. New semantic documentation demos (\_semantic.tsx, \_semantic\_element.tsx) explain the internal structure (root, header, section, avatar, title, paragraph) and allow interactive preview of specific sub-elements (Avatar, Button, Input, Image, Node). The element demo now includes controls for size, shape (square, circle, round, default), and block mode, reflecting recent style and feature additions. A new style-class demo demonstrates customizing the skeleton's appearance using the \classNames\ and \styles\ props, including dynamic styling based on the \active\ state. Existing demos (basic, active, complex, children, list, componentToken) have been updated to use current APIs and patterns.

components/skeleton/demo · high confidence

The .claude/skills symlink has been updated to point to the new location at ../.agents/skills, reflecting a move of the underlying skills directory structure.

.claude · high confidence

Slider component rewritten with semantic styling and internal context

The Slider component has been refactored to support granular customization of its internal structure via new \classNames\ and \styles\ props, which accept objects or functions targeting semantic DOM nodes (root, tracks, track, rail, handle). This change introduces a new \SliderInternalContext\ to share configuration like direction and handle rendering, and replaces the previous tooltip implementation with a dedicated \SliderTooltip\ component that manages visibility and alignment more robustly. The API also standardizes orientation handling (prioritizing \orientation\ over \vertical\) and deprecates legacy style props (\handleStyle\, \trackStyle\, \railStyle\) in favor of the new semantic \styles\ object.

components/slider · high confidence

Slider demo suite rewritten with new features and semantic styling

The Slider demo files have been completely rewritten to showcase updated component capabilities. New demos demonstrate per-handle disabling in range mode, editable range sliders with min/max count constraints, draggable tracks, and reversed orientation. The suite also includes examples for the new \tooltip.open\ and \tooltip.formatter\ APIs, semantic DOM customization via \classNames\ and \styles\ (including function-based styles), and a dedicated Component Token debug page for visualizing theme variables. Existing demos for basic usage, marks, vertical orientation, and event handling have been modernized to use React functional components and hooks.

components/slider/demo · high confidence

Slider style module refactored to use CSS-in-JS and FastColor

The Slider component's styling has been migrated from legacy stylesheets to a CSS-in-JS implementation (index.ts), introducing granular design tokens for rail, track, and handle dimensions and colors. This change also replaces the TinyColor library with FastColor for color manipulation and adds a Safari-specific fix to prevent text selection when dragging the slider handle.

components/slider/style · high confidence

Space component demo updates

The Space component documentation has been refreshed with new and updated demos. A new semantic preview demo illustrates the component's internal structure (root, item, separator). Alignment options are now demonstrated with a dedicated demo showing center, start, end, and baseline modes. The Space.Compact section has been expanded to include vertical orientation support for buttons, nested compact layouts, and extensive debugging examples for form inputs, popovers, and context menus. Additional demos cover separators, customizable sizes (including custom spacing), and auto-wrapping. The documentation also introduces demos for customizing the Space's semantic DOM structure via \classNames\ and \styles\ props, and demonstrates theming \Space.Addon\ using \ConfigProvider\.

components/space/demo · high confidence

Space component styles migrated to CSS variables and design tokens

The Space component's styling logic has been refactored to use the new CSS variable system and design tokens. This change introduces dedicated style modules for the Space container, its compact mode, and the Space.Addon sub-component, ensuring consistent theming via CSS variables (e.g., for borders, backgrounds, and colors) and supporting design tokens for gap sizes and variant states.

components/space/style · high confidence

Spin component demos updated to v6 semantic structure and new features

The Spin component documentation has been refreshed with new and rewritten demos that showcase the updated v6 semantic DOM structure (root, section, indicator, description, container) and its customization via \classNames\ and \styles\. New examples demonstrate the \fullscreen\ mode for page-level loading, the \percent\ prop for progress indication (including an indeterminate 'auto' mode), and the \delay\ prop to prevent flickering on fast operations. Existing demos have been modernized to use React 18 patterns, the \Flex\ layout component, and the new \@ant-design/icons\ API, while adding specific examples for custom indicators, nested spins, and description tips.

components/spin/demo · high confidence

Spin component styles migrated to CSS-in-JS with CSS variable support

The Spin component's styling has been rewritten to use the CSS-in-JS system, enabling support for CSS variables and semantic token customization. This change introduces new component tokens for controlling content height and loading icon sizes (small, default, large), while also adding transition effects for the fullscreen loading state and fixing pointer-event handling to ensure proper interaction blocking in fullscreen mode.

components/spin/style · high confidence

Statistic component refactored with semantic styling and Timer support

The Statistic component has been restructured to support granular semantic styling via new \classNames\ and \styles\ props, allowing customization of internal nodes like \root\, \content\, \value\, \title\, \header\, \prefix\, and \suffix\. The deprecated \valueStyle\ prop is now aliased to \styles.content\. A new \Statistic.Timer\ sub-component replaces the legacy \Statistic.Countdown\, offering both countdown and countup modes with \onFinish\ and \onChange\ callbacks. The component now uses \clsx\ for class merging, supports \loading\ states with a skeleton, and exposes a \StatisticRef\ for accessing the native DOM element.

components/statistic · high confidence

Steps component receives major overhaul with semantic styling, maxCount collapse, and new sub-components

The Steps component has been significantly refactored to support advanced customization and layout features. Users can now customize the styling of internal semantic structures (like item icons, titles, and content) using the new \classNames\ and \styles\ props, which accept objects or functions. A new \maxCount\ prop allows dense step bars to collapse hidden ranges into disabled ellipsis steps, improving usability for long processes. The component also introduces new internal sub-components: \PanelArrow\ for decorative separators in panel-type steps, and \ProgressIcon\ which renders the progress circle with proper ARIA roles (\progressbar\) and CSS variable support. Additionally, the \labelPlacement\ prop has been renamed to \titlePlacement\ for clarity, and the component now supports a \variant\ prop (\filled\ or \outlined\) for style variations.

components/steps · high confidence

Steps component styles migrated to CSS-in-JS with CSS variables

The visual styling for the Steps component has been completely rewritten from Less to CSS-in-JS, utilizing the \genCssVar\ utility to generate CSS custom properties for all design tokens. This change introduces a new modular style structure with dedicated files for horizontal, vertical, inline, icon, status, and navigation layouts, ensuring consistent theming and improved maintainability across all Steps variants.

components/steps/style · high confidence

Steps demo suite rewritten for v5 API and new variants

The Steps component demos have been completely rewritten to demonstrate the new v5 API surface. The legacy props (children, progressDot, icon) are replaced by the \items\ array structure, and new capabilities are showcased: \type\ variants (navigation, panel, inline, dot), \titlePlacement\ for vertical labels, \maxCount\ for collapsing dense steps, \onChange\ for clickable navigation, \percent\ for progress indication, and \variant\ for outlined/filled styles. The demos also highlight semantic customization via \classNames\/\styles\ and component tokens, and include specific examples for error states, custom icons, and nested steps.

components/steps/demo · high confidence

Switch component API and documentation update for v6

The Switch component documentation and implementation have been updated to reflect v6 changes. The \size\ prop now defaults to \medium\ (with \default\ deprecated), and new \classNames\ and \styles\ props allow customization of semantic DOM structures. Aliases \value\ and \defaultValue\ are now supported for \checked\ and \defaultChecked\. The component also supports global configuration via ConfigProvider for styles and class names, and includes a loading state with an SVG icon.

components/switch · high confidence

Switch component styling migrated to CSS-in-JS with token-based configuration

The Switch component's styles have been rewritten to use the new CSS-in-JS system, replacing the previous Less-based approach. This change introduces a token-driven design system where visual properties like track height, handle size, padding, and colors are now configurable via ComponentToken and FullToken interfaces. The implementation also integrates FastColor for color manipulation, supports CSS variables for theming, and includes specific styles for small variants and loading states, ensuring consistent layout and accessibility features like reduced-motion handling.

components/switch/style · high confidence

Table demos rewritten for v6 with dnd-kit and semantic previews

The Table demo files have been completely rewritten to align with the v6 design system and modern React patterns. Drag-and-drop sorting demos (rows and columns) now use dnd-kit instead of legacy libraries. A new semantic preview demo demonstrates the Table's component token structure. Other demos have been updated to use modern hooks, TypeScript types, and CSS-in-JS styling, while removing deprecated APIs and third-party utilities.

components/table/demo · high confidence

Table hooks refactored to use rc-component and clsx

The internal hooks for the Table component (such as useSelection, useSorter, usePagination, and useFilledColumns) have been rewritten to rely on the underlying rc-component table implementation and the clsx library for class name handling. This change improves performance and maintainability by leveraging shared utilities from @rc-component/util and ensuring consistent behavior with the core table engine, while also updating the selection and sorting logic to better support features like checkStrictly, multiple sorting, and container width calculations.

components/table/hooks · high confidence

Tabs component deprecated legacy props and refined semantic styling API

The Tabs component in \components/tabs\ now enforces stricter API conventions: \tabPosition\ is deprecated in favor of \tabPlacement\, \indicatorSize\ is replaced by the \indicator\ object prop, and \destroyInactiveTabPane\ is superseded by \destroyOnHidden\. Additionally, the legacy \popupClassName\ prop is deprecated in favor of the new \classNames.popup\ structure, which is part of a broader update allowing \classNames\ and \styles\ to customize specific semantic DOM elements (like root, item, header, popup) via objects or functions. The \TabPane\ component is now a deprecated wrapper, and the component relies on \clsx\ for class merging.

components/tabs · high confidence

Tabs component refactors animation handling and item API migration

The Tabs component now uses a dedicated hook to manage animation configurations, allowing for more granular control over ink bar and tab pane transitions via the \animated\ prop. Additionally, a new hook supports the migration from the legacy \Tabs.TabPane\ children API to the modern \items\ array prop, issuing deprecation warnings when the older pattern is detected and ensuring properties like \destroyOnHidden\ are correctly mapped.

components/tabs/hooks · high confidence

Tag component demos updated for v6 with new variants and semantic customization

The Tag demo files have been completely rewritten to reflect v6 changes. The animation demo now uses the \motion\ library instead of the previous tween-based approach. The colorful and status demos now support three visual variants (\filled\, \solid\, \outlined\) for both preset and custom colors. New demos demonstrate the \disabled\ state, draggable tags using \dnd-kit\, and semantic DOM customization via \classNames\ and \styles\ props. The basic demo also showcases the new \closeIcon\ configuration options.

components/tag/demo · high confidence

Theme system refactored with CSS variables and zero-runtime mode support

The theme subsystem has been restructured to support CSS variables by default and a new zero-runtime mode. The \DesignTokenProvider\ now accepts \cssVar\ (with configurable prefix and key) and \zeroRuntime\ options, allowing styles to be generated at build time rather than runtime. The \useToken\ hook has been updated to return \cssVar\ configuration and a \zeroRuntime\ flag alongside the theme and tokens. Internal utilities like \getComputedToken\ and \useCacheToken\ have been migrated to use \@ant-design/cssinjs\ and \@ant-design/cssinjs-utils\, introducing new token handling for unitless values (e.g., \lineHeight\, \opacityImage\) and preserved breakpoint tokens. The public \theme\ export now exposes \getDesignToken\, \useToken\, and algorithm defaults (default, dark, compact) for easier theme customization.

components/theme · high confidence

TimePicker API and implementation updates

The TimePicker component now supports \classNames\ and \styles\ props for customizing semantic DOM structures, replacing the deprecated \popupClassName\ and \popupStyle\. The \addon\ prop has been deprecated in favor of \renderExtraFooter\. New features include \previewValue\ for hover state display, \changeOnScroll\ for immediate selection on scroll, and \onClear\ callback. The component now uses Day.js by default, and the \allowClear\ prop supports an object type for custom clear icons.

components/time-picker · high confidence

Tooltip component rewritten with semantic styling and color support

The Tooltip component has been rewritten to support semantic DOM styling via \classNames\ and \styles\ props, allowing granular control over the root, container, and arrow elements. It now includes a \color\ prop that automatically adapts text contrast based on the background, and introduces a new internal \PurePanel\ component for rendering standalone tooltips. The API has been updated to use \open\ instead of the deprecated \visible\, and \destroyOnHidden\ replaces \destroyTooltipOnHide\. Documentation has been refreshed to reflect these changes, including new demos for color, semantic styling, and auto-shift behavior.

components/tooltip · high confidence

Tooltip demo suite restructured with new customization and behavior examples

The Tooltip documentation demos have been completely rewritten and expanded to showcase the component's current capabilities. New examples demonstrate arrow configuration (show, hide, and center-pointing via the \arrow\ prop), automatic overflow adjustment (\autoAdjustOverflow\), and custom coloring (both preset and custom hex values). The suite now includes specific demos for semantic styling via \classNames\ and \styles\, handling disabled wrapper elements, and using the \destroyOnHidden\ prop. Additionally, it covers advanced behaviors like force alignment for async content, smooth transitions with unique tooltips via \ConfigProvider\, and usage with custom components.

components/tooltip/demo · high confidence

Tooltip styling refactored to use CSS variables and support unique containers

The Tooltip component's style logic has been rewritten to generate CSS variables via the genCssVar hook, enabling better theme integration and unique instance support. This change introduces a new 'unique' container mode that allows tooltips to render without borders or background when needed, and adds a configurable maxWidth token to control the maximum width of the tooltip content. Additionally, the arrow positioning and transform origins are now driven by CSS variables (arrow-offset-x) to fix alignment issues across different placements, and preset colors are applied consistently to both the tooltip body and its arrow.

components/tooltip/style · high confidence

Tour component styling refactored to use CSS variables and FastColor

The Tour component's style generation has been updated to utilize CSS variables (via genCssVar) for theming consistency and replaced the TinyColor library with FastColor for color manipulation. This change introduces new component tokens such as zIndexPopup, closeBtnSize, primaryPrevBtnBg, and primaryNextBtnHoverBg, allowing for more granular control over the Tour's appearance, including its popup z-index, close button dimensions, and button colors in primary mode.

components/tour/style · high confidence

Transfer component refactored with semantic DOM styling and new sub-components

The Transfer component has been refactored to support granular customization via new \classNames\ and \styles\ props, allowing users to target specific semantic structures (root, section, header, body, list, item, actions, etc.) using either object or function-based configurations. This change introduces dedicated sub-components (\Actions\, \ListBody\, \ListItem\, \Section\) to manage the internal DOM structure, replacing the previous monolithic implementation. The API also deprecates \listStyle\ and \operationStyle\ in favor of the new semantic style tokens, and updates the \actions\ prop to accept \ReactNode\[\]\ for custom operation buttons. Documentation has been updated to reflect these semantic DOM changes and the new versioning for these features (6.0.0).

components/space, components/transfer · high confidence

Transfer component style system migration to design tokens

The Transfer component's styling has been migrated from legacy Less variables to the new design token system. This introduces a new \ComponentToken\ interface allowing customization of list dimensions (width, height), item heights, padding, and header height. The style implementation now uses \genStyleHooks\ and \mergeToken\ to generate CSS, supporting features like CSS variables and ConfigProvider customization for class names and styles. Existing visual behaviors are preserved through token mappings, but the underlying mechanism for styling is now token-driven.

components/transfer/style · high confidence

Tree demo suite rewritten for v6 semantic customization and controlled patterns

The Tree component demos in components/tree/demo have been completely rewritten to align with v6 design tokens and semantic customization. New demos demonstrate controlled mode (basic-controlled), component tokens for styling (component-token), and semantic DOM customization via classNames/styles (style-class, \_semantic). Existing demos (basic, draggable, directory, line, search, virtual-scroll, etc.) have been updated to use modern React patterns (functional components, hooks), updated API usage (e.g., treeData, switcherIcon, showLine options), and improved code quality. Debug demos (directory-debug, drag-debug, line-debug) are included for internal testing of specific features like directory tree styles, drag-and-drop interactions, and line rendering with custom title heights.

components/tree/demo · high confidence

TreeSelect demos updated to v5 API and features

The TreeSelect documentation demos have been completely rewritten to reflect the v5 design system and API. Key changes include the adoption of the new \styles\ prop (using objects or functions) for customizing the popup and input, replacing the older style approaches. New demos showcase v5-specific features such as the \variant\ prop (outlined, filled, borderless, underlined), \status\ for error/warning states, \maxCount\ for limiting selection, \treeLine\ for visual tree structure, and \placement\ for popup positioning. The demos also demonstrate semantic customization via \classNames\ and \styles\, async loading, and the new \suffixIcon\ and \prefix\ props.

components/tree-select/demo · high confidence

TreeSelect documentation and API structure updated for v6

The TreeSelect component documentation has been refreshed to reflect v6 changes, including the retirement of deprecated props such as \bordered\, \dropdownClassName\, \popupClassName\, \dropdownRender\, \dropdownStyle\, \showArrow\, \onDropdownVisibleChange\, \dropdownMatchSelectWidth\, \autoClearSearchValue\, \searchValue\, \filterTreeNode\, and \treeNodeFilterProp\. The docs now highlight modern alternatives like \variant\, \classNames\/\styles\ for semantic customization, \popupRender\, \onOpenChange\, and \suffixIcon\. New and updated demos demonstrate variants, status, max count, prefix/suffix icons, and custom semantic DOM styling, while the API tables have been reorganized to align with the current component implementation.

components/tree-select · high confidence

TreeSelect style logic migrated to new modular structure

The styling for the TreeSelect component has been reorganized into a dedicated style module (\components/tree-select/style/index.ts\). This change introduces a new \useTreeSelectStyle\ hook that generates styles by combining base dropdown configurations with shared Tree styles and Checkbox styles, ensuring consistent visual behavior while supporting RTL layouts and CSS variable integration.

components/tree-select/style · high confidence

Typography component restructured into semantic sub-components

The Typography component has been refactored to expose dedicated sub-components (Typography.Text, Typography.Link, Typography.Paragraph, and Typography.Title) that wrap a shared Base implementation. This change introduces a more flexible semantic structure, allowing each sub-component to handle its specific props (such as level for Title or ellipsis configuration for Text) while sharing common styling and behavior. The Editable sub-component has also been rewritten to use a hook-based approach with improved keyboard handling and composition support. Additionally, the component now supports semantic customization via classNames and styles props, enabling granular control over internal elements like the root container, textarea, and edit content confirm icon.

components/typography · high confidence

Typography component restructured with new internal modules

The Typography component's internal implementation has been refactored into a new Base module, introducing dedicated files for core functionalities: CopyBtn handles the copy-to-clipboard button with configurable icons and tooltips, Ellipsis manages text truncation and measurement logic, and EllipsisTooltip controls the visibility of overflow tooltips. The main Base/index.tsx now orchestrates these parts, supporting features like copyable text with async handlers, ellipsis with row-based measurement, and editable text, while utilizing shared utilities for configuration and DOM checks.

components/typography/Base · high confidence

Typography copy and semantic hooks refactored

The Typography component's internal hooks have been restructured to improve copy functionality and semantic styling. A new \useCopyClick\ hook now handles copy actions with async support, loading states, and a delayed 'copied' feedback state, replacing previous implementations. Additionally, \useTypographySemantic\ centralizes the merging of prefix classes, directions, and semantic styles from the ConfigProvider context, while helper hooks like \useMergedConfig\, \useTooltipProps\, and \usePrevious\ provide cleaner logic for configuration merging and tooltip title resolution.

components/typography/hooks · high confidence

Typography demo suite restructured with semantic and debug examples

The Typography demo section has been reorganized to provide clearer, more focused examples for users. A new semantic structure demo (\\_semantic.tsx\) visualizes the internal DOM elements (root, actions, action, textarea) of the Typography component. Several debug-focused demos have been added to help users verify specific behaviors: \ellipsis-debug.tsx\ tests complex interactions between ellipsis, copyable, and editable states; \link-danger-debug.tsx\ ensures Typography link styles do not leak into Button links; and \componentToken-debug.tsx\ demonstrates customizing Typography tokens via ConfigProvider. Existing demos for basic usage, ellipsis, copyable, editable, suffix, table, text, and title have been consolidated into new, cleaner files to improve documentation clarity.

components/typography/demo · high confidence

Typography styles migrated to component token system

The Typography component's styling has been refactored to use the new component token system, replacing legacy Less-based styles with CSS-in-JS. This change introduces new design tokens such as \titleMarginTop\, \fontWeightStrong\, and \fontFamilyCode\, allowing users to customize typography appearance (including headings, links, code blocks, and action buttons) through the theme configuration. The migration also ensures that reset styles for elements like \pre\, \code\, and \table\ are now driven by these tokens, providing a more consistent and themable experience.

components/typography/style · high confidence

Unify version component export via index.tsx

The version component now exposes its default export through a new index.tsx file, which re-exports the version data from the local version module. This change standardizes how the version component is imported and used across the application.

components/version · high confidence

Updated Icon component demos to reflect @ant-design/icons v4 API

The Icon component documentation demos have been refreshed to align with the \@ant-design/icons\ v4 API. Key updates include migrating the custom icon demo to use the \Icon\ wrapper component with the \component\ prop instead of the legacy \Icon.create\ method, and updating the iconfont integration to use \createFromIconfontCN\. Additionally, the iconfont demo now demonstrates the new capability to pass \scriptUrl\ as an array for managing multiple icon resources, and the two-tone icon demo uses the \twoToneColor\ prop for theming.

components/icon/demo · high confidence

Upload component rewritten in TypeScript with semantic styling and enhanced file handling

The Upload component in \components/upload\ has been completely rewritten in TypeScript, replacing the previous implementation. This change introduces native support for semantic class names and inline styles via the \classNames\ and \styles\ props, allowing granular customization of internal structures like the list, items, and triggers. The file list management logic has been updated to use \clsx\ for class merging and \@rc-component/upload\ for core upload behavior, while utility functions now support modern image formats (AVIF, TIFF) and improved preview handling. The component also exposes a \Dragger\ sub-component and a \LIST\_IGNORE\ constant for advanced list control.

components/upload · high confidence

UploadList refactored with semantic styling and granular icon control

The UploadList component has been refactored to support granular control over visibility and appearance. Users can now pass functions to showPreviewIcon, showDownloadIcon, and showRemoveIcon to conditionally display these actions per file. Custom icons for preview, download, and removal can be provided via the previewIcon, downloadIcon, and removeIcon props, which also accept functions. Additionally, the component now supports semantic class names and styles via the classNames and styles props, allowing for more flexible styling integration.

components/upload/UploadList · high confidence

Wave effect refactored with configurable trigger and improved color handling

The internal wave effect utility has been restructured into a new component-based architecture (WaveEffect, useWave) that supports a configurable trigger type (click, mousedown, mouseup, pointerdown, pointerup) via the ConfigProvider. The wave color logic now explicitly ignores transparent hex and RGB values to prevent visual artifacts, and the implementation uses clsx for class management and ResizeObserver to keep the effect synchronized with target size changes.

_components/\util/wave · high confidence

Fixes

Checkbox styling refactored to use design tokens and fix alignment issues

The Checkbox component's styles have been rewritten to leverage the design token system, replacing hardcoded values with configurable tokens like \lineWidth\ and \checkboxSize\. This change ensures consistent alignment by using \alignSelf: center\ and fixes layout issues with the checkmark pseudo-element. It also introduces proper hover states for both the wrapper and the checkbox itself, respects reduced-motion preferences, and maintains visual parity with previous versions for group layouts.

components/checkbox/style · high confidence

Fix password input value attribute persistence after toggle

The Input component now correctly removes the 'value' attribute from password fields after the visibility toggle is clicked. A new hook, useRemovePasswordTimeout, manages a timeout effect that clears this attribute, ensuring that the password field's value is not persistently exposed in the DOM state after the user toggles visibility. This addresses a bug where the value prop remained on the input element after interaction.

components/input/hooks · high confidence

Test coverage

18 commits adding/updating tests in components/locale/\_\tests\\/\\snapshots\\/vitest; 2 commits adding/updating tests in components/badge/\\tests\\/\\snapshots\\/vitest, components/carousel/\\tests\\/\\snapshots\\/vitest, components/tree/\\tests\\/\\snapshots\\/vitest; 2 commits adding/updating tests in components/transfer/\\tests\\/\\snapshots\\/vitest; 3 commits adding/updating tests in components/input/\\tests\\/\\snapshots\\/vitest; 4 commits adding/updating tests in components/listy/\\tests\\; 5 commits adding/updating tests in components/list/\\tests\\/\\snapshots\\/vitest, components/pagination/\\tests\\/\\snapshots\\/vitest; 5 commits adding/updating tests in components/table/\\tests\\/\\snapshots\\/vitest; 7 commits adding/updating tests in components/listy/\\tests\\/\\snapshots\\_; Added Cascader demo and unit test snapshots; Added ColorPicker snapshot tests; Added Jest snapshot tests for Grid component demos and core rendering; Added Jest snapshot tests for Segmented component demos and unit tests; Added Jest snapshot tests for the Drawer component; Added Jest snapshots for DatePicker component tests; Added Jest snapshots for Rate component demos and RTL rendering; Added Modal component snapshot tests; Added Vitest snapshot tests for Card and Image components; Added Vitest snapshot tests for DatePicker components; Added Vitest snapshot tests for UI components; Added Watermark component test snapshots; Added comprehensive test coverage for AutoComplete; Added comprehensive test coverage for ColorPicker; Added comprehensive test coverage for InputNumber component; Added comprehensive test coverage for Layout components; Added comprehensive test coverage for the Calendar component; Added comprehensive test suite for Checkbox component; Added comprehensive test suite for TimePicker component; Added comprehensive tests for the Skeleton component; Added snapshot tests for Alert component demos and unit tests; Added snapshot tests for AutoComplete demos and RTL rendering; Added snapshot tests for BorderBeam component demos and RTL rendering; Added snapshot tests for Button component demos and semantics; Added snapshot tests for Card component demos and semantic structure; Added snapshot tests for Checkbox component rendering; Added snapshot tests for Divider demo components; Added snapshot tests for Dropdown demos and components; Added snapshot tests for FloatButton component; Added snapshot tests for InputNumber component demos and core behaviors; Added snapshot tests for Locale Provider behavior; Added snapshot tests for Menu demos and core components; Added snapshot tests for Message component demos; Added snapshot tests for Pagination component demos and configurations; Added snapshot tests for Popover demos and RTL rendering; Added snapshot tests for QRCode component demos and core functionality; Added snapshot tests for Slider component demos and RTL rendering; Added snapshot tests for Spin component demos and core behavior; Added snapshot tests for Tabs demos and core functionality; Added snapshot tests for Transfer component demos and rendering; Added test coverage for BackTop component; Added test coverage for FloatButton component; Added test coverage for React version warnings, blog content, exports, SSR, and React 17/18 differences; Added test coverage for TreeSelect component; Added test coverage for the Progress component; Added test coverage for the QRCode component; Added test mocks for rc-util DOM and Portal utilities; Added tests for Statistic component accessibility, semantic styling, and timer behavior; Added tests for locale context caching and provider integration; Added tests for the BorderBeam component; Added tests for the Watermark component; Added tests for theme token generation and utility functions; Added unit tests for internal utility functions and hooks; Carousel snapshot tests for demos and core behaviors; Comprehensive test suite for DatePicker and RangePicker components; Expanded test coverage for ConfigProvider integration; Expanded test coverage for Table component; Image component snapshot tests updated for semantic and CSS variable support; Modal component test suite; New test infrastructure for build integrity, accessibility, and component demos; Notification component test suite expansion; Popconfirm demo and unit test snapshots updated; TimePicker test snapshots updated; Transfer component test suite expansion and migration; Tree component test coverage expansion; Tree component test snapshots updated; TreeSelect snapshot tests added for demo, semantic, and index scenarios; Updated ConfigProvider test snapshots; Updated test snapshots for new component exports and React version diffs.

Dependencies

5060 commits updating dependencies (1 manifest)

A dependency / build maintenance change in (dependencies) — 5060 commits (714 fixs), 1 file: “chore: update prepublish script”; “chore(deps): bump eslint-plugin-react-hooks from 5.2.0 to 6.1.0 (\#55221)”; “chore(deps-dev): bump remark-preset-lint-recommended from 4.0.1 to 5.0.0 (\#27126)”; and 4808 more (refs \#55221, \#27126, \#37566, \#41714, \#26884, …).

(dependencies) · high confidence · unverified

Housekeeping

Cleanup of .dumi/preset directory

The file src/docs/case.md was removed and replaced with an empty .gitkeep file in the .dumi/preset directory. This change appears to be a repository housekeeping action to maintain the directory structure, with no impact on user-facing functionality or features.

.dumi/preset · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 57 → 59 (+1.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 52 → 56 (+4.0)
  • Architecture 90 → 99 (+9.6)
  • Maturity 63 → 63 (-0.0)
  • Readiness 70 → 70 (+0.3)
  • Security 64 → 61 (-2.6)
  • Accessibility 55 → 55 (-0.2)
  • Performance 85 → 85 (+0.0)

Resolved (30)

  • FunctionTooLong: build.boot (scripts/visual-regression/build.ts)
  • FunctionTooLong: build.generateReport (scripts/visual-regression/build.ts)
  • FunctionTooLong: pre-publish.runPrePublish (scripts/pre-publish.ts)
  • FunctionTooLong: print-changelog.printLog (scripts/print-changelog.ts)
  • Hotspot: components/carousel/index.tsx (components/carousel/index.tsx)
  • Hotspot: components/drawer/DrawerPanel.tsx (components/drawer/DrawerPanel.tsx)
  • Hotspot: components/input/OTP/OTPInput.tsx (components/input/OTP/OTPInput.tsx)
  • Hotspot: components/upload/UploadList/index.tsx (components/upload/UploadList/index.tsx)
  • Medium: security finding (details withheld)
  • Medium: security finding (details withheld)
  • No ADRs found
  • Off-boarding risk: anonymized user #1
  • Projects may be oversized for their cohesion
  • Repeated repair: components/segmented/style/index.ts (components/segmented/style/index.ts)
  • Repeated repair: components/select/style/index.ts (components/select/style/index.ts)
  • Repeated repair: components/transfer/ListBody.tsx (components/transfer/ListBody.tsx)
  • Scanner failed to run — not a clean result
  • Scanner failed to run — not a clean result
  • build.boot (cognitive 22) (scripts/visual-regression/build.ts)
  • build.boot (cyclomatic 17) (scripts/visual-regression/build.ts)
  • …and 10 more

New (57)

  • AutoComplete.AutoComplete (cyclomatic 16) (components/auto-complete/AutoComplete.tsx)
  • BorderBeam.BorderBeam (cyclomatic 16) (components/border-beam/BorderBeam.tsx)
  • Checkbox.InternalCheckbox (cyclomatic 16) (components/checkbox/Checkbox.tsx)
  • ClassTooLong: InternalTable (components/table/InternalTable.tsx)
  • FunctionTooLong: generateRangePicker.generateRangePicker.RangePicker (components/date-picker/generatePicker/generateRangePicker.tsx)
  • FunctionTooLong: useSorter.injectSorter.finalColumns (components/table/hooks/useSorter.tsx)
  • Hotspot: .dumi/theme/builtins/Previewer/CodePreviewer.tsx (.dumi/theme/builtins/Previewer/CodePreviewer.tsx)
  • Hotspot: components/border-beam/BorderBeam.tsx (components/border-beam/BorderBeam.tsx)
  • Hotspot: components/button/Button.tsx (components/button/Button.tsx)
  • Hotspot: components/cascader/index.tsx (components/cascader/index.tsx)
  • Hotspot: components/checkbox/Checkbox.tsx (components/checkbox/Checkbox.tsx)
  • Hotspot: components/divider/index.tsx (components/divider/index.tsx)
  • Hotspot: components/input/Search.tsx (components/input/Search.tsx)
  • Hotspot: components/layout/Sider.tsx (components/layout/Sider.tsx)
  • Hotspot: components/select/index.tsx (components/select/index.tsx)
  • Hotspot: components/splitter/SplitBar.tsx (components/splitter/SplitBar.tsx)
  • Hotspot: components/tabs/index.tsx (components/tabs/index.tsx)
  • Hotspot: components/tree-select/index.tsx (components/tree-select/index.tsx)
  • Hotspot: components/upload/Upload.tsx (components/upload/Upload.tsx)
  • Mock-dominated test: should forward composition events from OTPInput (components/input/tests/otp.test.tsx)
  • …and 37 more

Changes since last survey

  • 84 commits — 62 feature/other, 22 fixes

By area

  • (root) — 20 commits
  • (repo) — 5 commits
  • .github/workflows — 4 commits
  • components/table — 4 commits
  • .dumi/theme — 3 commits
  • components/date-picker — 3 commits
  • components/form — 3 commits
  • components/locale — 3 commits
  • components/select — 3 commits
  • components/dropdown — 2 commits
  • components/input — 2 commits
  • components/modal — 2 commits
  • tests/shared — 2 commits
  • .dumi/hooks — 1 commit
  • components/_util — 1 commit
  • components/auto-complete — 1 commit
  • components/button — 1 commit
  • components/carousel — 1 commit
  • components/checkbox — 1 commit
  • components/collapse — 1 commit

Notable commits

  • fix: Fix/a11y select arrow aria hidden (#59709)
  • fix: demo(AutoComplete): fix category search popup styles (#59767)
  • fix: fix(Button): respect tabIndex when href is set (#59732)
  • fix: fix(Checkbox): bind pointer events to the wrapper (#59701)
  • fix: fix(Collapse): upgrade @rc-component/collapse to 1.3.0 (#59771)
  • fix: fix(DatePicker): center time panel cells and prevent scrollbar clipping (#59828)
  • fix: fix(Form): keep the parent status on edited noStyle items (#59708)
  • fix: fix(Pagination): restore disabled styles for custom links (#59780)
  • fix: fix(Radio): bind hover events to the wrapper only (#59699)
  • fix: fix(Splitter): finish cancelled touch drags (#59712)
  • fix: fix(Statistic): expand exponential notation before formatting (#59693)
  • fix: fix(Table): align expand-all icon with row expand icons in small and medium size (#59795)
  • fix: fix(Table): refresh active sorters when columns change (#59763)
  • fix: fix(Tabs): let moreIcon take priority over ConfigProvider (#59690)
  • fix: fix(Tooltip, Popover): avoid text shifting after the zoom motion (#59729)
  • fix: fix(locale): complete and polish id_ID translations (#59807)
  • fix: fix(locale): improve cs_CZ translations (#59787)
  • fix: fix(theme): support empty algorithm array in getDesignToken (#59695)
  • fix: fix: align with @rc-component/menu 1.6.2 disabled submenu behaviors (#59826)
  • fix: fix: handle Input.OTP IME composition (#58762)
  • …and 64 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

ant-design/ant-design was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 94ae623993a0c55570a683e7c78be5a094966dee — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.