Commit Graph

1178 Commits

Author SHA1 Message Date
高艳兵
c5e5ac7c3f feat: add semantic snap (#56600)
* feat: add semantic.md generation plugin for components

* refactor: extract locales from SelectSemanticTemplate to component props

* fix: remove unuse locales

* feat: multipleProps add defaultValue

* feat: update select snap

* feat: update table snap

* feat: tour add snap

* feat: delete semantic-md plugin

* feat: add sematic snap

* refactor: replace hardcoded button clicks with configurable postRenderFn in semantic demo test

* revert: locales

* fix: maxTagCount responsive

* fix: test  maxTagCount set 1

* feat: add test:semantic script

* fix: ci add collectCoverageFrom

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
2026-01-19 22:10:33 +08:00
lijianan
364bcc74d1 type: export components SemanticName type (#56494)
* types: export components SemanticName type

* update

* update

* update

* update

* update
2026-01-08 09:25:17 +08:00
lijianan
5c52fea0bf refactor(types): derive SemanticName from semantic maps (#56389)
* refactor(types): derive SemanticName from semantic maps

* update type
2025-12-27 18:12:44 +08:00
lijianan
c3f41c19ba refactor(types): replace Record with explicit object for better DX (#56298) 2025-12-22 10:47:06 +08:00
高艳兵
cb59d0a6f1 fix(upload): align progress bar using item gap instead of text line height (#56194) 2025-12-15 22:51:57 +08:00
Guo Yunhe
408afb0626 refactor: rename button files (#56053)
* refactor: rename button files

* refactor: update import paths for Button component in test files

* refactor: update import paths for Button component across multiple files
2025-12-03 16:59:04 +08:00
aojunhao123
ca5817ac33 feat: ConfigProvider support customize trigger for Tooltip/Popover/Popconfirm (#55932)
* CP support customize trigger

* add faq

* update doc

* update deps

* update snapshot

* adjust logic

* chore: adjust

---------

Signed-off-by: aojunhao123 <1844749591@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-12-01 17:51:42 +08:00
ice
594524b4af docs: update markdown files to add section IDs for examples and FAQs across multiple components (#55882) 2025-11-25 12:16:35 +08:00
thinkasany
4d82298be0 chore: sync master into next 2025-11-14 21:16:54 +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
lijianan
2827a68ff8 test: update test case (#55546)
* test: update test

* update

* update

* update

* update

* update
2025-11-01 11:41:14 +08:00
二货爱吃白萝卜
ca94db6a56 feat: Upload accept support config (#55543)
* feat: Upload support acceptObject

* docs: update docs

* test: update snapshot

---------

Co-authored-by: lijianan <574980606@qq.com>
2025-10-31 18:00:00 +08:00
thinkasany
fba4c3d565 chore: sync master into next 2025-10-27 22:03:52 +08:00
lijianan
e1ff71744e docs: add api anchor (#55495)
* docs: add docs anchor for RequestOptions

* update
2025-10-27 14:20:26 +08:00
lijianan
682c460673 docs: fix docs typo (#55493)
* docs: fix docs typo

* update

* update

* update
2025-10-27 13:13:06 +08:00
lijianan
6cc19c10fc chore: merge feature into next 2025-10-26 18:20:12 +08:00
github-actions[bot]
8a81accfaf chore: auto merge branches (#55479)
chore: merge master into feature
2025-10-26 09:47:24 +00:00
lijianan
41b5dce953 perf: try to reduce bundle size (#55478)
* refactor: reuse useForceUpdate hook

* update

* perf: try to reduce bundle size

* update
2025-10-26 17:18:36 +08:00
lijianan
40531626c1 refactor: remove useState, reuse useForceUpdate hook (#55476)
* refactor: reuse useForceUpdate hook

* update
2025-10-26 16:38:18 +08:00
thinkasany
d65ee1d31a chore: sync feature into next 2025-10-25 10:50:22 +08:00
github-actions[bot]
c6bff1aca6 chore: auto merge branches (#55454)
chore: sync master into feature
2025-10-25 02:47:55 +00:00
lijianan
db2b6c93f6 chore: code style optimization (#55450)
* chore: code style optimization

* update
2025-10-25 10:24:24 +08:00
lijianan
94a2574e4a chore: fix lint error (#55451)
* test

* fix lint error

* fix lint error

* fix lint error

* fix lint error

* fix lint error

* fix lint error

* fix lint error

* update

* update

* update

* update

* update

* update
2025-10-25 10:06:51 +08:00
遇见同学
74d2712935 test: improve single test structure (#55383) 2025-10-20 18:48:47 +08:00
thinkasany
c2adebb58f chore: sync feature into next 2025-10-14 20:24:06 +08:00
github-actions[bot]
479963ccbc chore: auto merge branches (#55306)
chore: sync master into feature
2025-10-14 12:20:22 +00:00
Peach
117673d618 revert: "fix: handle maxCount negative value validation (#55129)" (#55303)
This reverts commit b59a1102f1.
2025-10-14 17:10:03 +08:00
lijianan
d8d266bc66 chore: merge feature into next 2025-10-13 09:59:07 +08:00
github-actions[bot]
a534480899 chore: auto merge branches (#55287)
chore: merge master into feature
2025-10-13 01:49:54 +00:00
thinkasany
9fdba0aeea chore: improve semantic code style (#55279)
* chore: improve semantic code style

* fix
2025-10-12 19:21:35 +08:00
lijianan
1670fc36cc demo: add satisfies keyword for demo (#55272)
* demo: add satisfies for demo

* update

* update

* update

* update snap

* update snap
2025-10-12 08:19:59 +08:00
thinkasany
44cfd0cdeb chore(deps): unlock antd-img-crop (#55271)
* chore(deps): unlock antd-img-crop

* skip demo
2025-10-11 22:59:07 +08:00
github-actions[bot]
d82c775248 chore: auto merge branches (#55248)
chore: sync master into feature
2025-10-09 12:28:50 +00:00
lijianan
6d703575ff site: use renderReactToHTMLString (#55219)
* site: use renderReactToHTMLString

* update

* 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: lijianan <574980606@qq.com>

* 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: lijianan <574980606@qq.com>

* update

* type: update type

* update lint

---------

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: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-09 17:10:56 +08:00
遇见同学
cd170fccfb docs: improve doc description (#55243)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-08 23:12:07 +08:00
lijianan
03ce2b26aa refactor(type): use SemanticClassNamesType & SemanticStylesType (#55240) 2025-10-08 10:40:12 +08:00
thinkasany
e0b59e166f chore: turn on perfectionist/sort-named-imports (#55215)
* chore: turn on perfectionist/sort-named-imports

* turn on perfectionist/sort-named-exports
2025-10-01 21:19:07 +08:00
lijianan
d90b059b7e refactor: improve useMergeSemantic params order (#55103)
* update

* update

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 11:09:39 +08:00
thinkasany
92de6339dd chore: Unified variable naming style (#55210) 2025-10-01 10:40:34 +08:00
lijianan
19137493b4 perf: uninstall classnames, install clsx (#55164)
* refactor: uninstall classnames & install clsx

* refactor: uninstall classnames & install clsx

* test: rename test fn

* test: update snap

* update

* update

* update

* update

* update snap

* update

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 00:45:54 +08:00
遇见同学
1625aa801f feat(upload): Support better customization with semantic classNames/styles as function (#54968)
* feat(upload): Support better customization with semantic classNames/styles as function

* update demo and snap

* test: update snap

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-09-29 17:49:11 +08:00
二货爱吃白萝卜
6c955c5a30 feat: ConfigProvider support unique Tooltip (#55154)
* docs: update doc

* refactor: tooltip structure

* chore: support arrow style

* chore: legacy props

* chore: part

* chore: use transition

* chore: tmp of it

* docs: update demo

* docs: update demo

* chore: code back

* chore: fix ts

* chore: fix root css var

* chore: fix loop deps

* chore: ts defs

* chore: fix ts def

* test: fix setup

* test: update snapshot

* chore: adjust ver

* chore: use new structrue

* chore: fix deps

* test: fix test

* test: update snapshot

* test: update snapshot

* test: fix test

* test: fix test

* test: update snapshot

* chore: adjust

* chore: adjust

* test: coverage

* chore: adjust style

* test: update snapshot

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-09-29 10:15:16 +08:00
EmilyyyLiu
f592cb7ef7 chore: migrate to @rc-component namespace and update (#55181)
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-09-28 16:53:33 +08:00
thinkasany
588f4a3518 chore: sync feature into next 2025-09-28 13:30:33 +08:00
thinkasany
b16183b209 Merge remote-tracking branch 'origin/master' into feature-merge-master 2025-09-28 12:15:04 +08:00
thinkasany
90b4a4373d chore: turn on test/prefer-hooks-in-order (#55171) 2025-09-28 11:38:42 +08:00
lijianan
8a77e20d93 docs: update cn => en (#55159) 2025-09-26 23:58:57 +08:00
EmilyyyLiu
6647881b09 feat: Add defaultRequest to customRequest (#55146)
* chore: Upgrade rc-upload

* docs: add documents

* docs: change document

* docs: add link to RequestOptions

* test: update site snap

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-09-26 16:17:33 +08:00
thinkasany
c664186907 chore: sync feature into next 2025-09-25 20:14:48 +08:00