Skip to content

fix(motion): attach motion ref to the content wrapper - #633

Merged
zombieJ merged 3 commits into
masterfrom
fix/motion-ref-wrapper
Nov 16, 2026
Merged

zombieJ merged 3 commits into
masterfrom
fix/motion-ref-wrapper

Conversation

@yoyo837

@yoyo837 yoyo837 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

问题

CSSMotion 把过渡事件监听绑在 motion ref 指向的元素 上(patchMotionEvents(getDomElement())),而 DrawerPopup 把 motionClassName / motionStyle 打在 .rc-drawer-content-wrapper 上,却把 containerRef={motionRef} 传给了 DrawerPanel(.rc-drawer-section,wrapper 的子节点)。

transitionend 只会向上冒泡,永远到不了父节点,所以监听器一次都收不到 → 动画状态无法通过过渡结束收敛,只能靠 motionDeadline 的定时器兜底。

复现(@rc-component/motion@1.4.0,真实 Chromium):把 motionDeadline 去掉后关闭抽屉,wrapper 永久停在 bamboo-leave bamboo-leave-active,afterOpenChange(false) 永不触发,节点一直不收敛(destroyOnHidden=false 时窗口一直保持挂载且不可见地留在 DOM 里)。

antd 在 motion 里设了 motionDeadline: 500,所以线上不显形;但任何自定义 motion 不设 deadline 的用法(本仓库 demo 设的是 1000,也只是靠超时)都会踩到,且 deadline 本身只是超时兜底,时长与真实 CSS 过渡不一致时还会提前/延后收敛。

修改

把 motion ref 合并进 content-wrapper 的 callback ref,让「接收动画类名的元素」与「接收过渡事件的元素」是同一个:

  • fillWrapperRef 同时写 wrapperRef.current(resize 逻辑依赖)并把节点交给 motion ref
  • DrawerPanel 不再接收 containerRef(它原本就被 motion ref 占用,panelRef 走的是 RefContext,不受影响)

验证

  • 新增回归测试 ends the leave motion on the transition end of the content wrapper:不设 motionDeadline,只 fireEvent.transitionEnd(wrapper),断言 afterOpenChange 恰好一次 false 且最终落到 rc-drawer-content-wrapper-hidden。该测试在 master 上失败(afterOpenChange 调用次数为 0),本分支通过
  • 全量 npm test:5 suites / 52 tests 通过;tsc --noEmit 无错误;npm run build 通过
  • 真实浏览器四时序(Chromium,motionDeadline=500 与不设 deadline 两种)回归:进场播完再关闭、进场未结束就关闭,destroyOnHidden 开/关,afterOpenChange 与最终 DOM 均符合预期

与 #591 的关系

#591 提的是同一个问题(fillRef 版本),但已 CONFLICTING 且自 2026-04 无更新。本 PR 基于当前 master 重做,并额外带了上面那个能真正锁住行为的回归测试;如需以 #591 为准,我可以把测试单独拆出来跟它走。
Close #591

测试

  • 新增或更新了相关测试
  • 本地 npm test 通过

Summary by CodeRabbit

  • Bug 修复
    • 修复抽屉关闭时的离场动画表现,动画结束后内容会正确隐藏,并确保关闭状态变更通知仅触发一次。

`CSSMotion` binds its transition listeners on the element passed through the
motion ref, while the motion classNames and styles are applied to the content
wrapper. Since `transitionend` only bubbles upwards, the listeners never saw the
wrapper transitions and every motion could only finish through `motionDeadline`.
Without a deadline the drawer stayed on `-leave -leave-active` forever and
`afterOpenChange(false)` was never called.
Copilot AI balanced review requested due to automatic review settings November 13, 2026 01:11
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
drawer Ready Ready Preview Nov 16, 2026 3:16am UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

No actionable comments were generated in the recent review.

Walkthrough

DrawerPopup 将 CSSMotion 提供的 ref 合并到内容包装层,不再将该 ref 作为 DrawerPanel 的容器 ref。新增测试检查 Drawer 关闭后的离场状态、回调次数和最终隐藏状态。

Changes

Drawer 离场动画

Layer / File(s) Summary
包装层 ref 转发与离场验证
src/DrawerPopup.tsx, tests/motion.spec.tsx
DrawerPopup 将 wrapperRef 与 motionRef 合并到内容包装层,并移除传给 DrawerPanel 的 containerRef。新增测试检查离场活动类、afterOpenChange(false) 调用一次,以及包装层进入隐藏状态。

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

  • react-component/drawer#632:离场动画结束依赖 CSSMotion 监听的 DOM 节点的 transitionend;该 PR 修改了 motionRef 的挂载元素。
Merge Risk: Minimal · up to 185a7

This change attaches the motion ref to the element that actually receives the motion classes and styles, so Drawer leave animations and their callbacks track the correct node. No concrete merge-blocking risk was found, and the change is easy to revert.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed 标题“fix(motion): attach motion ref to the content wrapper”与变更内容一致。变更将 CSSMotion 的 motion ref 从 DrawerPanel 的 containerRef 移到内容包装层(fillWrapperRef),并新增针对 wrapper transitionEnd 的回归测试。标题简短、具体,说明了主要修改点。标题使用…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

标题“fix(motion): attach motion ref to the content wrapper”与变更内容一致。变更将 CSSMotion 的 motion ref 从 DrawerPanel 的 containerRef 移到内容包装层(fillWrapperRef),并新增针对 wrapper transitionEnd 的回归测试。标题简短、具体,说明了主要修改点。标题使用英文 Conventional Commits 格式,与变更主题相符。

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

一只兔子轻轻跳,
抽屉关闭,动画到。
ref 合并到包装层,
离场结束回调报。
隐藏状态随后到,
兔耳摇摇说真好。

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 99ee1dc6-d6a2-46d3-ad64-4c209ef6629e
Commits

Reviewing files that changed from the base of the PR and between 1a18469 and 032e9fb.

Files selected for processing: 2

  • src/DrawerPopup.tsx
  • tests/motion.spec.tsx

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 185a77d.

@codecov

codecov Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1a18469) to head (185a77d).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #633   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          209       209           
  Branches        75        75           
=========================================
  Hits           209       209           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

❌ Deploy failed

