Commit Graph

124 Commits

Author SHA1 Message Date
afc163
2f6548209d test: fix test case skip logic (#56701)
* test: fix test case skip logic

* fix

* fix

* test: add snapshot tests for splitter and table demos

* test: remove skip options from splitter tests

* test: add snapshot for size-mix demo in splitter component
2026-01-23 13:02:04 +08:00
高艳兵
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
github-actions[bot]
0362603ae5 chore: auto merge branches (#56560)
chore: merge master into feature
2026-01-10 14:43:11 +00:00
lijianan
d937a3930f refactor(Splitter): use genCssVar hook to generate CSS variables (#56555)
* refactor(Splitter): use genCssVar hook to generate CSS variables

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-10 11:03:22 +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
Guo Yunhe
9a62d148c7 docs: remove 5.x tags (#56353) 2025-12-25 12:17:44 +08:00
lijianan
c3f41c19ba refactor(types): replace Record with explicit object for better DX (#56298) 2025-12-22 10:47:06 +08:00
github-actions[bot]
1004fa28ea chore: auto merge branches (#56199)
chore: merge master into feature
2025-12-12 20:48:26 +00:00
Anton Cherniavskyi
af27ca20fb feat(Checkbox.Group, Radio.Group): add support for role prop (#56126)
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-12-12 10:49:25 +08:00
gaoyanbing
c606b9700a fix(splitter): resolve incorrect collapse behavior in RTL vertical mode (#56179) 2025-12-12 10:44:03 +08:00
二货爱吃白萝卜
76fa62258b fix: Splitter ptg not fully cover (#56025)
* chore: tmp of it

* chore: clean up

* chore: fix lint

* chore: edge case
2025-12-02 14:42:04 +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
遇见同学
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
lijianan
2827a68ff8 test: update test case (#55546)
* test: update test

* update

* update

* update

* update

* update
2025-11-01 11:41:14 +08:00
thinkasany
0b2d1aa5f5 fix: add splitter missing memo deps (#55486) 2025-10-26 23:42:43 +08:00
lijianan
6cc19c10fc chore: merge feature into next 2025-10-26 18:20:12 +08:00
遇见同学
21a667e4cd chore(splitter): improve demo adapt to dark (#55463)
Co-authored-by: thinkasany <480968828@qq.com>
2025-10-25 20:54:30 +08:00
遇见同学
74d2712935 test: improve single test structure (#55383) 2025-10-20 18:48:47 +08:00
lijianan
1be5555d57 Merge branch feature into next-merge-feature 2025-10-19 10:50:05 +08:00
lijianan
b447d9c22a Merge branch master into feature-merge-master 2025-10-19 09:44:18 +08:00
lijianan
bd00e59fc1 fix: update missing dependency (#55322) 2025-10-19 00:31:59 +08:00
lijianan
fee3e97a26 fix(splitter): update missing dependency (#55355) 2025-10-18 17:20:56 +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
c10d1a6a1c chore: sync feature into next 2025-10-09 20:33:30 +08:00
ug
76fe1be8a6 feat(splitter): Support onCollapse event (#54673)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
Co-authored-by: Wanpan <wanpan96@163.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-09 17:11:38 +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
d90b059b7e refactor: improve useMergeSemantic params order (#55103)
* update

* update

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 11:09:39 +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
EmilyyyLiu
a02c1d5595 refactor: Upgrade utils and replace useMergedState (#55047)
* refactor: Upgrade utils and replace useMergedState

* Update components/color-picker/components/ColorPresets.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>

* fix: lint error useControlledState not use

* feat: change import util path

* feat: mergedSelectedKeys

* feat: Modify the import path of rc-util

* feat: Restore the 'useControlledState' modification of 'select'

---------

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>
2025-09-25 10:57:09 +08:00
hcjlxl
8b20c13a3e feat(splitter): Support better customization with semantic classNames/styles as function (#55013)
* feat(splitter): Support better customization with semantic classNames/styles as function

* fix: remove inline styles from splitter style-class demo and add comprehensive unit tests

* fix: update splitter style-class.md

* refactor(splitter): simplify SplitterClassNamesType definition and update docs

* remove useMemo

* Update components/splitter/Splitter.tsx

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

* refactor(splitter): unify semantic class names type definition

* Update components/splitter/demo/style-class.md

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

* Update components/splitter/demo/style-class.md

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

* update demo

* update demo

* docs: adjust demo

* adjust lint

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: hcjlxl <lxl@xiaolongdeMac-mini.local>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-09-23 15:22:07 +08:00
thinkasany
20634fcbf7 chore: sync feature into next 2025-09-21 13:57:19 +08:00
thinkasany
030783f41b chore(biome): turn on style.useImportType (#55104) 2025-09-21 10:33:31 +08:00
github-actions[bot]
a6163cc3b2 chore: auto merge branches (#55009)
chore: merge feature into next
2025-09-13 18:17:55 +00: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
lijianan
f4d5f0a384 Merge branch feature into next-merge-feature 2025-09-12 23:49:18 +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
thinkasany
998d8f008f chore: sync feature into next 2025-08-08 12:01:41 +08:00
afc163
613aad6a5d refactor: remove unnecessary object spread syntax for genFocusOutline calls (#54622)
Co-authored-by: lijianan <574980606@qq.com>
2025-08-08 08:34:25 +08:00
thinkasany
f1afc710c3 test: Adapting to jest v30 2025-08-07 12:01:07 +08:00
thinkasany
a0bfadec78 chore: sync feature into next 2025-08-07 10:28:26 +08:00
afc163
46c9c93773 test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +08:00
github-actions[bot]
3f94d76ba9 chore: auto merge branches (#54590)
chore: master merge feature
2025-08-04 13:30:54 +00:00
afc163
e82a7fae8c chore: fix Split eslint error (#54578)
* style: 添加 eslint 忽略注释避免 no-leaked-event-listener 警告

* docs: 补充中文文档句号并同步英文格式
2025-08-04 14:17:54 +08:00
Goat
4eab7c7140 chore: code optimization (#54569) 2025-08-03 21:11:37 +08:00