Commit Graph

19794 Commits

Author SHA1 Message Date
thinkasany
3106c017d3 chore: sync feature into next 2025-11-17 21:19:03 +08:00
Guo Yunhe
a92a3fb5b8 feat(InputNumber): spinner mode (#55592)
* feat(InputNumber): spinner mode

* feat(InputNumber): spinner mode

* docs: re-order

* docs: semantic support action

* chore: adjust focus util

* chore: update

* test: update snapshot

* chore: fix style

* docs: style

* chore: fix style

* feat: warning style

* chore: fix demo

* chore: clean up

* test: fix test case

* chore: fix test ts

* test: all

* test: update snapshot

* chore: coverage

* chore: adjust style

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-17 11:42:34 +08:00
lijianan
eca869ac3e Merge pull request #55734 from ant-design/master
chore: merge master into feature
2025-11-17 10:46:49 +08:00
thinkasany
662fe02252 chore: improve code style (#55720)
* chore: improve code style

* 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: 遇见同学 <1875694521@qq.com>

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-14 22:21:35 +08:00
thinkasany
ae9ebfaf07 test: fix drawer test case 2025-11-14 21:53:01 +08:00
thinkasany
42e7fafb3b chore: replace rc-util and classnames 2025-11-14 21:37:07 +08:00
thinkasany
67f066e8a8 test: update snap 2025-11-14 21:23:38 +08:00
thinkasany
4d82298be0 chore: sync master into next 2025-11-14 21:16:54 +08:00
github-actions[bot]
2d440e138d chore: auto merge branches (#55718)
chore: sync master into feature
2025-11-14 11:51:12 +00:00
EmilyyyLiu
bbef6f8752 feat[Input.Search]: Abandoning the use of addon * in the Search component (#55705)
* refactor: Search component refactoring using compact

* test: update snap

* test: update snap

* test: update snap

* chore: fix style

* chore: fix search style

* test: update snapshot

* test: update snapshot

* test: update snapshot

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-14 16:16:23 +08:00
x1ngYu
19a37a3780 fix(drawer): improve accessibility (aria-labelledby) (#55697)
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-11-14 11:40:29 +08:00
GeekerGx
3f644af0fb docs: improve upload api doc (#55714)
* Upload API添加类型说明

补充修改英文文档
参考:中文文档修改记录
https://github.com/ant-design/ant-design/pull/55671

Signed-off-by: GeekerGx <386348903@qq.com>

* chore: update doc

* Apply suggestion from @meet-student

Signed-off-by: 遇见同学 <1875694521@qq.com>

* Apply suggestion from @meet-student

Signed-off-by: 遇见同学 <1875694521@qq.com>

* chore: update

* chore: update snap

---------

Signed-off-by: GeekerGx <386348903@qq.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-11-14 11:20:43 +08:00
GeekerGx
d903180635 docs: update API type (#55671)
* Upload API添加类型说明

beforeUpload 中的参数file, fileList没有指明类型,会和UploadFile混淆,导致开发中出现意料外的情况

Signed-off-by: GeekerGx <386348903@qq.com>

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

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

---------

Signed-off-by: GeekerGx <386348903@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-14 07:09:09 +08:00
遇见同学
fd41654778 feat(anchor): change anchor semantic name from title to itemTitle (#55690)
* feat: change Anchor semantic name from title to itemTitle

* chore: docs update and snap
2025-11-13 17:18:52 +08:00
二货机器人
1ab1da6154 chore: next merge feature 2025-11-13 15:41:01 +08:00
github-actions[bot]
5079bf4b0b chore: auto merge branches (#55699)
chore: feature merge master
2025-11-13 04:05:34 +00:00
J-Da-Shi
9be6685a45 refactor(modal): remove duplicate locale type definition (#55683)
Co-authored-by: shida <v-shida1@xiaomi.com>
2025-11-13 10:38:28 +08:00
EmilyyyLiu
5632e40fce feat[InputNumber]: deprecated addon* attribute (#55505)
* feat[InputNumber]: deprecated addon* attribute

* test: update snap

* Update components/form/demo/register.tsx

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

* test: update form snap

* update

* update

* feat: change Search addon*

* test: demo add annotation

* update Search

* feat: add Space.Addon

* test: use addon in demos

* feat: Space.Addon -> Space.CompactCell

* test: update compactCell snap

* feat: fix style lint

* test: update compact-middle class snap

* chore: update logic

* test: delete if (!button) return input

* chore: fix logic

* update test snap

* update test snap

* update test snap

* update test snap

* test: update test

* test: update snap

* chore: fix search

* revert test

* test: update

* test: update

* feat: add description for CompactCell

* feat: change description

* docs: add api Version

* test: change search style

* test: update snap

* test: update snap

* feat: searchButton text color

* fix: border is null whenhover search Button

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

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

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

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* Update components/space/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* Update components/space/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* docs: change Compact description

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

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

* feat: compactCell -> compactAddon

* feat: compactAddon -> Addon

* docs: Remove component name quotation marks from the document

* refactor: Refactoring Space.Addon style and class name

* chore: add css var

* feat[InputNumber]: deprecated addon* attribute

* test: update snap

* Update components/form/demo/register.tsx

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

* test: update form snap

* update

* update

* feat: change Search addon*

* test: demo add annotation

* update Search

* feat: add Space.Addon

* test: use addon in demos

* feat: Space.Addon -> Space.CompactCell

* test: update compactCell snap

* feat: fix style lint

* test: update compact-middle class snap

* chore: update logic

* test: delete if (!button) return input

* chore: fix logic

* update test snap

* update test snap

* update test snap

* update test snap

* test: update test

* test: update snap

* chore: fix search

* revert test

* test: update

* test: update

* feat: add description for CompactCell

* feat: change description

* docs: add api Version

* test: change search style

* test: update snap

* test: update snap

* feat: searchButton text color

* fix: border is null whenhover search Button

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

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

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

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* Update components/space/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* Update components/space/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* docs: change Compact description

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

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

* feat: compactCell -> compactAddon

* feat: compactAddon -> Addon

* docs: Remove component name quotation marks from the document

* refactor: Refactoring Space.Addon style and class name

* chore: add css var

* chore: adjust style

* docs: back

* docs: update demo

* test: update snapshot

* refactor: Restore Search using Compact

* refactor: Remove unused wrapCSSVar

* test: update snap

* test:update snap

* refactor: Remove non addon modifications

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-12 17:42:49 +08:00
lijianan
0d5e72d5d7 Merge branch feature into next-merge-feature 2025-11-11 12:39:05 +08:00
lijianan
706c010671 chore: reset deprecated BackTop (#55668)
* chore: reset deprecated BackTop

* chore: adjust import

* chore: update deps

* update

* update

* update

* update

* update snap

* update

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-11 11:21:39 +08:00
Jeongseok Kang
8a914f36a3 fix(local): Correct spacing in copy message from '복사 됨' to '복사됨' (#55672) 2025-11-11 11:13:22 +08:00
lijianan
2037fa7834 fix(locale): add missing locale (#55656) 2025-11-09 16:09:41 +08:00
thinkasany
08ff4a91c5 chore(mentions): improve code style (#55653)
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-11-09 11:26:56 +08:00
thinkasany
10946bb94f chore: sync feature into next 2025-11-09 10:16:50 +08:00
afc163
a4b8185a74 Revert "fix: clicking does nothing after occur error in actionFn (#55519)" (#55651)
This reverts commit 2b12ef528d.
2025-11-09 01:21:02 +08:00
遇见同学
1aaa3a75a7 chore(demo): improve dark demo (#55648) 2025-11-08 15:30:39 +08:00
二货爱吃白萝卜
b9f1d1239c feat: Mentions reduce dom strcuture and support size (#55638)
* chore: init mentions

* feat: Mentions support size

* chore: update demo

* chore: adjust style

* test: update snapshot

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-11-08 14:42:59 +08:00
遇见同学
16521a9972 chore(demo): simplified button demo (#55646)
* chore(demo): simplified button  demo

* Update components/button/demo/style-class.tsx

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

* Update components/float-button/demo/style-class.tsx

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

* chore: update boxShadow

* Update components/float-button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/float-button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* chore: update snap

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-11-08 14:41:59 +08:00
遇见同学
6664c579c7 chore(demo): improve dark demo (#55647)
* chore(demo): improve dark demo

* Update components/transfer/demo/style-class.tsx

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

* Update components/transfer/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* chore: update snap

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-08 14:23:01 +08:00
Tony
ce9a5dc2fd docs: add classNames and styles to Tooltip shared API documentation (#55645) 2025-11-08 08:41:55 +08:00
TianHua Liu
2b12ef528d fix: clicking does nothing after occur error in actionFn (#55519) 2025-11-08 00:07:19 +08:00
Wanpan
44526a56a7 fix: use dotActiveWidth token (#55615) 2025-11-07 19:05:35 +08:00
lijianan
4998944333 docs: add api version (#55634) 2025-11-07 00:05:32 +08:00
heming
abb8b94ee4 feat: Add and delete watermark callback for watermark component (#55551)
* feat: Add and delete watermark callback for watermark component

* fix: Adjust the watermark deletion monitoring method

* fix: Optimize the deletion of watermark monitoring function

* fix: Optimize the timing of watermark callback

* fix: Remove excess code

* chore: update deps

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-06 23:25:56 +08:00
遇见同学
930c25858e chore(slider): improve demo styles (#55632) 2025-11-06 18:45:59 +08:00
二货爱吃白萝卜
47980afc3d fix: static css extract should order of Button (#55619)
* fix: static css extract should order of Button

* chore: another try

* chore: re-order
2025-11-06 11:33:21 +08:00
ustcfury
2f6846d2a5 fix: Select underlined height (#55607)
Co-authored-by: furyzhao <furyzhao@tencent.com>
2025-11-06 10:21:35 +08:00
lijianan
73e3de52b4 site: rm forwardRef (#55627) 2025-11-06 09:56:57 +08:00
沐白
af2f578f52 chore(masonry): fix Dynamic demo key calculte error (#55624)
Co-authored-by: 叶文俊 <yewenjun@mistong.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-11-06 09:09:13 +08:00
lijianan
249ca2c881 chore: merge feature into next 2025-11-06 01:31:18 +08:00
afc163
8471922710 demo: fix extra padding in Carousel demos (#55613) 2025-11-05 13:12:06 +08:00
Wanpan
3966a9fcc8 fix(carousel): The transform animation is invalid when the drawing is first performed. (#55589)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-11-05 10:01:20 +08:00
ustcfury
dee2365bed fix: input underlined hover color (#55609)
to #55608

Co-authored-by: furyzhao <furyzhao@tencent.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-11-04 23:02:05 +08:00
afc163
39843ae9b2 docs: update icon component import code and documentation warnings (#55594) 2025-11-04 23:00:52 +08:00
ayangweb
51949965ce type: optimize LiteralUnion type and add Primitive type (#55599) 2025-11-04 23:00:08 +08:00
遇见同学
d46fb3636c chore: bump @rc-component/pagination and update snap (#55610)
Co-authored-by: thinkasany <480968828@qq.com>
2025-11-04 21:03:49 +08:00
ayangweb
bf1a3393fc type(flex): fix missing preset size support for gap (#55591) 2025-11-04 14:00:31 +08:00
遇见同学
4df740e22e fix(textarea): resize is invalid in styles.textarea (#55579)
* fix(textarea): resize is invalid in styles.textarea

* chore: bump @rc-component/input@1.1.0

* chore: bump @rc-component/input-number@1.4.1

* update snap

* chore: bump @rc-component/input-number@1.5.0

* fix(textarea): resize is invalid in styles.textarea

* chore: bump @rc-component/input@1.1.0

* chore: bump @rc-component/input-number@1.4.1

* update snap

* chore: bump @rc-component/input-number@1.5.0

* chore: bump @rc-component/mentions@1.4.0
2025-11-04 11:53:38 +08:00
Wanpan
89154110dd fix: Optimize the definition of the duration type (#55580) 2025-11-03 19:11:45 +08:00
lijianan
cad56756e2 docs: update api description (#55576)
* docs: update api description

* update

* update
2025-11-03 12:06:24 +08:00