PR preview ❌ Failed ❌ Failed
🔗 Preview https://react-component-drawer-preview-pr-633.surge.sh (may be unavailable)
📝 Commit185a77d
🪵 LogsView logs
📋 Build log (last lines)
npm error     5 more (@typescript-eslint/utils, @typescript-eslint/utils, ...)
npm error   12 more (@eslint/compat, @eslint/js, ...)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" from eslint-plugin-react@7.37.5
npm error node_modules/eslint-plugin-react
npm error   dev eslint-plugin-react@"^7.37.5" from the root project
npm error   eslint-plugin-react@"^7.32.2" from @umijs/fabric@4.0.1
npm error   node_modules/@umijs/fabric
npm error     @umijs/fabric@"^4.0.0" from rc-test@7.1.3
npm error     node_modules/rc-test
npm error       dev rc-test@"^7.1.3" from the root project
npm error
npm error Conflicting peer dependency: eslint@9.39.5
npm error node_modules/eslint
npm error   peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" from eslint-plugin-react@7.37.5
npm error   node_modules/eslint-plugin-react
npm error     dev eslint-plugin-react@"^7.37.5" from the root project
npm error     eslint-plugin-react@"^7.32.2" from @umijs/fabric@4.0.1
npm error     node_modules/@umijs/fabric
npm error       @umijs/fabric@"^4.0.0" from rc-test@7.1.3
npm error       node_modules/rc-test
npm error         dev rc-test@"^7.1.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2026-11-16T03_16_23_608Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-11-16T03_16_23_608Z-debug-0.log

🤖 Powered by surge-preview

Reuse the shared `fillRef` helper instead of branching on the ref shape by hand,
so the object-ref path stays covered by the utility rather than our own code.
@zombieJ
zombieJ merged commit c122a37 into master Nov 16, 2026
15 checks passed
@zombieJ
zombieJ deleted the fix/motion-ref-wrapper branch November 16, 2026 03:17
renovate Bot added a commit to swc-project/swc that referenced this pull request Nov 29, 2026
> [!NOTE]
> This PR body was truncated due to platform limits.

