Commit Graph

29878 Commits

Author SHA1 Message Date
thinkasany
87601689fa chore: turn on unicorn/prefer-includes (#55169) 2025-09-28 11:55:43 +08:00
thinkasany
5db1e6f449 chore: turn on perfectionist/sort-exports (#55172) 2025-09-28 11:46:21 +08:00
thinkasany
90b4a4373d chore: turn on test/prefer-hooks-in-order (#55171) 2025-09-28 11:38:42 +08:00
thinkasany
8a7e15460c chore: turn on ts/method-signature-style (#55167) 2025-09-28 10:15:00 +08:00
thinkasany
2589e693cf chore: turn on unicorn/prefer-number-properties (#55168) 2025-09-28 09:40:04 +08:00
thinkasany
94d5b800a7 chore: turn on ts/consistent-type-imports (#55166) 2025-09-28 09:10:30 +08:00
thinkasany
dfc34f6ae3 chore: bump @eslint-react/eslint-plugin (#55165) 2025-09-28 02:10:01 +08:00
lijianan
0b5ef77e5d chore: update Security Policy from 4.x to 5.x (#55160) 2025-09-27 13:18:38 +08:00
ug
4d15a1715d docs(Input): use Chinese for table headers as required​ (#55153)
* update

* Update components/input/index.zh-CN.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-26 15:44:22 +08:00
lijianan
1d433d59d5 site: block Copilot bot、renovate bot、dependa bot (#55150)
* site: block Copilot bot

* update

* update

* update

* update
2025-09-26 08:13:57 +08:00
Laffery
bd1aa0114e docs(AutoComplete): add underlined variant demo (#55055)
* docs(AutoComplete): add underlined variant demo

* Apply suggestion from @gemini-code-assist[bot]

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Laffery <49607541+Laffery@users.noreply.github.com>

* update demo snapshot

* update snapshot

* update snapshot

---------

Signed-off-by: Laffery <49607541+Laffery@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-25 18:03:33 +08:00
lijianan
647eba0302 demo: fix Collapse demo (#55145) 2025-09-25 16:08:08 +08:00
afc163
6ca1cbed80 docs: Update README (#55128)
* docs: Update README

Signed-off-by: afc163 <afc163@gmail.com>

* Update badges and links in README-zh_CN.md

Signed-off-by: afc163 <afc163@gmail.com>

* Update README-zh_CN.md

Signed-off-by: afc163 <afc163@gmail.com>

* Clean up badge links in README.md

Removed outdated badge links from README.

Signed-off-by: afc163 <afc163@gmail.com>

* Apply suggestion from @afc163

Signed-off-by: afc163 <afc163@gmail.com>

* Apply suggestion from @afc163

Signed-off-by: afc163 <afc163@gmail.com>

* Update README.md

Signed-off-by: afc163 <afc163@gmail.com>

* Update README-zh_CN.md

Signed-off-by: afc163 <afc163@gmail.com>

* Update README.md

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2025-09-24 20:07:43 +08:00
LeiZhang
b59a1102f1 fix: handle maxCount negative value validation (#55129)
Co-authored-by: 路振凯 <l>
2025-09-24 03:02:44 +08:00
afc163
00b24f5be7 fix: Tour positioning when the target is a Table with fixed headers (#55124)
* bump rc-table

* refactor: replace table measure row td with th and update styles

* style: add important flag to table measure cell styles

* style: simplify table measure cell styles
2025-09-23 09:59:45 +08:00
thinkasany
625e034a32 chore: Enhanced hints for unused variables (#55113)
* chore: Enhanced hints for unused variables

* rm unused rules

* fix
2025-09-21 19:13:18 +08:00
thinkasany
b138cadf40 chore: turn on correctness.useHookAtTopLevel (#55110) 2025-09-21 13:26:25 +08:00
lijianan
cb0dd956ba chore: add namespace for Number api (#55107)
* chore: add namespace for Number api

* fix

* fix

* Update biome.json

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-09-21 12:27:02 +08:00
thinkasany
594ee4d989 refactor: Use indexOf instead of findIndex for index lookup (#55106) 2025-09-21 11:57:32 +08:00
thinkasany
f1036be04f chore(biome): rm some rules that do not need to be changed (#55105) 2025-09-21 11:18:51 +08:00
thinkasany
030783f41b chore(biome): turn on style.useImportType (#55104) 2025-09-21 10:33:31 +08:00
17hz
9d07df9667 docs: showTime.defaultValue has deprecated (#54896)
* docs: showTime.defaultValue has deprecated

* docs: add deprecated showTime.defaultValue with proper format

Add deprecated showTime.defaultValue entries with strikethrough formatting
and migration notes to match auto-complete documentation format.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: update deprecation version to 5.27.3

Change showTime.defaultValue deprecation version from 4.24.0 to 5.27.3

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-20 17:19:29 +08:00
thinkasany
b189e0ec97 fix(lint): react-web-api/no-leaked-interval (#55100)
* fix(lint): react-web-api/no-leaked-interval

* update snap

* fix
2025-09-20 15:30:18 +08:00
FatahChan
6562c20134 demo: add List drag sorting examples (#55077)
* docs: List drag sorting examples

* refactor: standardize React imports and use consistent import patterns

* fix: add null checks and remove optional chaining in drag sorting handlers

* Update components/list/demo/grid-drag-sorting.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: FatahChan <ahmadfathallah89@gmail.com>

* Update components/list/demo/grid-drag-sorting-handler.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: FatahChan <ahmadfathallah89@gmail.com>

* chore: add React import to list demo components

* fix: tests

* refactor: improve drag sorting accessibility by wrapping list items in semantic containers

* Update components/list/demo/drag-sorting-handler.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: FatahChan <ahmadfathallah89@gmail.com>

* Update components/list/demo/grid-drag-sorting.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: FatahChan <ahmadfathallah89@gmail.com>

* Update components/list/demo/drag-sorting.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: FatahChan <ahmadfathallah89@gmail.com>

* Update components/list/demo/grid-drag-sorting-handler.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: FatahChan <ahmadfathallah89@gmail.com>

* fix: remove itemkey prop from list items in drag-sorting demos

* test: skip drag sorting demos in list component tests

* fix: update drag-sorting aria-describedby IDs to be more semantic and consistent

* test: update DndLiveRegion IDs in list component snapshots

* test: skip drag sorting demos in list component tests

dnd ids produce difference ids in react 17 vs react 19, and fails the demo-extend as the snap is different

* refactor: update list drag sorting to use object items with unique keys

* update code style

* update code style

---------

Signed-off-by: FatahChan <ahmadfathallah89@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-09-19 05:55:38 +08:00
github-actions[bot]
74c26d895d chore: upgrade deps (#55080)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2025-09-19 02:15:52 +08:00
Jonathan Reimer
18e596b1f3 docs: add Linux Foundatuon Health Score badge to README (#55071)
Congrats! We have onboarded Ant Design to LFX Insights, the Linux Foundation's platform for monitoring the world's most critical open-source projects.

Signed-off-by: Jonathan Reimer <41432658+jonathimer@users.noreply.github.com>
2025-09-18 23:29:56 +08:00
github-actions[bot]
e3e7db9fd1 chore: upgrade deps (#55057)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2025-09-18 02:29:54 +08:00
dependabot[bot]
4d86c53505 chore: bump ora from 8.2.0 to 9.0.0 in the dev-dependencies group (#55040)
Bumps the dev-dependencies group with 1 update: [ora](https://github.com/sindresorhus/ora).


Updates `ora` from 8.2.0 to 9.0.0
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v8.2.0...v9.0.0)

---
updated-dependencies:
- dependency-name: ora
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-09-17 20:46:43 +08:00
QdabuliuQ
fb7bbbea50 fix(Card): fix clearfix interference with flex/grid card layouts (#54974)
* style: fix clearfix interference with flex/grid card layouts

* style: modify css selector

* style: remove ant-card-body clearFix function
2025-09-17 18:39:25 +08:00
qixian
531ea91296 fix: add error handling for notifier in pre-publish script 5.27.4 2025-09-17 15:24:50 +08:00
qixian
e716aec310 chore: fix formatting in changelog for version 5.27.4 2025-09-17 14:26:41 +08:00
陈帅
55a628edf8 docs: add 5.27.4 changelog (#55023)
* docs: 更新 5.27.4 版本日志,添加多个修复说明

* docs: 更新 5.27.4 版本日志,添加修复按钮内边距受主题影响的问题

* chore: 更新版本号至 5.27.4

* Update CHANGELOG.en-US.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* 更新 5.27.4 的发布日期为 2025-09-17,并修复 Table 相关问题

* 修复按钮在主题影响下的图标填充问题

---------

Signed-off-by: 陈帅 <qixian.cs@outlook.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-09-17 14:25:15 +08:00
Wanpan
90cacd5e45 chore: fix lint error for script dir (#55022)
* chore: fix lint error for script dir

* chore: update
2025-09-16 13:29:21 +08:00
Guo Yunhe
c172411eb4 fix(Button): icon-only button padding affected by theme (#54970) 2025-09-15 10:58:55 +08:00
叶枫
2e8f162ff7 site: stackblitz support zh registry (#54973) 2025-09-15 10:57:32 +08:00
Wanpan
209f4e88d0 chore: Add deprecated tips for DropDownProps (#55020)
* fix: Add deprecated tips for DropDownProps

* fix: update
2025-09-14 22:46:16 +08:00
lijianan
4bf3f72e09 demo: type definition improvement (#55017)
* demo: type definition improvement

* rm any type

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-09-14 18:12:02 +08:00
lijianan
6e72e7bfbe test: add removeAllListeners for imageTest (#55015)
* test: add try/catch for visual diff

* Update tests/shared/imageTest.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: lijianan <574980606@qq.com>

* update

* update

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-14 18:08:55 +08:00
lijianan
21e88f1f05 refactor: use Node.ELEMENT_NODE replace number (#52163)
* refactor: use Node.ELEMENT_NODE replace number

* fix: fix

* fix: fix

* fix: fix

* Update setup.ts

Signed-off-by: lijianan <574980606@qq.com>

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-09-14 18:02:44 +08:00
chimobi-justice
9daba47ce9 fix(typo): correct typo from 'palyType' to 'playType' (#55016) 2025-09-14 16:52:19 +08:00
lijianan
5e684e8e47 refactor optimization imageTest (#55014)
* test

* refactor imageTest

* update
2025-09-14 16:22:35 +08:00
renovate[bot]
569ef8025c chore(deps): update softprops/action-gh-release action to v2.3.3 (#55010)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-09-14 09:45:02 +08:00
renovate[bot]
2a2bd3c0a3 chore(deps): update dependency @blazediff/core to v1 (#55011)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 09:43:30 +08:00
thinkasany
181e327976 chore(dep): bump jsdom from 26 to 27 (#54998) 2025-09-14 01:20:49 +08:00
lijianan
1c4138d170 refactor(splliter): simplify the for loop (#54997) 2025-09-13 14:27:09 +08:00
thinkasany
9ba69f0010 chore(biome): turn off complexity.useOptionalChain (#54993) 2025-09-13 14:18:08 +08:00
Teimur Gasanov
1a2574aaeb test: use blazediff instead of pixelmatch (#54941) 2025-09-12 11:38:50 +08:00
lijianan
8af8de294b chore: add break (#54953) 2025-09-12 11:37:41 +08:00
二货爱吃白萝卜
c88004aca9 fix: Splitter min & max not working for init limit (#54939)
* chore: add debug demo

* fix: size logic

* chore: adjust empty check logic

* chore: tmp of init

* chore: clean up

* chore: add quick avg

* chore: adjust logic

* fix: isFinite logic

* Update components/splitter/SplitBar.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* Update components/splitter/SplitBar.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* test: coverage

* test: fix test

* chore: fix ts

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-09-12 11:25:31 +08:00
github-actions[bot]
31fdae68d2 chore: upgrade deps (#54954)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2025-09-12 09:25:34 +08:00