antd-test-review

审查 ant-design 的测试用例以判断是否值得保留。用于在用户要求时验证测试用例、评审测试质量,判断测试是否合理、是否存在“用 A 证明 A”的情况、是否重复或是否过度锁定实现细节,并据此决定测试应删除、保留或改写。

仓库最近推送
GitHub Stars
100,446
Forks
54,601
Issues / PRs
960

预览截图

来自skillπ 实验室的展示

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "antd-test-review":https://skillpi.com/zh/skills/deepskill-2f425f54204885e160d5167616efb92a27a433473677bfb6ae9d89790bc0b3be。安装前核对上游来源和版本:https://github.com/ant-design/ant-design。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

审查 ant-design 的测试用例以判断是否值得保留。用于在用户要求时验证测试用例、评审测试质量,判断测试是否合理、是否存在“用 A 证明 A”的情况、是否重复或是否过度锁定实现细节,并据此决定测试应删除、保留或改写。

0 下载

介绍来源: third_party · ant-design · 0.0.1 参考来源

SkillPi 解读

能完成的任务
审查 ant-design 测试用例是否值得保留。在用户要求验证测试 case、review 测试质量、判断测试是否合理、是否“用 A 证明 A”、是否重复、是否锁定实现细节,或决定测试应删除、保留还是改写时使用。
适合谁
来源文档未说明。
输入和输出
默认只输出最终结论,不写调研过程。 格式: 规则: 先下结论,再给原因 原因保留 2 到 4 条即可 不要先讲命令、搜索过程、推理链 除非用户追问,否则不要展开长篇建议
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: antd-test-review
description: 审查 ant-design 测试用例是否值得保留。在用户要求验证测试 case、review 测试质量、判断测试是否合理、是否“用 A 证明 A”、是否重复、是否锁定实现细节,或决定测试应删除、保留还是改写时使用。

Ant Design 测试用例审查

目标

一、只判断测试用例是否合理,不负责创建或补充测试。

二、优先识别“用 a 证明 a”、实现细节自证、重复覆盖这类低价值测试。

三、验证场景默认只做静态审查,不默认运行测试。

四、输出先给结论,再给最关键原因。

何时使用

当用户提到以下意图时使用此 skill:

  • 验证测试 case
  • review 测试是否合理
  • 判断测试是否无意义
  • 判断测试是否重复
  • 判断测试是不是“用 a 证明 a”
  • 决定测试应保留、改写还是删除

不做的事

  • 不主动新增测试
  • 不主动补回归测试
  • 不主动修改生产代码
  • 不默认执行 npm test、npm run test:update

如果用户明确要求“顺手给改写建议”,可以在结论后补一句改写方向;但主任务仍然是审查,不是落地实现。

核心判断

一、先看契约是否独立

先用一句话描述这条测试声称在保护什么:

当 <前置条件> 时,<组件/方法> 应该 <可观察结果>。

如果这句话只能从当前实现反推出来,这条测试大概率不值得保留。

二、expected 必须来自独立来源

高质量来源包括:

  • issue / PR 里明确描述的回归现象
  • 组件文档、API、demo、FAQ
  • DOM / React / WAI-ARIA / 浏览器语义
  • 用户可感知的文本、属性、交互、布局结果

低质量来源包括:

  • 生产代码里的同一个 helper、token、常量、分支逻辑
  • 在测试里复制一遍实现
  • “因为实现可能要这样写,所以我断言它这样写了”

三、优先审查外部行为,不审查实现细节

优先级:

  1. DOM / 文本 / 属性 / role / aria
  2. callback 的触发与参数
  3. 用户或使用方能观察到的行为结果
  4. 只有存在独立契约时,class / style 才能作为代理信号

如果断言锁定的是具体 CSS 属性、临时 class、内部状态或中间过程,默认先判低价值。

四、默认拦截样式实现自证

以下写法默认按“无实际作用”或“需要改写”处理,除非能证明它对应公开契约:

  • toHaveStyle(...)
  • toHaveClass(...)
  • 断言具体 CSS 属性、CSS 变量、临时 class 存在

典型反例:

  • expect(node).toHaveStyle({ whiteSpace: 'nowrap' })

如果它只是验证“实现里加了 nowrap”,而不是验证独立可感知行为,就属于“用 A 证明 A”。

五、重复覆盖也应判低价值

以下情况优先判为重复或冗余:

  • 已有 mountTest、rtlTest 或其他聚焦行为测试覆盖相同契约
  • 同一组件已有相同 props 组合和同类断言
  • 新 case 只是换文案、换变量名、换写法,没有新增行为分支

输出要求

默认只输出最终结论,不写调研过程。

格式:

结论:此用例无实际作用 / 此用例可保留 / 此用例需要改写
原因:
- ...
- ...

规则:

  • 先下结论,再给原因
  • 原因保留 2 到 4 条即可
  • 不要先讲命令、搜索过程、推理链
  • 除非用户追问,否则不要展开长篇建议

执行流程

1. 静态审查优先

当用户是在验证测试是否合理时:

  • 默认只读代码、diff、文档、demo、已有测试
  • 默认不运行测试
  • 不把“能不能跑过”当成主要判断依据

只有用户明确要求“跑一下”“验证 red/green”时,才执行测试命令。

2. 提炼被保护的契约

先回答:

  • 这条测试到底想保护什么公开行为?

如果回答不稳,优先判为:

结论:此用例无实际作用。

3. 查独立依据

从以下位置找证据:

  • 当前 PR / issue 描述
  • 组件文档与 demo
  • 现有测试
  • 外部语义规范

如果找不到独立依据,而 expected 又来自实现本身,直接判低价值。

4. 查是否重复

需要时搜索现有覆盖:

rg -n "<关键字>|<issue号>|<行为描述>" components/<component> tests

如果同一契约已经被保护,新 case 通常应判为冗余。

5. 给出分类结论

分类标准:

  • 此用例可保留 条件:契约独立、断言面向外部行为、不是重复覆盖
  • 此用例需要改写 条件:测试意图可能对,但断言方式锁定实现或证据不足
  • 此用例无实际作用 条件:expected 同源、实现自证、重复覆盖、只测存在性、只测内部细节

Ant Design 约束

  • __tests__ 中引用仓库内代码时使用相对路径
  • 优先沿用目标组件现有测试结构与 helper
  • 对样式问题,先问“能否用更外层行为表达”,再接受 style/class 断言

快速拦截

以下情况默认直接质疑:

  • 输入 a,expected 也从同一路径算出 a
  • 断言私有 helper / hook / 中间 state
  • 断言 className、whiteSpace、display、zIndex 等具体实现
  • 在已有 mountTest、rtlTest 旁边再补同类 case
  • 只做 toBeTruthy() / toBeDefined() 这类存在性断言