This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@babel/eslint-parser](https://babel.dev/)
([source](https://redirect.github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser))
| [`7.29.9` →
`7.29.13`](https://renovatebot.com/diffs/npm/@babel%2feslint-parser/7.29.9/7.29.13)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2feslint-parser/7.29.13?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2feslint-parser/7.29.9/7.29.13?slim=true)
|
| [@babel/generator](https://babel.dev/docs/en/next/babel-generator)
([source](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-generator))
| [`7.29.14` →
`7.29.15`](https://renovatebot.com/diffs/npm/@babel%2fgenerator/7.29.14/7.29.15)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fgenerator/7.29.15?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fgenerator/7.29.14/7.29.15?slim=true)
|
| [@babel/parser](https://babel.dev/docs/en/next/babel-parser)
([source](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-parser))
| [`7.29.3` →
`7.29.15`](https://renovatebot.com/diffs/npm/@babel%2fparser/7.29.3/7.29.15)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fparser/7.29.15?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fparser/7.29.3/7.29.15?slim=true)
|
| [@babel/types](https://babel.dev/docs/en/next/babel-types)
([source](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-types))
| [`7.29.14` →
`7.29.15`](https://renovatebot.com/diffs/npm/@babel%2ftypes/7.29.14/7.29.15)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2ftypes/7.29.15?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2ftypes/7.29.14/7.29.15?slim=true)
|
| [@napi-rs/cli](https://napi.rs/)
([source](https://redirect.github.com/napi-rs/napi-rs)) | [`3.10.12` →
`3.11.1`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.10.12/3.11.1)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.11.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.10.12/3.11.1?slim=true)
|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`24.19.2` →
`24.19.4`](https://renovatebot.com/diffs/npm/@types%2fnode/24.19.2/24.19.4)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/24.19.4?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/24.19.2/24.19.4?slim=true)
|
|
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin))
| [`8.72.2` →
`8.74.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/8.72.2/8.74.0)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/8.74.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/8.72.2/8.74.0?slim=true)
|
|
[@typescript-eslint/parser](https://typescript-eslint.io/packages/parser)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser))
| [`8.72.2` →
`8.74.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/8.72.2/8.74.0)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/8.74.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/8.72.2/8.74.0?slim=true)
|
| [antd](https://ant.design)
([source](https://redirect.github.com/ant-design/ant-design)) | [`6.6.7`
→ `6.7.2`](https://renovatebot.com/diffs/npm/antd/6.6.7/6.7.2) |
![age](https://developer.mend.io/api/mc/badges/age/npm/antd/6.7.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/antd/6.6.7/6.7.2?slim=true)
|
| [cac](https://redirect.github.com/cacjs/cac) | [`7.1.0` →
`7.1.1`](https://renovatebot.com/diffs/npm/cac/7.1.0/7.1.1) |
![age](https://developer.mend.io/api/mc/badges/age/npm/cac/7.1.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cac/7.1.0/7.1.1?slim=true)
|
| [dprint](https://redirect.github.com/dprint/dprint) | [`^0.64.0` →
`^0.65.0`](https://renovatebot.com/diffs/npm/dprint/0.64.3/0.65.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/dprint/0.65.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/dprint/0.64.3/0.65.0?slim=true)
|
|
[eslint-plugin-n](https://redirect.github.com/eslint-community/eslint-plugin-n)
| [`18.5.0` →
`18.6.0`](https://renovatebot.com/diffs/npm/eslint-plugin-n/18.5.0/18.6.0)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-n/18.6.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-n/18.5.0/18.6.0?slim=true)
|
| [terser](https://terser.org)
([source](https://redirect.github.com/terser/terser)) | [`5.51.2` →
`5.51.4`](https://renovatebot.com/diffs/npm/terser/5.51.2/5.51.4) |
![age](https://developer.mend.io/api/mc/badges/age/npm/terser/5.51.4?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/terser/5.51.2/5.51.4?slim=true)
|
| [webpack](https://redirect.github.com/webpack/webpack) | [`5.112.2` →
`5.113.0`](https://renovatebot.com/diffs/npm/webpack/5.112.2/5.113.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/webpack/5.113.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/webpack/5.112.2/5.113.0?slim=true)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/eslint-parser)</summary>

###
[`v7.29.13`](https://redirect.github.com/babel/babel/releases/tag/v7.29.13)

[Compare
Source](https://redirect.github.com/babel/babel/compare/v7.29.9...v7.29.13)

#### v7.29.13 (2026-11-04)

##### 🐛 Bug Fix

- `babel-generator`, `babel-parser`
- [#&#8203;18522](https://redirect.github.com/babel/babel/pull/18522)
fix(parser): start decorated object members at their first decorator
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-parser`
- [#&#8203;18520](https://redirect.github.com/babel/babel/pull/18520)
fix(parser): allow TS imports to define exports declared before them
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18485](https://redirect.github.com/babel/babel/pull/18485)
fix(parser): allow lone `yield` before `in` in an Annex B for-in init
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18483](https://redirect.github.com/babel/babel/pull/18483)
fix(parser): respect unicode escape in `isUnparsedContextual`
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18452](https://redirect.github.com/babel/babel/pull/18452)
fix(parser): remove non-decimal prefix from bigint
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18449](https://redirect.github.com/babel/babel/pull/18449)
fix(parser): allow await as a function expression name inside async
arrow ([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18453](https://redirect.github.com/babel/babel/pull/18453)
Disallow new import prop access
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18450](https://redirect.github.com/babel/babel/pull/18450)
Improve F# pipeline direct body check
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18446](https://redirect.github.com/babel/babel/pull/18446)
fix(parser): set phase: null for non-deferred imports with
deferredImportEvaluation
([#&#8203;18313](https://redirect.github.com/babel/babel/issues/18313))
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18448](https://redirect.github.com/babel/babel/pull/18448)
Fix TypeScript parser failing on async calls in ternary consequent
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-generator`
- [#&#8203;18521](https://redirect.github.com/babel/babel/pull/18521)
fix(generator): print override modifier of TSParameterProperty
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18509](https://redirect.github.com/babel/babel/pull/18509)
fix(generator): do not apply `jsesc` number radix to non-integer
literals ([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18500](https://redirect.github.com/babel/babel/pull/18500)
fix(generator): escape `of` binding of a using declaration in for-of
head ([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18461](https://redirect.github.com/babel/babel/pull/18461)
fix: invalid `minified: true` output for new expression
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18476](https://redirect.github.com/babel/babel/pull/18476)
fix: preserve trailing comma in optional call args
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18456](https://redirect.github.com/babel/babel/pull/18456)
fix(generator): keep parens for ?. chain in tag
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18454](https://redirect.github.com/babel/babel/pull/18454)
fix(generator): preserve type modifier in TSImportEqualsDeclaration
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-plugin-transform-block-scoping`
- [#&#8203;18518](https://redirect.github.com/babel/babel/pull/18518)
Fix initialization of nested for loop head declarations
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18465](https://redirect.github.com/babel/babel/pull/18465)
fix: improve for loop closure environment check
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- [#&#8203;18464](https://redirect.github.com/babel/babel/pull/18464)
fix: assign closure body after handling return
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-helper-module-transforms`,
`babel-plugin-transform-modules-commonjs`
- [#&#8203;18499](https://redirect.github.com/babel/babel/pull/18499)
fix: commonjs namespace re-export with a string export name
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-helper-skip-transparent-expression-wrappers`,
`babel-plugin-transform-optional-chaining`
- [#&#8203;18482](https://redirect.github.com/babel/babel/pull/18482)
Fix optional call losing the receiver through a TS instantiation
expression ([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-plugin-proposal-partial-application`
- [#&#8203;18479](https://redirect.github.com/babel/babel/pull/18479)
fix(partial-app): support super method call
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-register`
- [#&#8203;18481](https://redirect.github.com/babel/babel/pull/18481)
fix(register): skip hook for ignored files
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-transform-private-property-in-object`
- [#&#8203;18462](https://redirect.github.com/babel/babel/pull/18462)
Return false for `#x in` on static private fields before initialization
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-traverse`
- [#&#8203;18480](https://redirect.github.com/babel/babel/pull/18480)
fix(babel-traverse): check variable shadowing for global object callees
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#&#8203;18478](https://redirect.github.com/babel/babel/pull/18478)
Fix decorators interaction with abstract/declare fields
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-core`
- [#&#8203;18463](https://redirect.github.com/babel/babel/pull/18463)
fix(core): createConfigItem allows cb as 2nd arg
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-plugin-bugfix-safari-rest-destructuring-rhs-array`
- [#&#8203;18457](https://redirect.github.com/babel/babel/pull/18457)
fix(bugfix): bound check before array access
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- Other
- [#&#8203;18459](https://redirect.github.com/babel/babel/pull/18459)
Fix eslint-parser AST definition of AccessorProperty
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-plugin-transform-destructuring`
- [#&#8203;18460](https://redirect.github.com/babel/babel/pull/18460)
fix: only collapse the empty-object check when it targets the declared
binding ([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-helpers`, `babel-plugin-transform-async-generator-functions`,
`babel-runtime-corejs3`
- [#&#8203;18458](https://redirect.github.com/babel/babel/pull/18458)
Fix `asyncIterator` helper forwarding `.throw()` to `.return()`
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-plugin-transform-for-of`
- [#&#8203;18455](https://redirect.github.com/babel/babel/pull/18455)
Skip `for await` in `transform-for-of`
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))
- `babel-helper-string-parser`, `babel-parser`
- [#&#8203;18447](https://redirect.github.com/babel/babel/pull/18447)
fix: polish error message for invalid binary 0b19
([@&#8203;babel-bot](https://redirect.github.com/babel-bot))

##### Committers: 1

- Babel Bot ([@&#8203;babel-bot](https://redirect.github.com/babel-bot))

</details>

<details>
<summary>napi-rs/napi-rs (@&#8203;napi-rs/cli)</summary>

###
[`v3.11.1`](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.11.0...@napi-rs/cli@3.11.1)

[Compare
Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.11.0...@napi-rs/cli@3.11.1)

###
[`v3.11.0`](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.10.12...@napi-rs/cli@3.11.0)

[Compare
Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.10.12...@napi-rs/cli@3.11.0)

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v8.74.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8740-2026-11-23)

[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.73.0...v8.74.0)

##### 🚀 Features

- **ast-spec:** tighten types of `Property`
([#&#8203;13074](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13074))
- **eslint-plugin:** \[adjacent-overload-signatures] add
`ignoreAccessors` option
([#&#8203;13011](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13011))

##### 🩹 Fixes

- **eslint-plugin:** \[array-type] invalid autofix in readonly arrays
([#&#8203;13105](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13105))
- **eslint-plugin:** \[no-deprecated] report deprecated properties in
union types
([#&#8203;13069](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13069))
- **parser:** detect jsxPragma as null for the automatic JSX runtime
([#&#8203;13129](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13129))
- **eslint-plugin:** \[consistent-generic-constructors] place annotation
after ? and keep line comments out of type arguments
([#&#8203;13160](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13160))
- **eslint-plugin:** \[no-unsafe-enum-assignment] ignore non-enum
computed keys
([#&#8203;12968](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12968))
- **eslint-plugin:** \[no-implied-eval] handle calls in a switch
discriminant
([#&#8203;13126](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13126))

##### ❤️ Thank You

- Ankur Dubey
- Evyatar Daud
[@&#8203;StyleShit](https://redirect.github.com/StyleShit)
- Huangshuo Kuang [@&#8203;kkkhs](https://redirect.github.com/kkkhs)
- kuanghuangshuo
- Maksim [@&#8203;maksimgm](https://redirect.github.com/maksimgm)
- StyleShit [@&#8203;StyleShit](https://redirect.github.com/StyleShit)
- Yohannes Desta
[@&#8203;yohannesjoya](https://redirect.github.com/yohannesjoya)

See [GitHub
Releases](https://redirect.github.com/typescript-eslint/typescript-eslint/releases/tag/v8.74.0)
for more information.

You can read about our [versioning
strategy](https://typescript-eslint.io/users/versioning) and
[releases](https://typescript-eslint.io/users/releases) on our website.

###
[`v8.73.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8730-2026-11-16)

[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.72.2...v8.73.0)

##### 🚀 Features

- **eslint-plugin:** \[no-unsafe-class-instance-assignment] add rule
([#&#8203;12907](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12907))
- **typescript-estree:** add projectService.EXPERIMENTAL_backend for
TypeScript 7.1 native parser support over IPC
([#&#8203;12803](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12803))
- **eslint-plugin:** \[consistent-type-imports] narrow report location
([#&#8203;12924](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12924))

##### ❤️ Thank You

- Eren Batı [@&#8203;erenbati](https://redirect.github.com/erenbati)
- Evyatar Daud
[@&#8203;StyleShit](https://redirect.github.com/StyleShit)
- Josh Ghoulberg 👻
- Josh Goldberg

See [GitHub
Releases](https://redirect.github.com/typescript-eslint/typescript-eslint/releases/tag/v8.73.0)
for more information.

You can read about our [versioning
strategy](https://typescript-eslint.io/users/versioning) and
[releases](https://typescript-eslint.io/users/releases) on our website.

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`v8.74.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8740-2026-11-23)

[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.73.0...v8.74.0)

##### 🩹 Fixes

- **eslint-plugin:** \[no-deprecated] report deprecated properties in
union types
([#&#8203;13069](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13069))
- **parser:** detect jsxPragma as null for the automatic JSX runtime
([#&#8203;13129](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/13129))

##### ❤️ Thank You

- Evyatar Daud
[@&#8203;StyleShit](https://redirect.github.com/StyleShit)
- Maksim [@&#8203;maksimgm](https://redirect.github.com/maksimgm)

See [GitHub
Releases](https://redirect.github.com/typescript-eslint/typescript-eslint/releases/tag/v8.74.0)
for more information.

You can read about our [versioning
strategy](https://typescript-eslint.io/users/versioning) and
[releases](https://typescript-eslint.io/users/releases) on our website.

###
[`v8.73.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8730-2026-11-16)

[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.72.2...v8.73.0)

This was a version bump only for parser to align it with other projects,
there were no code changes.

See [GitHub
Releases](https://redirect.github.com/typescript-eslint/typescript-eslint/releases/tag/v8.73.0)
for more information.

You can read about our [versioning
strategy](https://typescript-eslint.io/users/versioning) and
[releases](https://typescript-eslint.io/users/releases) on our website.

</details>

<details>
<summary>ant-design/ant-design (antd)</summary>

###
[`v6.7.2`](https://redirect.github.com/ant-design/ant-design/releases/tag/6.7.2)

[Compare
Source](https://redirect.github.com/ant-design/ant-design/compare/6.7.1...6.7.2)

- Form
- 🐞 Fix Form validation messages showing `undefined` as the field label
when Form.Item `name` is `0`.
[#&#8203;59679](https://redirect.github.com/ant-design/ant-design/pull/59679)
[@&#8203;nikzanda](https://redirect.github.com/nikzanda)
- Table
- 🐞 Fix Table `defaultSortOrder` being ignored on grouping columns.
[#&#8203;59611](https://redirect.github.com/ant-design/ant-design/pull/59611)
[@&#8203;b84330808](https://redirect.github.com/b84330808)
- 🐞 Fix Table custom `filterSearch` callbacks receiving a lowercased and
trimmed query in menu mode.
[#&#8203;59735](https://redirect.github.com/ant-design/ant-design/pull/59735)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- Layout
- 🐞 Fix Layout.Header, Layout.Content, and Layout.Footer failing to
apply `rootClassName`.
[#&#8203;59697](https://redirect.github.com/ant-design/ant-design/pull/59697)
[@&#8203;nikzanda](https://redirect.github.com/nikzanda)
- 🐞 Fix Layout.Header, Layout.Content, and Layout.Footer losing styles
when using a custom `prefixCls`.
[#&#8203;59935](https://redirect.github.com/ant-design/ant-design/pull/59935)
[@&#8203;li-jia-nan](https://redirect.github.com/li-jia-nan)
- Typography
- 🐞 Fix Typography calling `editable.onStart` twice on edit icon clicks
when both `icon` and `text` triggers are enabled.
[#&#8203;59629](https://redirect.github.com/ant-design/ant-design/pull/59629)
[@&#8203;dogledogle](https://redirect.github.com/dogledogle)
- 🐞 Fix Typography showing an ellipsis tooltip for text that fits at
certain browser zoom levels.
[#&#8203;59661](https://redirect.github.com/ant-design/ant-design/pull/59661)
[@&#8203;iBreaker](https://redirect.github.com/iBreaker)
- 🤖 Fix Button, Drawer, and QRCode declaration errors when TypeScript
checks optional properties with `exactOptionalPropertyTypes` and
`skipLibCheck: false`.
[#&#8203;59922](https://redirect.github.com/ant-design/ant-design/pull/59922)
[@&#8203;dreamvrutik](https://redirect.github.com/dreamvrutik)
- 🐞 Fix static Message leaving its promise pending when the first notice
is closed before rendering.
[#&#8203;59942](https://redirect.github.com/ant-design/ant-design/pull/59942)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 Fix Modal retaining closed dialogs created with `Modal.useModal()`
in the `Modal.destroyAll()` list.
[#&#8203;59447](https://redirect.github.com/ant-design/ant-design/pull/59447)
[@&#8203;Chaoqi31](https://redirect.github.com/Chaoqi31)
- 🐞 Fix Drawer waiting for a timeout after its closing animation ends in
projects locked to `@rc-component/drawer` 1.4.2.
[#&#8203;59882](https://redirect.github.com/ant-design/ant-design/pull/59882)
[react-component/drawer#633](https://redirect.github.com/react-component/drawer/pull/633)
[@&#8203;yoyo837](https://redirect.github.com/yoyo837)
- 🐞 Fix Upload crashing when a file’s `linkProps` is an invalid JSON
string.
[#&#8203;59323](https://redirect.github.com/ant-design/ant-design/pull/59323)
[@&#8203;dogledogle](https://redirect.github.com/dogledogle)
- 🐞 Fix Calendar disabling boundary dates when `validRange` includes
times of day.
[#&#8203;59947](https://redirect.github.com/ant-design/ant-design/pull/59947)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- ⌨️ Fix Checkbox losing its native mixed state after mouse or keyboard
activation while `indeterminate` remains `true`.
[#&#8203;59859](https://redirect.github.com/ant-design/ant-design/pull/59859)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 Fix ColorPicker producing invalid gradients when deleting gradient
stops with the keyboard.
[#&#8203;59837](https://redirect.github.com/ant-design/ant-design/pull/59837)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 Fix Tabs lagging behind the pointer when dragging tabs in `card` or
`editable-card` mode.
[#&#8203;59854](https://redirect.github.com/ant-design/ant-design/pull/59854)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🐞 Fix Button animating unintentionally when its margin changes.
[#&#8203;59886](https://redirect.github.com/ant-design/ant-design/pull/59886)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🐞 Fix InputNumber spacing between its prefix, suffix, and step buttons
in spinner mode (`mode="spinner"`).
[#&#8203;59572](https://redirect.github.com/ant-design/ant-design/pull/59572)
[@&#8203;dogledogle](https://redirect.github.com/dogledogle)
- 🐞 Fix Mentions missing mentions across line breaks when `getMentions`
uses the default separator.
[#&#8203;59948](https://redirect.github.com/ant-design/ant-design/pull/59948)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 Fix Watermark ignoring `fontSize`, `fontWeight`, and `fontFamily`
when `font.fontStyle` is `none`.
[#&#8203;59855](https://redirect.github.com/ant-design/ant-design/pull/59855)
[@&#8203;adityajai119](https://redirect.github.com/adityajai119)
- ⚡️ Speed up Shift range selection in Tree.DirectoryTree when many
folders are expanded.
[#&#8203;59944](https://redirect.github.com/ant-design/ant-design/pull/59944)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🤖 Fix a TypeScript error when setting `startPoint` on a single-handle
Slider.
[#&#8203;59877](https://redirect.github.com/ant-design/ant-design/pull/59877)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🤖 Fix Statistic.Timer and Statistic.Countdown `onChange` callback
types to infer a required numeric value.
[#&#8203;59903](https://redirect.github.com/ant-design/ant-design/pull/59903)
[@&#8203;SweetDianDian](https://redirect.github.com/SweetDianDian)
- 🇺🇿 Correct Uzbek (`uz_UZ`) translations in Form, Table, Transfer,
Typography, and Tour.
[#&#8203;59876](https://redirect.github.com/ant-design/ant-design/pull/59876)
[@&#8203;XakimovNosirbek](https://redirect.github.com/XakimovNosirbek)

***

- Form
- 🐞 修复 Form.Item 的 `name` 为 `0` 时,Form 校验信息将字段名显示为 `undefined` 的问题。
[#&#8203;59679](https://redirect.github.com/ant-design/ant-design/pull/59679)
[@&#8203;nikzanda](https://redirect.github.com/nikzanda)
- Table
- 🐞 修复 Table 分组列的 `defaultSortOrder` 不生效的问题。
[#&#8203;59611](https://redirect.github.com/ant-design/ant-design/pull/59611)
[@&#8203;b84330808](https://redirect.github.com/b84330808)
- 🐞 修复 Table 在菜单筛选模式下向自定义 `filterSearch` 回调传入转小写并去除首尾空格后的搜索内容的问题。
[#&#8203;59735](https://redirect.github.com/ant-design/ant-design/pull/59735)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- Layout
- 🐞 修复 Layout.Header、Layout.Content 和 Layout.Footer 的 `rootClassName`
不生效的问题。
[#&#8203;59697](https://redirect.github.com/ant-design/ant-design/pull/59697)
[@&#8203;nikzanda](https://redirect.github.com/nikzanda)
- 🐞 修复 Layout.Header、Layout.Content 和 Layout.Footer 使用自定义 `prefixCls`
时样式丢失的问题。
[#&#8203;59935](https://redirect.github.com/ant-design/ant-design/pull/59935)
[@&#8203;li-jia-nan](https://redirect.github.com/li-jia-nan)
- Typography
- 🐞 修复 Typography 同时启用 `icon` 和 `text` 编辑触发方式时,点击编辑图标会触发两次
`editable.onStart` 的问题。
[#&#8203;59629](https://redirect.github.com/ant-design/ant-design/pull/59629)
[@&#8203;dogledogle](https://redirect.github.com/dogledogle)
- 🐞 修复 Typography 在部分浏览器缩放比例下,文本未截断时仍显示省略提示的问题。
[#&#8203;59661](https://redirect.github.com/ant-design/ant-design/pull/59661)
[@&#8203;iBreaker](https://redirect.github.com/iBreaker)
- 🤖 修复同时开启 `exactOptionalPropertyTypes` 并关闭 `skipLibCheck`
时,Button、Drawer 和 QRCode 的 TypeScript 类型声明错误。
[#&#8203;59922](https://redirect.github.com/ant-design/ant-design/pull/59922)
[@&#8203;dreamvrutik](https://redirect.github.com/dreamvrutik)
- 🐞 修复静态 Message 的第一条消息在渲染前被关闭时,返回的 Promise 一直挂起的问题。
[#&#8203;59942](https://redirect.github.com/ant-design/ant-design/pull/59942)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 修复通过 `Modal.useModal()` 创建的弹窗关闭后仍留在 `Modal.destroyAll()` 列表中的问题。
[#&#8203;59447](https://redirect.github.com/ant-design/ant-design/pull/59447)
[@&#8203;Chaoqi31](https://redirect.github.com/Chaoqi31)
- 🐞 修复项目锁定 `@rc-component/drawer` 1.4.2 时,Drawer 关闭动画结束后仍需等待超时才完成关闭的问题。
[#&#8203;59882](https://redirect.github.com/ant-design/ant-design/pull/59882)
[react-component/drawer#633](https://redirect.github.com/react-component/drawer/pull/633)
[@&#8203;yoyo837](https://redirect.github.com/yoyo837)
- 🐞 修复文件的 `linkProps` 为无效 JSON 字符串时 Upload 崩溃的问题。
[#&#8203;59323](https://redirect.github.com/ant-design/ant-design/pull/59323)
[@&#8203;dogledogle](https://redirect.github.com/dogledogle)
- 🐞 修复 Calendar 的 `validRange` 包含具体时刻时,起止日期可能无法选择的问题。
[#&#8203;59947](https://redirect.github.com/ant-design/ant-design/pull/59947)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- ⌨️ 修复 Checkbox 在 `indeterminate` 保持为 `true` 时,经鼠标或键盘操作后丢失原生半选中状态的问题。
[#&#8203;59859](https://redirect.github.com/ant-design/ant-design/pull/59859)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 修复 ColorPicker 使用键盘删除渐变色标后生成无效渐变的问题。
[#&#8203;59837](https://redirect.github.com/ant-design/ant-design/pull/59837)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 修复 Tabs 在 `card` 或 `editable-card` 模式下拖拽标签时跟随指针有延迟的问题。
[#&#8203;59854](https://redirect.github.com/ant-design/ant-design/pull/59854)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🐞 修复 Button 在外边距变化时意外触发位移动画的问题。
[#&#8203;59886](https://redirect.github.com/ant-design/ant-design/pull/59886)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🐞 修复 InputNumber 在拨轮模式(`mode="spinner"`)下,前后缀与步进按钮间距异常的问题。
[#&#8203;59572](https://redirect.github.com/ant-design/ant-design/pull/59572)
[@&#8203;dogledogle](https://redirect.github.com/dogledogle)
- 🐞 修复 Mentions 的 `getMentions` 使用默认分隔符时遗漏多行文本中提及项的问题。
[#&#8203;59948](https://redirect.github.com/ant-design/ant-design/pull/59948)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 修复 Watermark 在 `font.fontStyle` 为 `none` 时忽略 `fontSize`、`fontWeight`
和 `fontFamily` 的问题。
[#&#8203;59855](https://redirect.github.com/ant-design/ant-design/pull/59855)
[@&#8203;adityajai119](https://redirect.github.com/adityajai119)
- ⚡️ 加快 Tree.DirectoryTree 在大量文件夹展开时通过 Shift 选择范围内节点的速度。
[#&#8203;59944](https://redirect.github.com/ant-design/ant-design/pull/59944)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🤖 修复 Slider 在单滑块模式下设置 `startPoint` 时的 TypeScript 报错。
[#&#8203;59877](https://redirect.github.com/ant-design/ant-design/pull/59877)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🤖 修复 Statistic.Timer 和 Statistic.Countdown 的 `onChange`
回调类型,将参数正确推断为必传的数字。
[#&#8203;59903](https://redirect.github.com/ant-design/ant-design/pull/59903)
[@&#8203;SweetDianDian](https://redirect.github.com/SweetDianDian)
- 🇺🇿 修正 Form、Table、Transfer、Typography 和 Tour 的乌兹别克语(`uz_UZ`)翻译。
[#&#8203;59876](https://redirect.github.com/ant-design/ant-design/pull/59876)
[@&#8203;XakimovNosirbek](https://redirect.github.com/XakimovNosirbek)

###
[`v6.7.1`](https://redirect.github.com/ant-design/ant-design/releases/tag/6.7.1)

[Compare
Source](https://redirect.github.com/ant-design/ant-design/compare/6.7.0...6.7.1)

- Table
- 🐞 Fix Table continuing to apply outdated sorters after column
configuration changes.
[#&#8203;59763](https://redirect.github.com/ant-design/ant-design/pull/59763)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 Fix Table expand-all icon alignment with row expand icons in small
and middle sizes.
[#&#8203;59795](https://redirect.github.com/ant-design/ant-design/pull/59795)
[@&#8203;nikzanda](https://redirect.github.com/nikzanda)
- ⌨️ Fix Table ignoring the reduced motion preference when scrolling to
the top after pagination, sorting, or filtering.
[#&#8203;59864](https://redirect.github.com/ant-design/ant-design/pull/59864)
[@&#8203;li-jia-nan](https://redirect.github.com/li-jia-nan)
- Modal
- 🐞 Fix Modal focus errors and duplicate `afterOpenChange` calls when
React `Activity` reveals a hidden Modal.
[#&#8203;59845](https://redirect.github.com/ant-design/ant-design/pull/59845)
[@&#8203;yoyo837](https://redirect.github.com/yoyo837)
- 🐞 Fix Modal leave-completion callbacks firing before DOM removal when
leave motion is disabled mid-transition.
[#&#8203;59845](https://redirect.github.com/ant-design/ant-design/pull/59845)
[@&#8203;yoyo837](https://redirect.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.
[#&#8203;59872](https://redirect.github.com/ant-design/ant-design/pull/59872)
[@&#8203;gowtham-padala](https://redirect.github.com/gowtham-padala)
- 🐞 Fix Card action buttons with `href` displaying incorrect icon
spacing.
[#&#8203;59726](https://redirect.github.com/ant-design/ant-design/pull/59726)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🐞 Fix Input.OTP treating intermediate IME composition text as
committed input.
[#&#8203;58762](https://redirect.github.com/ant-design/ant-design/pull/58762)
[@&#8203;wanxiankai](https://redirect.github.com/wanxiankai)
- 🐞 Fix DatePicker and TimePicker time panel cell alignment and content
clipping by scrollbars.
[#&#8203;59828](https://redirect.github.com/ant-design/ant-design/pull/59828)
[@&#8203;ffgenius](https://redirect.github.com/ffgenius)
- 🐞 Fix Dropdown menu items in disabled submenus not displaying their
disabled state correctly.
[#&#8203;59826](https://redirect.github.com/ant-design/ant-design/pull/59826)
[@&#8203;yoyo837](https://redirect.github.com/yoyo837)
- ⌨️ Fix Anchor ignoring the reduced motion preference when scrolling to
a link.
[#&#8203;59861](https://redirect.github.com/ant-design/ant-design/pull/59861)
[@&#8203;li-jia-nan](https://redirect.github.com/li-jia-nan)
- ⌨️ Fix BackTop ignoring the reduced motion preference when returning
to the top.
[#&#8203;59864](https://redirect.github.com/ant-design/ant-design/pull/59864)
[@&#8203;li-jia-nan](https://redirect.github.com/li-jia-nan)
- 🇮🇩 Improve ConfigProvider Indonesian (`id_ID`) translations.
[#&#8203;59807](https://redirect.github.com/ant-design/ant-design/pull/59807)
[@&#8203;insanrizky](https://redirect.github.com/insanrizky)
- 🇨🇿 Improve ConfigProvider Czech (`cs_CZ`) translations.
[#&#8203;59787](https://redirect.github.com/ant-design/ant-design/pull/59787)
[@&#8203;kojdad-alt](https://redirect.github.com/kojdad-alt)

***

- Table
- 🐞 修复 Table 在列配置变化后仍使用旧排序规则的问题。
[#&#8203;59763](https://redirect.github.com/ant-design/ant-design/pull/59763)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- 🐞 修复 Table 在小尺寸和中等尺寸下展开全部图标与行展开图标未对齐的问题。
[#&#8203;59795](https://redirect.github.com/ant-design/ant-design/pull/59795)
[@&#8203;nikzanda](https://redirect.github.com/nikzanda)
- ⌨️ 修复 Table 在分页、排序或筛选后滚动到顶部时未遵循系统减少动态效果设置的问题。
[#&#8203;59864](https://redirect.github.com/ant-design/ant-design/pull/59864)
[@&#8203;li-jia-nan](https://redirect.github.com/li-jia-nan)
- Modal
- 🐞 修复 Modal 在 React `Activity` 恢复显示时聚焦报错和 `afterOpenChange` 重复触发的问题。
[#&#8203;59845](https://redirect.github.com/ant-design/ant-design/pull/59845)
[@&#8203;yoyo837](https://redirect.github.com/yoyo837)
- 🐞 修复 Modal 在离场动画中途禁用时完成回调早于 DOM 移除的问题。
[#&#8203;59845](https://redirect.github.com/ant-design/ant-design/pull/59845)
[@&#8203;yoyo837](https://redirect.github.com/yoyo837)
- ⚡️ 优化 Form 中仅读取 variant 的组件,不再引入 6.7.0 中额外引入的 `@rc-component/form`
依赖,提升性能。
[#&#8203;59872](https://redirect.github.com/ant-design/ant-design/pull/59872)
[@&#8203;gowtham-padala](https://redirect.github.com/gowtham-padala)
- 🐞 修复 Card 操作区中带 `href` 的 Button 图标间距异常的问题。
[#&#8203;59726](https://redirect.github.com/ant-design/ant-design/pull/59726)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🐞 修复 Input.OTP 使用中文等输入法时将合成输入的中间态文本作为已提交内容处理的问题。
[#&#8203;58762](https://redirect.github.com/ant-design/ant-design/pull/58762)
[@&#8203;wanxiankai](https://redirect.github.com/wanxiankai)
- 🐞 修复 DatePicker 和 TimePicker 时间面板单元格未居中及内容被滚动条遮挡的问题。
[#&#8203;59828](https://redirect.github.com/ant-design/ant-design/pull/59828)
[@&#8203;ffgenius](https://redirect.github.com/ffgenius)
- 🐞 修复 Dropdown 禁用子菜单中的菜单项未正确显示禁用状态的问题。
[#&#8203;59826](https://redirect.github.com/ant-design/ant-design/pull/59826)
[@&#8203;yoyo837](https://redirect.github.com/yoyo837)
- ⌨️ 修复 Anchor 点击链接滚动时未遵循系统减少动态效果设置的问题。
[#&#8203;59861](https://redirect.github.com/ant-design/ant-design/pull/59861)
[@&#8203;li-jia-nan](https://redirect.github.com/li-jia-nan)
- ⌨️ 修复 BackTop 返回顶部时未遵循系统减少动态效果设置的问题。
[#&#8203;59864](https://redirect.github.com/ant-design/ant-design/pull/59864)
[@&#8203;li-jia-nan](https://redirect.github.com/li-jia-nan)
- 🇮🇩 完善 ConfigProvider 印尼语 `id_ID` 翻译。
[#&#8203;59807](https://redirect.github.com/ant-design/ant-design/pull/59807)
[@&#8203;insanrizky](https://redirect.github.com/insanrizky)
- 🇨🇿 完善 ConfigProvider 捷克语 `cs_CZ` 翻译。
[#&#8203;59787](https://redirect.github.com/ant-design/ant-design/pull/59787)
[@&#8203;kojdad-alt](https://redirect.github.com/kojdad-alt)

###
[`v6.7.0`](https://redirect.github.com/ant-design/ant-design/releases/tag/6.7.0)

[Compare
Source](https://redirect.github.com/ant-design/ant-design/compare/6.6.8...6.7.0)

- 🆕 Add Button, Tag, Steps, Alert, and Timeline support for the global
ConfigProvider `variant`, and component-specific `divider.variant`
configuration for Divider line styles.
[#&#8203;59589](https://redirect.github.com/ant-design/ant-design/pull/59589)
[#&#8203;59588](https://redirect.github.com/ant-design/ant-design/pull/59588)
[#&#8203;59578](https://redirect.github.com/ant-design/ant-design/pull/59578)
[#&#8203;59577](https://redirect.github.com/ant-design/ant-design/pull/59577)
[#&#8203;59587](https://redirect.github.com/ant-design/ant-design/pull/59587)
[#&#8203;59576](https://redirect.github.com/ant-design/ant-design/pull/59576)
[@&#8203;QDyanbing](https://redirect.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.
[#&#8203;59240](https://redirect.github.com/ant-design/ant-design/pull/59240)
[#&#8203;59185](https://redirect.github.com/ant-design/ant-design/pull/59185)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
[@&#8203;meet-student](https://redirect.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.
[#&#8203;59566](https://redirect.github.com/ant-design/ant-design/pull/59566)
[#&#8203;59567](https://redirect.github.com/ant-design/ant-design/pull/59567)
[#&#8203;59548](https://redirect.github.com/ant-design/ant-design/pull/59548)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🆕 Add App Fragment `ref` support with `component={false}` in React
19.3 and later.
[#&#8203;59281](https://redirect.github.com/ant-design/ant-design/pull/59281)
[@&#8203;li-jia-nan](https://redirect.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.
[#&#8203;59095](https://redirect.github.com/ant-design/ant-design/pull/59095)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🆕 Add Cascader `checkStrictly` to select parent and child options
independently in multiple mode.
[#&#8203;59566](https://redirect.github.com/ant-design/ant-design/pull/59566)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🆕 Add component-specific ConfigProvider `allowClear` settings for
Cascader, TreeSelect, and AutoComplete to configure their clear buttons
globally.
[#&#8203;59593](https://redirect.github.com/ant-design/ant-design/pull/59593)
[#&#8203;59592](https://redirect.github.com/ant-design/ant-design/pull/59592)
[#&#8203;59591](https://redirect.github.com/ant-design/ant-design/pull/59591)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🆕 Add Checkbox.Group and Radio.Group `classNames` and `styles` to
customize group containers, items, icons, and labels.
[#&#8203;59058](https://redirect.github.com/ant-design/ant-design/pull/59058)
[#&#8203;59059](https://redirect.github.com/ant-design/ant-design/pull/59059)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🆕 Add InputNumber `allowClear` and `onClear` to clear values with
customizable icons, disabled state, and accessible labels.
[#&#8203;59251](https://redirect.github.com/ant-design/ant-design/pull/59251)
[@&#8203;nikzanda](https://redirect.github.com/nikzanda)
- 🆕 Add Space `align="stretch"` to stretch child elements along the
cross axis.
[#&#8203;59005](https://redirect.github.com/ant-design/ant-design/pull/59005)
[@&#8203;dogledogle](https://redirect.github.com/dogledogle)
- 🆕 Add Typography `shimmer` prop for animated shimmering text, with
`duration` configuring motion and wait times separately.
[#&#8203;59054](https://redirect.github.com/ant-design/ant-design/pull/59054)
[@&#8203;zombieJ](https://redirect.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}`.
[#&#8203;59548](https://redirect.github.com/ant-design/ant-design/pull/59548)
[#&#8203;59566](https://redirect.github.com/ant-design/ant-design/pull/59566)
[#&#8203;59567](https://redirect.github.com/ant-design/ant-design/pull/59567)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 💄 Replace Alert container radius component token `borderRadius` with
`containerBorderRadius`; migrate custom container radius overrides to
the new token.
[#&#8203;59305](https://redirect.github.com/ant-design/ant-design/pull/59305)
[@&#8203;MadCcc](https://redirect.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.
[#&#8203;59778](https://redirect.github.com/ant-design/ant-design/pull/59778)
[@&#8203;yoyo837](https://redirect.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.
[#&#8203;59778](https://redirect.github.com/ant-design/ant-design/pull/59778)
[#&#8203;59367](https://redirect.github.com/ant-design/ant-design/pull/59367)
[@&#8203;yoyo837](https://redirect.github.com/yoyo837)
- 🐞 Fix DatePicker and TimePicker ignoring `clearIcon` settings when an
`allowClear` object omits `clearIcon`.
[#&#8203;59565](https://redirect.github.com/ant-design/ant-design/pull/59565)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🐞 Fix DatePicker, TimePicker, and Calendar dependency imports in
native Node ESM environments.
[#&#8203;59261](https://redirect.github.com/ant-design/ant-design/pull/59261)
[@&#8203;zombieJ](https://redirect.github.com/zombieJ)
- 🐞 Fix DatePicker parsing localized date input with Day.js when the
component locale differs from the global locale.
[#&#8203;59240](https://redirect.github.com/ant-design/ant-design/pull/59240)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🌐 Correct DatePicker `zh_TW` week-selection terminology.
[#&#8203;59261](https://redirect.github.com/ant-design/ant-design/pull/59261)
[@&#8203;zombieJ](https://redirect.github.com/zombieJ)
- Select
- 🆕 Add Select `autoComplete` and ConfigProvider `select.autoComplete`
to configure browser autocomplete behavior for the search input.
[#&#8203;59566](https://redirect.github.com/ant-design/ant-design/pull/59566)
[#&#8203;59632](https://redirect.github.com/ant-design/ant-design/pull/59632)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- ⌨️ Improve screen reader support for Select, Cascader, TreeSelect, and
AutoComplete by hiding default decorative arrow, search, and loading
icons.
[#&#8203;59709](https://redirect.github.com/ant-design/ant-design/pull/59709)
[@&#8203;droduit](https://redirect.github.com/droduit)
- ⌨️ Improve Select, Cascader, and TreeSelect clear-button keyboard
accessibility with focus visibility, focus outlines, and localized
accessible labels.
[#&#8203;58267](https://redirect.github.com/ant-design/ant-design/pull/58267)
[@&#8203;Pareder](https://redirect.github.com/Pareder)
- ⌨️ Fix Select and AutoComplete screen reader announcements of option
positions, total counts, and groups in virtual scrolling mode.
[#&#8203;58993](https://redirect.github.com/ant-design/ant-design/pull/58993)
[@&#8203;yoyo837](https://redirect.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`.
[#&#8203;59036](https://redirect.github.com/ant-design/ant-design/pull/59036)
[@&#8203;nikzanda](https://redirect.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.
[#&#8203;59036](https://redirect.github.com/ant-design/ant-design/pull/59036)
[@&#8203;nikzanda](https://redirect.github.com/nikzanda)
- ⌨️ Improve Table row selection accessibility with localized accessible
names and keyboard access to custom selection menus.
[#&#8203;58969](https://redirect.github.com/ant-design/ant-design/pull/58969)
[@&#8203;thlovey](https://redirect.github.com/thlovey)
- ⚡️ Improve Table performance when applying multiple column filters to
deeply nested data.
[#&#8203;59719](https://redirect.github.com/ant-design/ant-design/pull/59719)
[@&#8203;Aminark](https://redirect.github.com/Aminark)
- Tree
- 💄 Improve Tree non-checkable `selectable={false}` nodes with disabled
text colors and cursors, without hover highlighting.
[#&#8203;58906](https://redirect.github.com/ant-design/ant-design/pull/58906)
[@&#8203;EmilyyyLiu](https://redirect.github.com/EmilyyyLiu)
- 🐞 Fix Tree ignoring defaults and preventing uncontrolled updates when
`expandedKeys`, `selectedKeys`, and similar props are explicitly
`undefined`.
[#&#8203;59274](https://redirect.github.com/ant-design/ant-design/pull/59274)
[@&#8203;aojunhao123](https://redirect.github.com/aojunhao123)
- 🐞 Fix Tree unexpectedly scrolling when a focusable element inside a
node title receives focus.
[#&#8203;59274](https://redirect.github.com/ant-design/ant-design/pull/59274)
[@&#8203;aojunhao123](https://redirect.github.com/aojunhao123)
- 🐞 Fix Tree drop targets before nested first-child nodes, overwritten
custom drag text, and delayed hover expansion after unmount.
[#&#8203;59274](https://redirect.github.com/ant-design/ant-design/pull/59274)
[@&#8203;aojunhao123](https://redirect.github.com/aojunhao123)
- Listy
- 🆕 Add Listy `rowKey` callback's second argument `index` to generate
keys from row indexes.
[#&#8203;59347](https://redirect.github.com/ant-design/ant-design/pull/59347)
[@&#8203;aojunhao123](https://redirect.github.com/aojunhao123)
- 🆕 Add Listy `rowHoverable` prop to disable row hover highlighting.
[#&#8203;59273](https://redirect.github.com/ant-design/ant-design/pull/59273)
[@&#8203;QDyanbing](https://redirect.github.com/QDyanbing)
- 🆕 Add Listy `scrollWidth` prop to enable horizontal scrolling for
virtual lists wider than the container.
[#&#8203;59197](https://redirect.github.com/ant-design/ant-design/pull/59197)
[@&#8203;aojunhao123](https://redirect.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`.
[#&#8203;58604](https://redirect.github.com/ant-design/ant-design/pull/58604)
[@&#8203;EmilyyyLiu](https://redirect.github.com/EmilyyyLiu)
- ♿ Improve Pagination list semantics and keyboard and disabled-state
accessibility for pagination controls.
[#&#8203;58604](https://redirect.github.com/ant-design/ant-design/pull/58604)
[@&#8203;EmilyyyLiu](https://redirect.github.com/EmilyyyLiu)
- 🌐 Correct Pagination and page-size text in Armenian (`hy_AM`),
Albanian (`sq_AL`), Nepali (`ne_NP`), and Traditional Chinese (`zh_TW`)
loca

> [!IMPORTANT]
> ✂ PR body was truncated to here.


</details>

---

### Configuration

📅 **Schedule**: (in timezone Asia/Seoul)

- Branch creation
  - Between 12:00 AM and 05:59 AM, only on Monday (`* 0-5 * * 1`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/swc-project/swc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNjIuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI2Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — 185a77da Deployed Nov 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants