277 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
遇见同学
07f0db2ddc docs: refactor replace createStyles with createStaticStyles across multiple components (#56610)
* refactor: replace createStyles with createStaticStyles across multiple components

* chore: update

---------

Co-authored-by: thinkasany <480968828@qq.com>
2026-01-15 09:38:51 +08:00
遇见同学
3c9bb681e7 docs: improve performance replace createStyles with createStaticStyles (#56605)
* perf: use createStaticStyles

* chore: update snap

* chore: adjust

* chore: snap
2026-01-14 17:58:47 +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
github-actions[bot]
60cd020a35 chore: auto merge branches (#56380)
chore: merge master into feature
2025-12-27 09:14:24 +00:00
thinkasany
9108b85cf7 chore: biome lint format (#56384)
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-12-27 16:32:17 +08:00
lijianan
c3f41c19ba refactor(types): replace Record with explicit object for better DX (#56298) 2025-12-22 10:47:06 +08:00
ug
0bdacb180a docs(Image.PreviewGroup): The classNames are in the wrong position in the document. (#56177)
* docs(Image.PreviewGroup): The `classNames` are in the wrong position in the document.

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

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

* Update components/image/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>

* update

---------

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-12-11 17:36:42 +08:00
ug
1d9d977936 fix(token): The colorBgMask does not take effect. (#56031)
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
2025-12-02 16:56:21 +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
lijianan
6b79b3a91f chore: update componentCls key (#55828) 2025-11-23 16:25:44 +08:00
遇见同学
03acb88826 docs: update semantic structure types in component documentation (#55795) 2025-11-21 17:29:29 +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
遇见同学
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
lijianan
6fc67a0fdd Merge branch feature into next-merge-feature 2025-10-31 16:18:08 +08:00
lijianan
d33d8cf959 test: simplify style test case again (#55539)
* test: simplify test case

* update

* update

* update

* test: simplify style test case

* update

* update

* update

* update

* test: simplify style test case again

* update

* update

* update color to rgb
2025-10-31 15:19:47 +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
thinkasany
80a1f69588 fix: add image missing memo deps (#55477)
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-26 17:00:39 +08:00
thinkasany
cfe7272226 chore: sync feature into next 2025-10-18 00:45:13 +08:00
github-actions[bot]
474245dd7b chore: auto merge branches (#55341)
chore: sync master into feature
2025-10-17 16:12:08 +00:00
thinkasany
f47947d857 chore: turn on react-hooks/purity (#55331) 2025-10-16 23:11:44 +08:00
thinkasany
0abeae5f23 chore: sync feature into next 2025-10-15 22:31:07 +08:00
github-actions[bot]
cea58dc907 chore: auto merge branches (#55323)
chore: sync master into feature
2025-10-15 14:27:29 +00:00
lijianan
e714dde0dc type: resolve gemini-code-assist review comment (#55313)
* type: resolve gemini-code-assist review comment

* type: resolve gemini-code-assist review comment

* type: resolve gemini-code-assist review comment

* update
2025-10-15 17:29:20 +08:00
smallbun
95bca1cf70 type: getTargetContainer getPopupContainer support ShadowRoot type (#55278)
Co-authored-by: topiam <support@topiam.cn>
2025-10-15 11:20: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
遇见同学
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
lijianan
158a55b7c3 type: optimization SemanticClassNamesType & SemanticStylesType (#55239)
* type: optimization SemanticClassNamesType & SemanticStylesType

* Update components/_util/hooks/useMergeSemantic/index.ts

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

* 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-10-07 20:38:53 +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
遇见同学
b31715f4d0 feat(image): Support better customization with semantic classNames/styles as function (#54980)
* feat(image): Support better customization with semantic classNames/styles as function

* update snap

* update demo and snap

* update test

* chore: update snap

* feat(image): Support better customization with semantic classNames/styles as function

* update snap

* update demo and snap

* update test

* chore: update snap

* chore: update demo

* chore: update snap

* test: update test

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-09-30 19:25:18 +08:00
thinkasany
60ac885f53 chore(biome): lint fix 2025-09-25 20:52:22 +08:00
thinkasany
98e306102f chore(biome): code style format 2025-09-21 14:16:58 +08:00
thinkasany
3b6ad37e73 Merge origin/next into next-merge-feature 2025-08-28 19:11:52 +08:00
EmilyyyLiu
62aafe91d1 feat[Image]: Add blur effect to mask (#54714)
* feat[Image]: add blur effect to mask

* feat: add test and demo

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

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>

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

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>

* feat: demo basic

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

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>

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

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>

* feat: Use useMergedReviceConfig to obtain mask values

* feat:useMergedPreviewConfig ts

* feat: memo blur className

* feat: use mask instead previewMask

* feat: Merge memos that do not require separation

* feat: other component mask ts

* feat: change normalizeMask

* feat: function name

* feat: warning

* test: change warning

* clean

* feat: Extract the same style

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.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: thinkasany <480968828@qq.com>
2025-08-28 18:44:33 +08:00
thinkasany
a26828b6f9 chore: sync feature into next 2025-08-28 16:44:47 +08:00
Trần Quang Khánh
a1c2f3b4d2 feat(Image): support fallback global config (#54702)
* feat(Image): support fallback global config

* feat(Image): update config provider document

---------

Co-authored-by: Khanh Tran <quangkhanhdeveloper@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-08-28 10:25:10 +08:00
thinkasany
5b6cc4c987 chore: bump jest to 30.1.0 (#54759)
* chore: bump jest to 30.1.0

* update
2025-08-27 15:39:48 +08:00
thinkasany
1fe43e57f7 chore: biome format 2025-08-19 10:45:27 +08:00
thinkasany
5e7f63fb30 chore: fix biome error (#54682)
* chore: fix biome error

* fix

* fix again

* revert
2025-08-14 22:52:15 +08:00
thinkasany
f1afc710c3 test: Adapting to jest v30 2025-08-07 12:01:07 +08:00
kiner-tang(星河)
e2ca62b7be feat: support cover placement in Image preview cover (#54492)
* feat: support cover placement in Image preview cover

* feat: opt code

* test: update snap

* doc: update doc

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* fix lint

---------

Signed-off-by: kiner-tang(星河) <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-08-02 22:10:13 +08:00
lijianan
5eb1971450 site: type definition improvement (#54476)
* chore: unlock @rc-component/trigger version

* test: update snap

* test: update demo

* update snap

* update demo

* update code

---------

Signed-off-by: lijianan <574980606@qq.com>
2025-07-30 10:13:26 +08:00
ug
68ca2a0740 feat<Image>: remove preview icon and preview text (#54379)
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-07-23 16:39:34 +08:00
MadCcc
751edfc336 feat: zeroRuntime (#54334)
* feat: zeroRuntime

* feat: generate full style

* feat: add antd.css into global css

* chore: revert site change

* docs: add docs

* chore: update scripts

* chore: add test
2025-07-22 10:20:29 +08:00