版本历史

  1. 6.7.1 GitHub ↗
    原版更新说明

    - Table - 🐞 Fix Table continuing to apply outdated sorters after column configuration changes. [#59763](https://github.com/ant-design/ant-design/pull/59763) [@Aminark](https://github.com/Aminark) - 🐞 Fix Table expand-all icon alignment with row expand icons in small and middle sizes. [#59795](https://github.com/ant-design/ant-design/pull/59795) [@nikzanda](https://github.com/nikzanda) - ⌨️ Fix Table ignoring the reduced motion preference when scrolling to the top after pagination, sorting, or filtering. [#59864](https://github.com/ant-design/ant-design/pull/59864) [@li-jia-nan](https://github.com/li-jia-nan) - Modal - 🐞 Fix Modal focus errors and duplicate `afterOpenChange` calls when React `Activity` reveals a hidden Modal. [#59845](https://github.com/ant-design/ant-design/pull/59845) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix Modal leave-completion callbacks firing before DOM removal when leave motion is disabled mid-transition. [#59845](https://github.com/ant-design/ant-design/pull/59845) [@yoyo837](https://github.com/yoyo837) - ⚡️ Improve Form performance by keeping `@rc-component/form` out of components that only read the variant, an extra dependency introduced in 6.7.0. [#59872](https://github.com/ant-design/ant-design/pull/59872) [@gowtham-padala](https://github.com/gowtham-padala) - 🐞 Fix Card action buttons with `href` displaying incorrect icon spacing. [#59726](https://github.com/ant-design/ant-design/pull/59726) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Input.OTP treating intermediate IME composition text as committed input. [#58762](https://github.com/ant-design/ant-design/pull/58762) [@wanxiankai](https://github.com/wanxiankai) - 🐞 Fix DatePicker and TimePicker time panel cell alignment and content clipping by scrollbars. [#59828](https://github.com/ant-design/ant-design/pull/59828) [@ffgenius](https://github.com/ffgenius) - 🐞 Fix Dropdown menu items in disabled submenus not displaying their disabled state correctly. [#59826](https://github.com/ant-design/ant-design/pull/59826) [@yoyo837](https://github.com/yoyo837) - ⌨️ Fix Anchor ignoring the reduced motion preference when scrolling to a link. [#59861](https://github.com/ant-design/ant-design/pull/59861) [@li-jia-nan](https://github.com/li-jia-nan) - ⌨️ Fix BackTop ignoring the reduced motion preference when returning to the top. [#59864](https://github.com/ant-design/ant-design/pull/59864) [@li-jia-nan](https://github.com/li-jia-nan) - 🇮🇩 Improve ConfigProvider Indonesian (`id_ID`) translations. [#59807](https://github.com/ant-design/ant-design/pull/59807) [@insanrizky](https://github.com/insanrizky) - 🇨🇿 Improve ConfigProvider Czech (`cs_CZ`) translations. [#59787](https://github.com/ant-design/ant-design/pull/59787) [@kojdad-alt](https://github.com/kojdad-alt) --- - Table - 🐞 修复 Table 在列配置变化后仍使用旧排序规则的问题。 [#59763](https://github.com/ant-design/ant-design/pull/59763) [@Aminark](https://github.com/Aminark) - 🐞 修复 Table 在小尺寸和中等尺寸下展开全部图标与行展开图标未对齐的问题。 [#59795](https://github.com/ant-design/ant-design/pull/59795) [@nikzanda](https://github.com/nikzanda) - ⌨️ 修复 Table 在分页、排序或筛选后滚动到顶部时未遵循系统减少动态效果设置的问题。 [#59864](https://github.com/ant-design/ant-design/pull/59864) [@li-jia-nan](https://github.com/li-jia-nan) - Modal - 🐞 修复 Modal 在 React `Activity` 恢复显示时聚焦报错和 `afterOpenChange` 重复触发的问题。 [#59845](https://github.com/ant-design/ant-design/pull/59845) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 Modal 在离场动画中途禁用时完成回调早于 DOM 移除的问题。 [#59845](https://github.com/ant-design/ant-design/pull/59845) [@yoyo837](https://github.com/yoyo837) - ⚡️ 优化 Form 中仅读取 variant 的组件,不再引入 6.7.0 中额外引入的 `@rc-component/form` 依赖,提升性能。 [#59872](https://github.com/ant-design/ant-design/pull/59872) [@gowtham-padala](https://github.com/gowtham-padala) - 🐞 修复 Card 操作区中带 `href` 的 Button 图标间距异常的问题。 [#59726](https://github.com/ant-design/ant-design/pull/59726) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Input.OTP 使用中文等输入法时将合成输入的中间态文本作为已提交内容处理的问题。 [#58762](https://github.com/ant-design/ant-design/pull/58762) [@wanxiankai](https://github.com/wanxiankai) - 🐞 修复 DatePicker 和 TimePicker 时间面板单元格未居中及内容被滚动条遮挡的问题。 [#59828](https://github.com/ant-design/ant-design/pull/59828) [@ffgenius](https://github.com/ffgenius) - 🐞 修复 Dropdown 禁用子菜单中的菜单项未正确显示禁用状态的问题。 [#59826](https://github.com/ant-design/ant-design/pull/59826) [@yoyo837](https://github.com/yoyo837) - ⌨️ 修复 Anchor 点击链接滚动时未遵循系统减少动态效果设置的问题。 [#59861](https://github.com/ant-design/ant-design/pull/59861) [@li-jia-nan](https://github.com/li-jia-nan) - ⌨️ 修复 BackTop 返回顶部时未遵循系统减少动态效果设置的问题。 [#59864](https://github.com/ant-design/ant-design/pull/59864) [@li-jia-nan](https://github.com/li-jia-nan) - 🇮🇩 完善 ConfigProvider 印尼语 `id_ID` 翻译。 [#59807](https://github.com/ant-design/ant-design/pull/59807) [@insanrizky](https://github.com/insanrizky) - 🇨🇿 完善 ConfigProvider 捷克语 `cs_CZ` 翻译。 [#59787](https://github.com/ant-design/ant-design/pull/59787) [@kojdad-alt](https://github.com/kojdad-alt)

  2. 6.7.0 GitHub ↗
    原版更新说明

    - 🆕 Add Button, Tag, Steps, Alert, and Timeline support for the global ConfigProvider `variant`, and component-specific `divider.variant` configuration for Divider line styles. [#59589](https://github.com/ant-design/ant-design/pull/59589) [#59588](https://github.com/ant-design/ant-design/pull/59588) [#59578](https://github.com/ant-design/ant-design/pull/59578) [#59577](https://github.com/ant-design/ant-design/pull/59577) [#59587](https://github.com/ant-design/ant-design/pull/59587) [#59576](https://github.com/ant-design/ant-design/pull/59576) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add `suffix` to DatePicker, TimePicker, Select, AutoComplete, Cascader, and TreeSelect to customize suffix content, with state-based rendering for selection components. Deprecate `suffixIcon` in favor of `suffix` while retaining compatibility. [#59240](https://github.com/ant-design/ant-design/pull/59240) [#59185](https://github.com/ant-design/ant-design/pull/59185) [@QDyanbing](https://github.com/QDyanbing) [@meet-student](https://github.com/meet-student) - 🆕 Add `allowClear.tabIndex` to Input, Input.TextArea, Mentions, InputNumber, Select, AutoComplete, TreeSelect, Cascader, DatePicker, and TimePicker to control clear-button Tab order. Add `allowClear.label` to Input, Input.TextArea, Mentions, DatePicker, and TimePicker for accessible clear-button names, with field-level ConfigProvider inheritance. [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59567](https://github.com/ant-design/ant-design/pull/59567) [#59548](https://github.com/ant-design/ant-design/pull/59548) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add App Fragment `ref` support with `component={false}` in React 19.3 and later. [#59281](https://github.com/ant-design/ant-design/pull/59281) [@li-jia-nan](https://github.com/li-jia-nan) - 🆕 Add BorderBeam `items` prop to configure each beam's `color`, `lineWidth`, `outset`, and `size`, with the array length determining the beam count. [#59095](https://github.com/ant-design/ant-design/pull/59095) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add Cascader `checkStrictly` to select parent and child options independently in multiple mode. [#59566](https://github.com/ant-design/ant-design/pull/59566) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add component-specific ConfigProvider `allowClear` settings for Cascader, TreeSelect, and AutoComplete to configure their clear buttons globally. [#59593](https://github.com/ant-design/ant-design/pull/59593) [#59592](https://github.com/ant-design/ant-design/pull/59592) [#59591](https://github.com/ant-design/ant-design/pull/59591) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add Checkbox.Group and Radio.Group `classNames` and `styles` to customize group containers, items, icons, and labels. [#59058](https://github.com/ant-design/ant-design/pull/59058) [#59059](https://github.com/ant-design/ant-design/pull/59059) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add InputNumber `allowClear` and `onClear` to clear values with customizable icons, disabled state, and accessible labels. [#59251](https://github.com/ant-design/ant-design/pull/59251) [@nikzanda](https://github.com/nikzanda) - 🆕 Add Space `align="stretch"` to stretch child elements along the cross axis. [#59005](https://github.com/ant-design/ant-design/pull/59005) [@dogledogle](https://github.com/dogledogle) - 🆕 Add Typography `shimmer` prop for animated shimmering text, with `duration` configuring motion and wait times separately. [#59054](https://github.com/ant-design/ant-design/pull/59054) [@zombieJ](https://github.com/zombieJ) - 🛠 Align Input, Input.TextArea, Mentions, InputNumber, Select, AutoComplete, TreeSelect, Cascader, DatePicker, and TimePicker `allowClear.disabled` behavior so `true` removes the clear button consistently with `allowClear={false}`. [#59548](https://github.com/ant-design/ant-design/pull/59548) [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59567](https://github.com/ant-design/ant-design/pull/59567) [@QDyanbing](https://github.com/QDyanbing) - 💄 Replace Alert container radius component token `borderRadius` with `containerBorderRadius`; migrate custom container radius overrides to the new token. [#59305](https://github.com/ant-design/ant-design/pull/59305) [@MadCcc](https://github.com/MadCcc) - DatePicker - 🆕 Add DatePicker and TimePicker `components.nowButton` and `components.okButton` to customize Today/Now and confirmation buttons independently. Deprecate the legacy `components.button` while retaining compatibility. [#59778](https://github.com/ant-design/ant-design/pull/59778) [@yoyo837](https://github.com/yoyo837) - ⌨️ Improve DatePicker and TimePicker keyboard and screen reader support, including arrow-key navigation, Enter/Space selection, and skipping disabled time options, plus keyboard activation and native disabled states for Today/Now footer buttons. [#59778](https://github.com/ant-design/ant-design/pull/59778) [#59367](https://github.com/ant-design/ant-design/pull/59367) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix DatePicker and TimePicker ignoring `clearIcon` settings when an `allowClear` object omits `clearIcon`. [#59565](https://github.com/ant-design/ant-design/pull/59565) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix DatePicker, TimePicker, and Calendar dependency imports in native Node ESM environments. [#59261](https://github.com/ant-design/ant-design/pull/59261) [@zombieJ](https://github.com/zombieJ) - 🐞 Fix DatePicker parsing localized date input with Day.js when the component locale differs from the global locale. [#59240](https://github.com/ant-design/ant-design/pull/59240) [@QDyanbing](https://github.com/QDyanbing) - 🌐 Correct DatePicker `zh_TW` week-selection terminology. [#59261](https://github.com/ant-design/ant-design/pull/59261) [@zombieJ](https://github.com/zombieJ) - Select - 🆕 Add Select `autoComplete` and ConfigProvider `select.autoComplete` to configure browser autocomplete behavior for the search input. [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59632](https://github.com/ant-design/ant-design/pull/59632) [@QDyanbing](https://github.com/QDyanbing) - ⌨️ Improve screen reader support for Select, Cascader, TreeSelect, and AutoComplete by hiding default decorative arrow, search, and loading icons. [#59709](https://github.com/ant-design/ant-design/pull/59709) [@droduit](https://github.com/droduit) - ⌨️ Improve Select, Cascader, and TreeSelect clear-button keyboard accessibility with focus visibility, focus outlines, and localized accessible labels. [#58267](https://github.com/ant-design/ant-design/pull/58267) [@Pareder](https://github.com/Pareder) - ⌨️ Fix Select and AutoComplete screen reader announcements of option positions, total counts, and groups in virtual scrolling mode. [#58993](https://github.com/ant-design/ant-design/pull/58993) [@yoyo837](https://github.com/yoyo837) - Table - 🆕 Add Table `expandable.showExpandAll` and `expandable.onExpandAll` to expand or collapse all expandable rows on the current page when using `expandedRowRender`. [#59036](https://github.com/ant-design/ant-design/pull/59036) [@nikzanda](https://github.com/nikzanda) - 🆕 Add Table `components.ExpandIcon` and an `expandable.columnTitle` render function to customize row and expand-all controls. Deprecate `expandable.expandIcon` in favor of `components.ExpandIcon` while retaining compatibility. [#59036](https://github.com/ant-design/ant-design/pull/59036) [@nikzanda](https://github.com/nikzanda) - ⌨️ Improve Table row selection accessibility with localized accessible names and keyboard access to custom selection menus. [#58969](https://github.com/ant-design/ant-design/pull/58969) [@thlovey](https://github.com/thlovey) - ⚡️ Improve Table performance when applying multiple column filters to deeply nested data. [#59719](https://github.com/ant-design/ant-design/pull/59719) [@Aminark](https://github.com/Aminark) - Tree - 💄 Improve Tree non-checkable `selectable={false}` nodes with disabled text colors and cursors, without hover highlighting. [#58906](https://github.com/ant-design/ant-design/pull/58906) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🐞 Fix Tree ignoring defaults and preventing uncontrolled updates when `expandedKeys`, `selectedKeys`, and similar props are explicitly `undefined`. [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - 🐞 Fix Tree unexpectedly scrolling when a focusable element inside a node title receives focus. [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - 🐞 Fix Tree drop targets before nested first-child nodes, overwritten custom drag text, and delayed hover expansion after unmount. [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - Listy - 🆕 Add Listy `rowKey` callback's second argument `index` to generate keys from row indexes. [#59347](https://github.com/ant-design/ant-design/pull/59347) [@aojunhao123](https://github.com/aojunhao123) - 🆕 Add Listy `rowHoverable` prop to disable row hover highlighting. [#59273](https://github.com/ant-design/ant-design/pull/59273) [@QDyanbing](https://github.com/QDyanbing) - 🆕 Add Listy `scrollWidth` prop to enable horizontal scrolling for virtual lists wider than the container. [#59197](https://github.com/ant-design/ant-design/pull/59197) [@aojunhao123](https://github.com/aojunhao123) - Pagination - 🆕 Add an optional third `info` argument with `info.recommendPage` to Pagination `onChange` when page size changes to help preserve the current data position, also available through Table and List `pagination.onChange`. [#58604](https://github.com/ant-design/ant-design/pull/58604) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - ♿ Improve Pagination list semantics and keyboard and disabled-state accessibility for pagination controls. [#58604](https://github.com/ant-design/ant-design/pull/58604) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🌐 Correct Pagination and page-size text in Armenian (`hy_AM`), Albanian (`sq_AL`), Nepali (`ne_NP`), and Traditional Chinese (`zh_TW`) locales. [#59500](https://github.com/ant-design/ant-design/pull/59500) [#59499](https://github.com/ant-design/ant-design/pull/59499) [#58604](https://github.com/ant-design/ant-design/pull/58604) [@yoyo837](https://github.com/yoyo837) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - Button - 🐞 Fix Button ignoring `tabIndex` when `href` is set. [#59732](https://github.com/ant-design/ant-design/pull/59732) [@nikzanda](https://github.com/nikzanda) - 🐞 Fix Button not applying component-specific non-`solid` variants from ConfigProvider when `color` is omitted. [#59589](https://github.com/ant-design/ant-design/pull/59589) [@QDyanbing](https://github.com/QDyanbing) - ColorPicker - 🆕 Add ColorPicker `styles.popup.container` and `classNames.popup.container` to customize the popup content container, and deprecate `styles.popupOverlayInner` while preserving compatibility until v7. [#59743](https://github.com/ant-design/ant-design/pull/59743) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix ColorPicker ignoring `styles.popupOverlayInner` when `styles` is a function or configured through ConfigProvider. [#59743](https://github.com/ant-design/ant-design/pull/59743) [@QDyanbing](https://github.com/QDyanbing) - Dropdown - 🆕 Add Dropdown `classNames.menu` and `styles.menu` to customize the dropdown menu root element. [#58979](https://github.com/ant-design/ant-design/pull/58979) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Dropdown unexpectedly scrolling when `autoFocus` focuses the menu. [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/dropdown#271](https://github.com/react-component/dropdown/pull/271) [@github-actions](https://github.com/apps/github-actions) [@lkxdsb](https://github.com/lkxdsb) - Form - 🆕 Add Form and Form.Item `labelAlign` values `start` / `end` for label alignment that follows text direction, while retaining and deprecating legacy `left` / `right` values. [#59760](https://github.com/ant-design/ant-design/pull/59760) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Form.Item `noStyle` fields losing the parent `validateStatus` after being edited. [#59708](https://github.com/ant-design/ant-design/pull/59708) [@nikzanda](https://github.com/nikzanda) - Input - ⌨️ Improve Input.OTP accessibility with localized cell names through `locale.Input.otpCell` and `aria-invalid` on each input cell. [#59722](https://github.com/ant-design/ant-design/pull/59722) [@droduit](https://github.com/droduit) - 🐞 Fix Input.Search applying `rootClassName` to the inner input instead of the root element. [#59582](https://github.com/ant-design/ant-design/pull/59582) [@Chaoqi31](https://github.com/Chaoqi31) - Menu - 🐞 Fix Menu parent submenu selection styles not updating after items load dynamically. [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/menu#895](https://github.com/react-component/menu/pull/895) [@github-actions](https://github.com/apps/github-actions) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Menu submenu Escape navigation also closing the surrounding popup. [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/menu#899](https://github.com/react-component/menu/pull/899) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - Slider - ⌨️ Add Slider `ariaDescribedByForHandle` prop to associate handles with accessible descriptions. [#59110](https://github.com/ant-design/ant-design/pull/59110) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix Slider failing to finish dragging when an ancestor stops `mouseup` propagation and potentially throwing when its container becomes unavailable during dragging. [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/slider#1089](https://github.com/react-component/slider/pull/1089) [react-component/slider#1087](https://github.com/react-component/slider/pull/1087) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - Splitter - ⌨️ Improve Splitter collapse controls with localized accessible names and custom icon `aria-label` overrides. [#58978](https://github.com/ant-design/ant-design/pull/58978) [@thlovey](https://github.com/thlovey) - 🐞 Fix Splitter remaining in a dragging state after a touch gesture is cancelled. [#59712](https://github.com/ant-design/ant-design/pull/59712) [@Aminark](https://github.com/Aminark) - Tabs - 🆕 Add Tabs `more.open` and `more.onOpenChange` to control the overflow menu, retaining and deprecating `more.visible` and `more.onVisibleChange`. [#59259](https://github.com/ant-design/ant-design/pull/59259) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Tabs `moreIcon` being overridden by ConfigProvider `tabs.more.icon` and `tabs.moreIcon`. [#59690](https://github.com/ant-design/ant-design/pull/59690) [@nikzanda](https://github.com/nikzanda) - Upload - 🐞 Fix Upload incorrectly detecting image thumbnails when URL query parameters or fragments contain slashes. [#59649](https://github.com/ant-design/ant-design/pull/59649) [@Aminark](https://github.com/Aminark) - 🐞 Fix Upload not triggering `onFocus` when focus enters select, drag, and picture-card layouts. [#59002](https://github.com/ant-design/ant-design/pull/59002) [@nrps9909](https://github.com/nrps9909) - ⌨️ Improve Collapse accessibility with Space key activation without page scrolling and `aria-controls` linking expanded headers to their panels. [#59771](https://github.com/ant-design/ant-design/pull/59771) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix Card `tabProps.onChange` not being triggered when switching tabs. [#59655](https://github.com/ant-design/ant-design/pull/59655) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Tooltip and Popover text shifting after the opening motion. [#59729](https://github.com/ant-design/ant-design/pull/59729) [@th74100](https://github.com/th74100) - 🐞 Fix `theme.getDesignToken` failing to retrieve Design Token when `algorithm` is an empty array. [#59695](https://github.com/ant-design/ant-design/pull/59695) [@nikzanda](https://github.com/nikzanda) - 🐞 Fix numeric `0` being ignored in Input prefixes, suffixes, and clear icons, Mentions suffixes, Cascader expand and loading icons, and Pagination custom navigation items or icons. [#59548](https://github.com/ant-design/ant-design/pull/59548) [#59566](https://github.com/ant-design/ant-design/pull/59566) [#58604](https://github.com/ant-design/ant-design/pull/58604) [@QDyanbing](https://github.com/QDyanbing) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🐞 Fix Checkbox and Radio unexpectedly closing Tooltip when the pointer moves from the control to its text, and Radio incorrectly firing `onMouseEnter` and `onMouseLeave`. [#59701](https://github.com/ant-design/ant-design/pull/59701) [#59699](https://github.com/ant-design/ant-design/pull/59699) [@nikzanda](https://github.com/nikzanda) - 🐞 Fix Statistic displaying exponential notation and ignoring `precision` and separators for very small or very large numbers. [#59693](https://github.com/ant-design/ant-design/pull/59693) [@RaphaelFakhri](https://github.com/RaphaelFakhri) - 🐞 Fix TreeSelect ignoring ConfigProvider `className` and `style`, and root `classNames` and `styles` incorrectly affecting the popup. [#59343](https://github.com/ant-design/ant-design/pull/59343) [@dogledogle](https://github.com/dogledogle) - 🌐 Add German, French, and Italian translations for the clear button's accessible name in Input, Select, and related components. [#59723](https://github.com/ant-design/ant-design/pull/59723) [@droduit](https://github.com/droduit) --- - 🆕 新增 Button、Tag、Steps、Alert 和 Timeline 对 ConfigProvider 全局 `variant` 的支持,并支持通过 `divider.variant` 统一设置 Divider 的分割线样式。 [#59589](https://github.com/ant-design/ant-design/pull/59589) [#59588](https://github.com/ant-design/ant-design/pull/59588) [#59578](https://github.com/ant-design/ant-design/pull/59578) [#59577](https://github.com/ant-design/ant-design/pull/59577) [#59587](https://github.com/ant-design/ant-design/pull/59587) [#59576](https://github.com/ant-design/ant-design/pull/59576) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 DatePicker、TimePicker、Select、AutoComplete、Cascader 和 TreeSelect 的 `suffix` 属性,用于自定义后缀内容;选择类组件支持根据状态动态渲染。`suffixIcon` 保持兼容并废弃,请迁移至 `suffix`。 [#59240](https://github.com/ant-design/ant-design/pull/59240) [#59185](https://github.com/ant-design/ant-design/pull/59185) [@QDyanbing](https://github.com/QDyanbing) [@meet-student](https://github.com/meet-student) - 🆕 新增 Input、Input.TextArea、Mentions、InputNumber、Select、AutoComplete、TreeSelect、Cascader、DatePicker 和 TimePicker 的 `allowClear.tabIndex`;Input、Input.TextArea、Mentions、DatePicker 和 TimePicker 新增 `allowClear.label`,支持设置清除按钮的 Tab 顺序和无障碍名称,并按字段继承 ConfigProvider 配置。 [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59567](https://github.com/ant-design/ant-design/pull/59567) [#59548](https://github.com/ant-design/ant-design/pull/59548) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 App 在 React 19.3 及以上版本使用 `component={false}` 时的 Fragment `ref` 支持。 [#59281](https://github.com/ant-design/ant-design/pull/59281) [@li-jia-nan](https://github.com/li-jia-nan) - 🆕 新增 BorderBeam `items` 属性,可分别设置每束光的 `color`、`lineWidth`、`outset` 和 `size`,并由数组长度决定光束数量。 [#59095](https://github.com/ant-design/ant-design/pull/59095) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 Cascader 的 `checkStrictly` 属性,支持在多选模式下独立勾选父子选项。 [#59566](https://github.com/ant-design/ant-design/pull/59566) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 Cascader、TreeSelect 和 AutoComplete 的 ConfigProvider `allowClear` 全局配置,可分别统一设置清除按钮。 [#59593](https://github.com/ant-design/ant-design/pull/59593) [#59592](https://github.com/ant-design/ant-design/pull/59592) [#59591](https://github.com/ant-design/ant-design/pull/59591) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 Checkbox.Group 和 Radio.Group 的 `classNames` 和 `styles`,可自定义组容器、选项、图标和文本的样式。 [#59058](https://github.com/ant-design/ant-design/pull/59058) [#59059](https://github.com/ant-design/ant-design/pull/59059) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 InputNumber `allowClear` 和 `onClear`,可一键清空数值,并自定义清除图标、禁用状态及无障碍名称。 [#59251](https://github.com/ant-design/ant-design/pull/59251) [@nikzanda](https://github.com/nikzanda) - 🆕 新增 Space `align="stretch"`,使子元素沿交叉轴拉伸对齐。 [#59005](https://github.com/ant-design/ant-design/pull/59005) [@dogledogle](https://github.com/dogledogle) - 🆕 新增 Typography `shimmer` 属性,为文本显示流光效果,可通过 `duration` 分别设置动画和等待时长。 [#59054](https://github.com/ant-design/ant-design/pull/59054) [@zombieJ](https://github.com/zombieJ) - 🛠 统一 Input、Input.TextArea、Mentions、InputNumber、Select、AutoComplete、TreeSelect、Cascader、DatePicker 和 TimePicker 的 `allowClear.disabled` 行为,设置为 `true` 时移除清除按钮,与 `allowClear={false}` 保持一致。 [#59548](https://github.com/ant-design/ant-design/pull/59548) [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59567](https://github.com/ant-design/ant-design/pull/59567) [@QDyanbing](https://github.com/QDyanbing) - 💄 调整 Alert 容器圆角组件 Token,将 `borderRadius` 替换为 `containerBorderRadius`,自定义容器圆角时需使用新 Token。 [#59305](https://github.com/ant-design/ant-design/pull/59305) [@MadCcc](https://github.com/MadCcc) - DatePicker - 🆕 新增 DatePicker 和 TimePicker `components.nowButton` 和 `components.okButton`,支持分别自定义底部的“今天/此刻”按钮和确认按钮。旧的 `components.button` 保持兼容并废弃。 [#59778](https://github.com/ant-design/ant-design/pull/59778) [@yoyo837](https://github.com/yoyo837) - ⌨️ 增强 DatePicker 和 TimePicker 的键盘与读屏支持,时间面板支持方向键切换、Enter/Space 确认并跳过禁用选项,底部“今天/此刻”按钮支持键盘操作和原生禁用状态。 [#59778](https://github.com/ant-design/ant-design/pull/59778) [#59367](https://github.com/ant-design/ant-design/pull/59367) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 DatePicker 和 TimePicker 在 `allowClear` 对象未指定 `clearIcon` 时忽略 `clearIcon` 配置的问题。 [#59565](https://github.com/ant-design/ant-design/pull/59565) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 DatePicker、TimePicker 和 Calendar 在 Node 原生 ESM 环境下的依赖导入兼容性。 [#59261](https://github.com/ant-design/ant-design/pull/59261) [@zombieJ](https://github.com/zombieJ) - 🐞 修复 DatePicker 使用 Day.js 时,组件语言与全局语言不一致导致本地化月份等日期输入无法解析的问题。 [#59240](https://github.com/ant-design/ant-design/pull/59240) [@QDyanbing](https://github.com/QDyanbing) - 🌐 修正 DatePicker `zh_TW` 的选周用语。 [#59261](https://github.com/ant-design/ant-design/pull/59261) [@zombieJ](https://github.com/zombieJ) - Select - 🆕 新增 Select `autoComplete` 属性和 ConfigProvider `select.autoComplete` 配置,用于设置搜索输入框的浏览器自动补全行为。 [#59566](https://github.com/ant-design/ant-design/pull/59566) [#59632](https://github.com/ant-design/ant-design/pull/59632) [@QDyanbing](https://github.com/QDyanbing) - ⌨️ 优化 Select、Cascader、TreeSelect 和 AutoComplete 的屏幕阅读器体验,隐藏默认装饰性箭头、搜索和加载图标,避免重复朗读。 [#59709](https://github.com/ant-design/ant-design/pull/59709) [@droduit](https://github.com/droduit) - ⌨️ 增强 Select、Cascader 和 TreeSelect 清除按钮的键盘可访问性,聚焦时显示按钮及焦点轮廓,并使用本地化无障碍名称。 [#58267](https://github.com/ant-design/ant-design/pull/58267) [@Pareder](https://github.com/Pareder) - ⌨️ 修复 Select 和 AutoComplete 在虚拟滚动模式下无法正确播报选项位置、总数及分组的问题。 [#58993](https://github.com/ant-design/ant-design/pull/58993) [@yoyo837](https://github.com/yoyo837) - Table - 🆕 新增 Table 的 `expandable.showExpandAll` 和 `expandable.onExpandAll`,支持使用 `expandedRowRender` 时一键展开或收起当前页的所有可展开行。 [#59036](https://github.com/ant-design/ant-design/pull/59036) [@nikzanda](https://github.com/nikzanda) - 🆕 新增 Table `components.ExpandIcon` 和 `expandable.columnTitle` 渲染函数,支持自定义行展开及全部展开按钮;兼容并废弃 `expandable.expandIcon`,请迁移至 `components.ExpandIcon`。 [#59036](https://github.com/ant-design/ant-design/pull/59036) [@nikzanda](https://github.com/nikzanda) - ⌨️ 增强 Table 行选择的可访问性,使用本地化无障碍名称,并支持通过键盘打开自定义选择菜单。 [#58969](https://github.com/ant-design/ant-design/pull/58969) [@thlovey](https://github.com/thlovey) - ⚡️ 优化 Table 对深层树形数据同时应用多个列筛选条件时的性能,避免重复递归筛选。 [#59719](https://github.com/ant-design/ant-design/pull/59719) [@Aminark](https://github.com/Aminark) - Tree - 💄 优化 Tree 非勾选模式下 `selectable={false}` 节点的样式,显示禁用文本色和光标,并取消悬停高亮。 [#58906](https://github.com/ant-design/ant-design/pull/58906) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🐞 修复 Tree 的 `expandedKeys`、`selectedKeys` 等显式为 `undefined` 时默认值及非受控交互失效的问题。 [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - 🐞 修复 Tree 标题内子元素获得焦点时列表意外滚动的问题。 [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - 🐞 修复 Tree 拖拽到嵌套首个子节点前方时目标错误、自定义拖拽文本被覆盖,以及卸载后仍触发悬停展开的问题。 [#59274](https://github.com/ant-design/ant-design/pull/59274) [@aojunhao123](https://github.com/aojunhao123) - Listy - 🆕 新增 Listy `rowKey` 回调的第二个参数 `index`,便于根据行下标生成标识。 [#59347](https://github.com/ant-design/ant-design/pull/59347) [@aojunhao123](https://github.com/aojunhao123) - 🆕 新增 Listy `rowHoverable` 属性,用于关闭列表行的悬停高亮。 [#59273](https://github.com/ant-design/ant-design/pull/59273) [@QDyanbing](https://github.com/QDyanbing) - 🆕 新增 Listy `scrollWidth` 属性,使虚拟列表内容超出容器时可横向滚动。 [#59197](https://github.com/ant-design/ant-design/pull/59197) [@aojunhao123](https://github.com/aojunhao123) - Pagination - 🆕 新增 Pagination `onChange` 可选的第三个参数 `info`,通过 `info.recommendPage` 在每页条数变化时提供推荐页码,便于保留当前数据位置;Table 和 List 的 `pagination.onChange` 同步支持。 [#58604](https://github.com/ant-design/ant-design/pull/58604) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - ♿ 优化 Pagination 的列表语义以及分页按钮的键盘操作和禁用状态识别。 [#58604](https://github.com/ant-design/ant-design/pull/58604) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🌐 修正 Pagination 亚美尼亚语(`hy_AM`)、阿尔巴尼亚语(`sq_AL`)、尼泊尔语(`ne_NP`)和繁体中文(`zh_TW`)的分页及每页条数文案。 [#59500](https://github.com/ant-design/ant-design/pull/59500) [#59499](https://github.com/ant-design/ant-design/pull/59499) [#58604](https://github.com/ant-design/ant-design/pull/58604) [@yoyo837](https://github.com/yoyo837) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - Button - 🐞 修复 Button 设置 `href` 时 `tabIndex` 不生效的问题。 [#59732](https://github.com/ant-design/ant-design/pull/59732) [@nikzanda](https://github.com/nikzanda) - 🐞 修复 Button 未指定 `color` 时无法使用 ConfigProvider 组件级非 `solid` 变体的问题。 [#59589](https://github.com/ant-design/ant-design/pull/59589) [@QDyanbing](https://github.com/QDyanbing) - ColorPicker - 🆕 新增 ColorPicker `styles.popup.container` 和 `classNames.popup.container`,支持自定义弹出面板内容容器;废弃 `styles.popupOverlayInner` 并保留兼容至 v7。 [#59743](https://github.com/ant-design/ant-design/pull/59743) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 ColorPicker 在 `styles` 为函数或通过 ConfigProvider 配置时 `styles.popupOverlayInner` 不生效的问题。 [#59743](https://github.com/ant-design/ant-design/pull/59743) [@QDyanbing](https://github.com/QDyanbing) - Dropdown - 🆕 新增 Dropdown `classNames.menu` 和 `styles.menu`,用于自定义下拉菜单根元素的样式。 [#58979](https://github.com/ant-design/ant-design/pull/58979) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Dropdown 启用 `autoFocus` 时自动聚焦菜单导致意外滚动的问题。 [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/dropdown#271](https://github.com/react-component/dropdown/pull/271) [@github-actions](https://github.com/apps/github-actions) [@lkxdsb](https://github.com/lkxdsb) - Form - 🆕 新增 Form 和 Form.Item `labelAlign` 对逻辑方向 `start` / `end` 的支持,使标签对齐方式随书写方向调整;兼容并废弃旧值 `left` / `right`。 [#59760](https://github.com/ant-design/ant-design/pull/59760) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Form.Item `noStyle` 字段在编辑后丢失父级 `validateStatus` 的问题。 [#59708](https://github.com/ant-design/ant-design/pull/59708) [@nikzanda](https://github.com/nikzanda) - Input - ⌨️ 优化 Input.OTP 的无障碍体验,支持通过 `locale.Input.otpCell` 本地化每个输入格的名称,并在输入格上标记 `aria-invalid`。 [#59722](https://github.com/ant-design/ant-design/pull/59722) [@droduit](https://github.com/droduit) - 🐞 修复 Input.Search 的 `rootClassName` 被添加到内部输入框而不是根节点的问题。 [#59582](https://github.com/ant-design/ant-design/pull/59582) [@Chaoqi31](https://github.com/Chaoqi31) - Menu - 🐞 修复 Menu 动态加载菜单项后父级子菜单未更新选中样式的问题。 [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/menu#895](https://github.com/react-component/menu/pull/895) [@github-actions](https://github.com/apps/github-actions) [@dogledogle](https://github.com/dogledogle) - 🐞 修复 Menu 子菜单按 Escape 返回父级时连带关闭外层弹层的问题。 [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/menu#899](https://github.com/react-component/menu/pull/899) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - Slider - ⌨️ 新增 Slider `ariaDescribedByForHandle` 属性,为滑块关联额外的无障碍说明。 [#59110](https://github.com/ant-design/ant-design/pull/59110) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 Slider 在祖先元素阻止 `mouseup` 冒泡时无法结束拖拽,以及拖拽过程中容器暂不可用时可能报错的问题。 [#59786](https://github.com/ant-design/ant-design/pull/59786) [react-component/slider#1089](https://github.com/react-component/slider/pull/1089) [react-component/slider#1087](https://github.com/react-component/slider/pull/1087) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - Splitter - ⌨️ 增强 Splitter 折叠控件的本地化无障碍名称,并允许通过自定义图标的 `aria-label` 覆盖默认名称。 [#58978](https://github.com/ant-design/ant-design/pull/58978) [@thlovey](https://github.com/thlovey) - 🐞 修复 Splitter 在触摸操作被取消后仍保留拖拽状态的问题。 [#59712](https://github.com/ant-design/ant-design/pull/59712) [@Aminark](https://github.com/Aminark) - Tabs - 🆕 新增 Tabs `more.open`、`more.onOpenChange`,用于控制溢出菜单展开状态;兼容并废弃 `more.visible`、`more.onVisibleChange`。 [#59259](https://github.com/ant-design/ant-design/pull/59259) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Tabs 的 `moreIcon` 被 ConfigProvider 的 `tabs.more.icon` 和 `tabs.moreIcon` 覆盖的问题。 [#59690](https://github.com/ant-design/ant-design/pull/59690) [@nikzanda](https://github.com/nikzanda) - Upload - 🐞 修复 Upload 在 URL 查询参数或锚点包含斜杠时误判图片缩略图的问题。 [#59649](https://github.com/ant-design/ant-design/pull/59649) [@Aminark](https://github.com/Aminark) - 🐞 修复 Upload 在焦点进入选择、拖拽及图片卡片布局时未触发 `onFocus` 回调的问题。 [#59002](https://github.com/ant-design/ant-design/pull/59002) [@nrps9909](https://github.com/nrps9909) - ⌨️ 改进 Collapse 无障碍体验,支持按空格键切换面板且不滚动页面,并通过 `aria-controls` 关联展开的标题与面板内容。 [#59771](https://github.com/ant-design/ant-design/pull/59771) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 Card 的 `tabProps.onChange` 在切换页签时不触发的问题。 [#59655](https://github.com/ant-design/ant-design/pull/59655) [@dogledogle](https://github.com/dogledogle) - 🐞 修复 Tooltip 和 Popover 在打开动画结束后文字发生位移的问题。 [#59729](https://github.com/ant-design/ant-design/pull/59729) [@th74100](https://github.com/th74100) - 🐞 修复 `theme.getDesignToken` 在 `algorithm` 为空数组时无法获取 Design Token 的问题。 [#59695](https://github.com/ant-design/ant-design/pull/59695) [@nikzanda](https://github.com/nikzanda) - 🐞 修复 Input 的前缀、后缀和清除图标、Mentions 的后缀、Cascader 的展开和加载图标,以及 Pagination 的自定义导航项或图标为数字 `0` 时被忽略的问题。 [#59548](https://github.com/ant-design/ant-design/pull/59548) [#59566](https://github.com/ant-design/ant-design/pull/59566) [#58604](https://github.com/ant-design/ant-design/pull/58604) [@QDyanbing](https://github.com/QDyanbing) [@EmilyyyLiu](https://github.com/EmilyyyLiu) - 🐞 修复 Checkbox 和 Radio 在鼠标从选框移到文字时意外关闭 Tooltip 的问题,并修复 Radio 错误触发 `onMouseEnter` 和 `onMouseLeave` 的问题。 [#59701](https://github.com/ant-design/ant-design/pull/59701) [#59699](https://github.com/ant-design/ant-design/pull/59699) [@nikzanda](https://github.com/nikzanda) - 🐞 修复 Statistic 在数值极小或极大时显示科学计数法,且 `precision` 与分隔符不生效的问题。 [#59693](https://github.com/ant-design/ant-design/pull/59693) [@RaphaelFakhri](https://github.com/RaphaelFakhri) - 🐞 修复 TreeSelect 未应用 ConfigProvider 的全局 `className`、`style`,以及根节点 `classNames`、`styles` 错误影响下拉弹层的问题。 [#59343](https://github.com/ant-design/ant-design/pull/59343) [@dogledogle](https://github.com/dogledogle) - 🌐 新增 Input、Select 等组件清除按钮无障碍名称的德语、法语和意大利语翻译。 [#59723](https://github.com/ant-design/ant-design/pull/59723) [@droduit](https://github.com/droduit)

  3. 6.6.8 GitHub ↗
    原版更新说明

    - Modal - 🐞 Fix Modal and Popconfirm custom button `onClick` handlers preventing confirmation or cancellation callbacks from running. [#59294](https://github.com/ant-design/ant-design/pull/59294) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Modal confirmation content styles not applying the `colorText`, `fontSize`, and `lineHeight` tokens. [#59627](https://github.com/ant-design/ant-design/pull/59627) [@QDyanbing](https://github.com/QDyanbing) - Pagination - ⌨️ Fix Pagination focus indicators and jump icons not appearing when an inner link or button receives keyboard focus. [#59573](https://github.com/ant-design/ant-design/pull/59573) [@yoyo837](https://github.com/yoyo837) - 🐞 Fix Pagination accidentally selecting text or blank areas after repeatedly clicking jump buttons. [#59638](https://github.com/ant-design/ant-design/pull/59638) [@Ye-YiChen](https://github.com/Ye-YiChen) - 🐞 Fix Message blocking pointer events on underlying elements outside the message content. [#59622](https://github.com/ant-design/ant-design/pull/59622) [@th74100](https://github.com/th74100) - 🐞 Fix Upload preview tasks remaining pending and leaking memory when images fail to decode. [#59583](https://github.com/ant-design/ant-design/pull/59583) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Card title margins not being reset when using Typography.Title as the title. [#59613](https://github.com/ant-design/ant-design/pull/59613) [@QDyanbing](https://github.com/QDyanbing) - 💄 Fix Listy virtual scrollbars not using the `colorSplit` token for their background color. [#59643](https://github.com/ant-design/ant-design/pull/59643) [@th74100](https://github.com/th74100) - ♿ Fix Progress `aria-valuenow` reporting `success.percent` instead of the overall `percent` and exceeding the 0–100 range. [#59634](https://github.com/ant-design/ant-design/pull/59634) [@Enesuygurs](https://github.com/Enesuygurs) - 🤖 Fix List `dataSource` types not accepting readonly arrays. [#59642](https://github.com/ant-design/ant-design/pull/59642) [@oovz](https://github.com/oovz) --- - Modal - 🐞 修复 Modal 和 Popconfirm 自定义按钮 `onClick` 导致确认或取消回调失效的问题。[#59294](https://github.com/ant-design/ant-design/pull/59294) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Modal 确认框正文的 `colorText`、`fontSize` 和 `lineHeight` token 样式未生效的问题。[#59627](https://github.com/ant-design/ant-design/pull/59627) [@QDyanbing](https://github.com/QDyanbing) - Pagination - ⌨️ 修复 Pagination 内部链接或按钮获得键盘焦点时,焦点样式和跳页图标不显示的问题。[#59573](https://github.com/ant-design/ant-design/pull/59573) [@yoyo837](https://github.com/yoyo837) - 🐞 修复 Pagination 连续点击跳页按钮后意外选中文字或空白区域的问题。[#59638](https://github.com/ant-design/ant-design/pull/59638) [@Ye-YiChen](https://github.com/Ye-YiChen) - 🐞 修复 Message 消息内容外的区域阻挡下方元素鼠标事件的问题。[#59622](https://github.com/ant-design/ant-design/pull/59622) [@th74100](https://github.com/th74100) - 🐞 修复 Upload 图片解码失败时预览任务一直未完成并泄漏内存的问题。[#59583](https://github.com/ant-design/ant-design/pull/59583) [@dogledogle](https://github.com/dogledogle) - 🐞 修复 Card 使用 Typography.Title 作为标题时外边距未重置的问题。[#59613](https://github.com/ant-design/ant-design/pull/59613) [@QDyanbing](https://github.com/QDyanbing) - 💄 修复 Listy 虚拟滚动条背景色未使用 `colorSplit` token 的问题。[#59643](https://github.com/ant-design/ant-design/pull/59643) [@th74100](https://github.com/th74100) - ♿ 修复 Progress 的 `aria-valuenow` 错误使用 `success.percent` 而非整体 `percent`,以及取值超出 0–100 范围的问题。[#59634](https://github.com/ant-design/ant-design/pull/59634) [@Enesuygurs](https://github.com/Enesuygurs) - 🤖 修复 List 的 `dataSource` 类型不支持只读数组的问题。[#59642](https://github.com/ant-design/ant-design/pull/59642) [@oovz](https://github.com/oovz)

  4. 6.6.7 GitHub ↗
    原版更新说明

    - 🐞 Fix antd failing to load in some production builds when the React version export is unavailable. [#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#810](https://github.com/react-component/util/pull/810) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 Fix Button, Form, Slider, Typography, and Upload triggering delayed state updates after unmounting. [#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#806](https://github.com/react-component/util/pull/806) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 Fix Select, TreeSelect, Cascader, and Mentions `popupRender` content inheriting Form.Item validation status and feedback icons. [#59463](https://github.com/ant-design/ant-design/pull/59463) [@huytdps13400](https://github.com/huytdps13400) - 🐞 Fix Popover and Popconfirm preset `color` not applying to the panel background. [#59549](https://github.com/ant-design/ant-design/pull/59549) [@dogledogle](https://github.com/dogledogle) - Form - 🐞 Fix Form custom `shouldUpdate` comparisons missing updates when nested fields with `preserve={false}` are unmounted. [#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#807](https://github.com/react-component/util/pull/807) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 Fix Form.Item incorrectly removing a trailing `|` from a string `label` when displaying a colon. [#59599](https://github.com/ant-design/ant-design/pull/59599) [@wfatih](https://github.com/wfatih) - ⌨️ Fix Form.Item not associating warning-only messages with the control through `aria-describedby`. [#59443](https://github.com/ant-design/ant-design/pull/59443) [@Chaoqi31](https://github.com/Chaoqi31) - Input - 🐞 Fix Input.OTP losing valid characters when pasting text with a filtering `formatter`. [#59580](https://github.com/ant-design/ant-design/pull/59580) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 Fix Input.OTP ignoring `rootClassName` on the root element. [#59439](https://github.com/ant-design/ant-design/pull/59439) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix Input.OTP not rendering a numeric `0` as the `separator`. [#59518](https://github.com/ant-design/ant-design/pull/59518) [@Ye-YiChen](https://github.com/Ye-YiChen) - Table - 🐞 Fix Table selection menu skipping current-page tree descendants when inverting selection and deselecting disabled rows on other pages when clearing selections. [#59570](https://github.com/ant-design/ant-design/pull/59570) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 Fix Table sorted fixed header hover background and the `fixedHeaderSortActiveBg` token not taking effect. [#59554](https://github.com/ant-design/ant-design/pull/59554) [@dogledogle](https://github.com/dogledogle) - ColorPicker - 🐞 Fix ColorPicker applying RTL styles when ConfigProvider `direction` is `ltr`. [#59441](https://github.com/ant-design/ant-design/pull/59441) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix ColorPicker number input control button width. [#59538](https://github.com/ant-design/ant-design/pull/59538) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix nested Descriptions being affected by the outer component's borders, spacing, and cell layout. [#59547](https://github.com/ant-design/ant-design/pull/59547) [@xushanpei](https://github.com/xushanpei) - 🐞 Fix Progress line ignoring string widths in `size`, such as `['50%', 20]`, and always filling the container. [#59597](https://github.com/ant-design/ant-design/pull/59597) [@wfatih](https://github.com/wfatih) - 🐞 Fix Tooltip failing to limit panel corner radius to 8px for left and right placements when the `borderRadius` token exceeds 8. [#59568](https://github.com/ant-design/ant-design/pull/59568) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Popconfirm `onPopupClick` firing twice for a single click inside the popup content. [#59440](https://github.com/ant-design/ant-design/pull/59440) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix Upload extra content styles when `showUploadList.extra` is `0` or returns `0`. [#59438](https://github.com/ant-design/ant-design/pull/59438) [@Chaoqi31](https://github.com/Chaoqi31) - ♿ Fix Typography duplicate button semantics for the default edit icon. [#59112](https://github.com/ant-design/ant-design/pull/59112) [@nrps9909](https://github.com/nrps9909) - ⚡️ Improve Transfer source list rendering performance. [#59524](https://github.com/ant-design/ant-design/pull/59524) [@QDyanbing](https://github.com/QDyanbing) --- - 🐞 修复 antd 在部分生产构建中因 React 版本信息缺失而加载失败的问题。[#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#810](https://github.com/react-component/util/pull/810) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 修复 Button、Form、Slider、Typography 和 Upload 在卸载后仍触发延迟状态更新的问题。[#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#806](https://github.com/react-component/util/pull/806) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 修复 Select、TreeSelect、Cascader 和 Mentions 的 `popupRender` 内容继承 Form.Item 校验状态和反馈图标的问题。[#59463](https://github.com/ant-design/ant-design/pull/59463) [@huytdps13400](https://github.com/huytdps13400) - 🐞 修复 Popover 和 Popconfirm 设置预设 `color` 后面板背景色不生效的问题。[#59549](https://github.com/ant-design/ant-design/pull/59549) [@dogledogle](https://github.com/dogledogle) - Form - 🐞 修复 Form 嵌套字段设置 `preserve={false}` 后卸载时,自定义 `shouldUpdate` 判断可能无法更新关联内容的问题。[#59560](https://github.com/ant-design/ant-design/pull/59560) [react-component/util#807](https://github.com/react-component/util/pull/807) [@github-actions](https://github.com/apps/github-actions) [@nrps9909](https://github.com/nrps9909) - 🐞 修复 Form.Item 显示冒号时误删字符串 `label` 末尾 `|` 的问题。[#59599](https://github.com/ant-design/ant-design/pull/59599) [@wfatih](https://github.com/wfatih) - ⌨️ 修复 Form.Item 仅有警告信息时未通过 `aria-describedby` 关联到控件的问题。[#59443](https://github.com/ant-design/ant-design/pull/59443) [@Chaoqi31](https://github.com/Chaoqi31) - Input - 🐞 修复 Input.OTP 使用过滤型 `formatter` 时粘贴文本会丢失有效字符的问题。[#59580](https://github.com/ant-design/ant-design/pull/59580) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 修复 Input.OTP 根节点未应用 `rootClassName` 的问题。[#59439](https://github.com/ant-design/ant-design/pull/59439) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 Input.OTP 无法渲染数值 `0` 作为 `separator` 的问题。[#59518](https://github.com/ant-design/ant-design/pull/59518) [@Ye-YiChen](https://github.com/Ye-YiChen) - Table - 🐞 修复 Table 选择菜单反选时遗漏当前页树形子节点,以及清空选择时取消其他页禁用行选中状态的问题。[#59570](https://github.com/ant-design/ant-design/pull/59570) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 修复 Table 固定排序表头悬停背景异常及 `fixedHeaderSortActiveBg` token 不生效的问题。[#59554](https://github.com/ant-design/ant-design/pull/59554) [@dogledogle](https://github.com/dogledogle) - ColorPicker - 🐞 修复 ConfigProvider 的 `direction` 为 `ltr` 时 ColorPicker 仍应用 RTL 样式的问题。[#59441](https://github.com/ant-design/ant-design/pull/59441) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 ColorPicker 数值输入框操作按钮宽度异常的问题。[#59538](https://github.com/ant-design/ant-design/pull/59538) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复嵌套 Descriptions 受到外层组件边框、间距和单元格布局影响的问题。[#59547](https://github.com/ant-design/ant-design/pull/59547) [@xushanpei](https://github.com/xushanpei) - 🐞 修复 Progress 线形进度条 `size` 传入字符串宽度(如 `['50%', 20]`)时不生效、始终撑满容器的问题。[#59597](https://github.com/ant-design/ant-design/pull/59597) [@wfatih](https://github.com/wfatih) - 🐞 修复 Tooltip 的 `borderRadius` token 大于 8 时,左右侧弹层圆角未限制为 8px 的问题。[#59568](https://github.com/ant-design/ant-design/pull/59568) [@dogledogle](https://github.com/dogledogle) - 🐞 修复点击 Popconfirm 弹层内容时 `onPopupClick` 被触发两次的问题。[#59440](https://github.com/ant-design/ant-design/pull/59440) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 Upload 的 `showUploadList.extra` 为 `0` 或返回 `0` 时额外内容样式未生效的问题。[#59438](https://github.com/ant-design/ant-design/pull/59438) [@Chaoqi31](https://github.com/Chaoqi31) - ♿ 修复 Typography 默认编辑图标暴露重复按钮语义的问题。[#59112](https://github.com/ant-design/ant-design/pull/59112) [@nrps9909](https://github.com/nrps9909) - ⚡️ 优化 Transfer 左侧列表的渲染性能。[#59524](https://github.com/ant-design/ant-design/pull/59524) [@QDyanbing](https://github.com/QDyanbing)

  5. 6.6.6 GitHub ↗
    原版更新说明

    - Table - 🐞 Fix Table selection menu's "Select all data" option missing descendant rows in tree data. [#59342](https://github.com/ant-design/ant-design/pull/59342) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Table `rowSelection` `onSelect` returning `undefined` for preserved keys when `preserveSelectedRowKeys` is enabled. [#59449](https://github.com/ant-design/ant-design/pull/59449) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix Table `column.filterDropdownProps.popupRender` not working. [#59393](https://github.com/ant-design/ant-design/pull/59393) [@ramen2020](https://github.com/ramen2020) - 🐞 Fix Table not scrolling to the first row when `scroll` is configured only in ConfigProvider. [#59394](https://github.com/ant-design/ant-design/pull/59394) [@ramen2020](https://github.com/ramen2020) - 🐞 Fix Table selection column `z-index` not applying with fixed columns after the v6 logical property migration. [#58609](https://github.com/ant-design/ant-design/pull/58609) [@leshalv](https://github.com/leshalv) - Transfer - 🐞 Fix Transfer `selectAllLabels` falling back to default counts when set to numeric `0`. [#59487](https://github.com/ant-design/ant-design/pull/59487) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix controlled Transfer selection remaining checked after one-way removal. [#59428](https://github.com/ant-design/ant-design/pull/59428) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 Fix Transfer Shift selection affecting filtered-out items and selecting incorrect ranges after search results change. [#59348](https://github.com/ant-design/ant-design/pull/59348) [@QDyanbing](https://github.com/QDyanbing) - Tree - 🐞 Fix Tree.DirectoryTree Shift range selection with numeric keys and `defaultExpandAll`. [#59375](https://github.com/ant-design/ant-design/pull/59375) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Tree.DirectoryTree incorrectly selecting nodes with `selectable: false` or `disabled: true` during Shift range selection. [#59341](https://github.com/ant-design/ant-design/pull/59341) [@QDyanbing](https://github.com/QDyanbing) - Carousel - 🐞 Fix Carousel reversing vertical slide order in RTL when `dotPlacement` makes the carousel vertical. [#59436](https://github.com/ant-design/ant-design/pull/59436) [@Chaoqi31](https://github.com/Chaoqi31) - 🤖 Fix Carousel types exposing the ignored `verticalSwiping` prop. [#59366](https://github.com/ant-design/ant-design/pull/59366) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix numeric `0` content rendering across List, Divider, and Drawer. [#59118](https://github.com/ant-design/ant-design/pull/59118) [#59517](https://github.com/ant-design/ant-design/pull/59517) [#59437](https://github.com/ant-design/ant-design/pull/59437) [@nrps9909](https://github.com/nrps9909) [@Ye-YiChen](https://github.com/Ye-YiChen) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 Fix Notification timers not resuming after closing hovered notices. [#59435](https://github.com/ant-design/ant-design/pull/59435) [@zombieJ](https://github.com/zombieJ) - 🐞 Fix DatePicker and TimePicker RangePicker not applying ConfigProvider `locale.DatePicker`. [#59356](https://github.com/ant-design/ant-design/pull/59356) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix TreeSelect and Mentions calling `renderEmpty` with `Select` instead of their component names. [#59364](https://github.com/ant-design/ant-design/pull/59364) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix AutoComplete incorrectly inheriting `allowClear` from ConfigProvider `select`. [#59358](https://github.com/ant-design/ant-design/pull/59358) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Upload ignoring `linkProps.onClick` when clicking a file name link. [#59324](https://github.com/ant-design/ant-design/pull/59324) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Input.OTP focus landing on the wrong cell after paste. [#59479](https://github.com/ant-design/ant-design/pull/59479) [@dogledogle](https://github.com/dogledogle) - 🐞 Fix Typography text editing not working when `onClick` is provided. [#59325](https://github.com/ant-design/ant-design/pull/59325) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Alert close button remaining clickable when `closable.disabled` is true. [#59432](https://github.com/ant-design/ant-design/pull/59432) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Card ignoring `tabProps.defaultActiveKey` when selecting the initial tab. [#59414](https://github.com/ant-design/ant-design/pull/59414) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Breadcrumb dropdown menu links starting with `undefined` when the parent item has no `href` or `path`. [#59423](https://github.com/ant-design/ant-design/pull/59423) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Avatar falling back to its default size when a larger breakpoint matches without a configured size. [#59446](https://github.com/ant-design/ant-design/pull/59446) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Badge truncating fractional horizontal `offset` values. [#59314](https://github.com/ant-design/ant-design/pull/59314) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Button custom loading icons appearing before the loading delay ends. [#59353](https://github.com/ant-design/ant-design/pull/59353) [@QDyanbing](https://github.com/QDyanbing) - 🐞 Fix Tour `nextButtonProps.onClick` and `prevButtonProps.onClick` not receiving mouse events. [#59332](https://github.com/ant-design/ant-design/pull/59332) [@QDyanbing](https://github.com/QDyanbing) - 🤖 Fix Form.Item, Rate, and QRCode TypeScript definitions to exclude unsupported props. [#59373](https://github.com/ant-design/ant-design/pull/59373) [#59379](https://github.com/ant-design/ant-design/pull/59379) [#59408](https://github.com/ant-design/ant-design/pull/59408) [@QDyanbing](https://github.com/QDyanbing) - 🤖 Fix Upload custom request types to expose `abort` handles. [#59382](https://github.com/ant-design/ant-design/pull/59382) [@QDyanbing](https://github.com/QDyanbing) - 🌐 Add missing DatePicker placeholders and Carousel arrow labels in remaining locales. [#59351](https://github.com/ant-design/ant-design/pull/59351) [@shoutoutuoadi325](https://github.com/shoutoutuoadi325) - 🌐 Improve Romanian (ro_RO) locale translations. [#59528](https://github.com/ant-design/ant-design/pull/59528) [@vicuts](https://github.com/vicuts) --- - Table - 🐞 修复 Table 树形数据使用「全选所有」时漏选子孙行的问题。[#59342](https://github.com/ant-design/ant-design/pull/59342) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Table 开启 `preserveSelectedRowKeys` 时 `rowSelection` 的 `onSelect` 对已保留 key 返回 `undefined` 的问题。[#59449](https://github.com/ant-design/ant-design/pull/59449) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 Table `column.filterDropdownProps.popupRender` 不生效的问题。[#59393](https://github.com/ant-design/ant-design/pull/59393) [@ramen2020](https://github.com/ramen2020) - 🐞 修复 Table 仅在 ConfigProvider 中配置 `scroll` 时,翻页或筛选后不会滚动到首行的问题。[#59394](https://github.com/ant-design/ant-design/pull/59394) [@ramen2020](https://github.com/ramen2020) - 🐞 修复 Table 在 v6 逻辑方向属性迁移后,固定列场景下选择列 `z-index` 不生效的问题。[#58609](https://github.com/ant-design/ant-design/pull/58609) [@leshalv](https://github.com/leshalv) - Transfer - 🐞 修复 Transfer 的 `selectAllLabels` 设置为数值 `0` 时回退为默认数量文案的问题。[#59487](https://github.com/ant-design/ant-design/pull/59487) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复单向 Transfer 移除条目后,受控选中状态仍保持勾选的问题。[#59428](https://github.com/ant-design/ant-design/pull/59428) [@yunfeizhu](https://github.com/yunfeizhu) - 🐞 修复 Transfer 使用 Shift 连选时选中搜索隐藏项,以及搜索结果变化后连选范围错误的问题。[#59348](https://github.com/ant-design/ant-design/pull/59348) [@QDyanbing](https://github.com/QDyanbing) - Tree - 🐞 修复 Tree.DirectoryTree 使用数字 key 和 `defaultExpandAll` 时 Shift 范围选择失效的问题。[#59375](https://github.com/ant-design/ant-design/pull/59375) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Tree.DirectoryTree 按住 Shift 连选时会选中 `selectable: false` 或 `disabled: true` 节点的问题。[#59341](https://github.com/ant-design/ant-design/pull/59341) [@QDyanbing](https://github.com/QDyanbing) - Carousel - 🐞 修复 Carousel 在 RTL 下因 `dotPlacement` 变为纵向时仍镜像反转幻灯片顺序的问题。[#59436](https://github.com/ant-design/ant-design/pull/59436) [@Chaoqi31](https://github.com/Chaoqi31) - 🤖 修复 Carousel 类型暴露无效的 `verticalSwiping` 属性。[#59366](https://github.com/ant-design/ant-design/pull/59366) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 List、Divider 和 Drawer 无法正确渲染数值 `0` 内容的问题。[#59118](https://github.com/ant-design/ant-design/pull/59118) [#59517](https://github.com/ant-design/ant-design/pull/59517) [#59437](https://github.com/ant-design/ant-design/pull/59437) [@nrps9909](https://github.com/nrps9909) [@Ye-YiChen](https://github.com/Ye-YiChen) [@Chaoqi31](https://github.com/Chaoqi31) - 🐞 修复 Notification 关闭悬停通知后,其余通知计时无法恢复的问题。[#59435](https://github.com/ant-design/ant-design/pull/59435) [@zombieJ](https://github.com/zombieJ) - 🐞 修复 DatePicker 和 TimePicker 的 RangePicker 未应用 ConfigProvider `locale.DatePicker` 的问题。[#59356](https://github.com/ant-design/ant-design/pull/59356) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 TreeSelect 和 Mentions 调用 `renderEmpty` 时传入 `Select` 而非各自组件名的问题。[#59364](https://github.com/ant-design/ant-design/pull/59364) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 AutoComplete 错误继承 ConfigProvider `select.allowClear` 的问题。[#59358](https://github.com/ant-design/ant-design/pull/59358) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Upload 点击文件名链接时不触发 `linkProps.onClick` 的问题。[#59324](https://github.com/ant-design/ant-design/pull/59324) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Input.OTP 粘贴后焦点落在错误格子的问题。[#59479](https://github.com/ant-design/ant-design/pull/59479) [@dogledogle](https://github.com/dogledogle) - 🐞 修复 Typography 在提供 `onClick` 时无法进入文字编辑状态的问题。[#59325](https://github.com/ant-design/ant-design/pull/59325) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Alert 在 `closable.disabled` 为 true 时关闭按钮仍可点击的问题。[#59432](https://github.com/ant-design/ant-design/pull/59432) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Card 的 `tabProps.defaultActiveKey` 无法设置初始选中页签的问题。[#59414](https://github.com/ant-design/ant-design/pull/59414) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Breadcrumb 父级未设置 `href` 和 `path` 时,下拉菜单链接以 `undefined` 开头的问题。[#59423](https://github.com/ant-design/ant-design/pull/59423) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Avatar 在匹配更大断点且未配置对应尺寸时意外恢复默认大小的问题。[#59446](https://github.com/ant-design/ant-design/pull/59446) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Badge 截断水平 `offset` 小数值的问题。[#59314](https://github.com/ant-design/ant-design/pull/59314) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Button 自定义加载图标在延迟结束前提前显示的问题。[#59353](https://github.com/ant-design/ant-design/pull/59353) [@QDyanbing](https://github.com/QDyanbing) - 🐞 修复 Tour 的 `nextButtonProps.onClick` 和 `prevButtonProps.onClick` 无法获取鼠标事件的问题。[#59332](https://github.com/ant-design/ant-design/pull/59332) [@QDyanbing](https://github.com/QDyanbing) - 🤖 修正 Form.Item、Rate 和 QRCode 的 TypeScript 类型定义,排除不生效的属性。[#59373](https://github.com/ant-design/ant-design/pull/59373) [#59379](https://github.com/ant-design/ant-design/pull/59379) [#59408](https://github.com/ant-design/ant-design/pull/59408) [@QDyanbing](https://github.com/QDyanbing) - 🤖 修正 Upload 自定义上传请求的类型声明,支持获取 `abort` 取消句柄。[#59382](https://github.com/ant-design/ant-design/pull/59382) [@QDyanbing](https://github.com/QDyanbing) - 🌐 补充剩余语言包中缺失的 DatePicker 占位文案和 Carousel 箭头标签。[#59351](https://github.com/ant-design/ant-design/pull/59351) [@shoutoutuoadi325](https://github.com/shoutoutuoadi325) - 🌐 改进罗马尼亚语(ro_RO)语言包翻译。[#59528](https://github.com/ant-design/ant-design/pull/59528) [@vicuts](https://github.com/vicuts)

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

待提升项

  • 文档信息密度高 原报告严重程度:轻微

    内容详尽但篇幅较长,可能对部分用户造成阅读负担

    改进建议:可考虑将部分详细说明折叠或移至附录,突出核心判断流程

亮点

  • 解决前端开发中测试用例质量审查的明确痛点
  • 聚焦识别低价值测试,提升测试套件健康度
  • 适用于 Ant Design 使用者,受众明确
触发精准92/100

亮点

  • 触发场景描述清晰完整,覆盖多种用户意图变体
  • 边界清晰,不易与其他 Skill 混淆
结构规范95/100

待提升项

  • 缺少完整示例 原报告严重程度:轻微

    虽有输出格式示例,但缺少一个真实的测试用例审查完整案例

    改进建议:补充一个从输入到输出的完整审查示例,帮助用户更好理解执行流程

亮点

  • 结构完整,逻辑清晰,Phase 划分明确
  • 输出格式规范,包含端到端示例
  • frontmatter 完整,符合规范
执行可靠90/100

亮点

  • 静态审查优先,避免不必要副作用
  • 工具调用来源明确,参数合理
  • 覆盖主要异常情况,有确认机制
证据可验 (前四项均值)89/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。