618 Commits

Author SHA1 Message Date
遇见同学
94fe19feef chore: fix ci update snap (#56761)
* chore: fix ci update snap

* up

* chore up
2026-01-27 17:24:56 +08:00
ug
3ac1fc78e7 perf(Empty/Skeleton): Reduce the size of the SVG (#56682)
* optimize(Empty): Reduce the size of the SVG.

* update

* update

* update

---------

Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
Co-authored-by: afc163 <afc163@gmail.com>
2026-01-21 23:59:13 +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
lijianan
c78056d0a4 Merge branch master into master-merge-feature 2026-01-09 14:46:59 +08:00
baozj
ae98485a3e chore: fix typo (#56541)
Co-authored-by: baozj <www.1670370148@qq.com>
2026-01-09 11:24:38 +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
c3f41c19ba refactor(types): replace Record with explicit object for better DX (#56298) 2025-12-22 10:47:06 +08: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
lijianan
6294ce8f7c chore: fix test CI fail (#56162)
* chore: fix test CI fail

* chore: update snap

* chore: update snap

* chore: update snap
2025-12-11 08:46:46 +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
遇见同学
1aaa3a75a7 chore(demo): improve dark demo (#55648) 2025-11-08 15:30:39 +08:00
二货爱吃白萝卜
4d25be58f0 refactor: Select like component support semantic structure (#55430)
* chore: basic style

* chore: style of select variant

* chore: multiple

* chore: demo update

* chore: sizing

* chore: sizing

* chore: styles

* chore: clean up

* test: fix test case

* chore: adjust demo

* chore: adjust demo opacity

* chore: clean up

* chore: fix lint

* chore: bump ver

* chore: cascader props

* chore: bump ver

* test: update snapshot

* docs: update demo

* test: fix test case

* test: auto complete test

* test: fix semantic test

* test: fix semantic test

* chore: update test

* docs: update semantic demo

* test: simplify

* chore: clean up

* chore: fix style

* chore: fix style

* chore: fix style

* chore: fix missing

* chore: fix style

* test: update snapshot

* test: update snapshot

* chore: fix compcat style

* chore: bump version

* chore: fix style

* chore: clean up

* test: update snapshot

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-10-27 14:02:27 +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
遇见同学
c8fc1d1bf3 chore(breadcrumb): improve demo simple and adapt to dark (#55424)
* chore(breadcrumb): improve demo simple and adapt to dark

* update semantic demo

* update demo snap
2025-10-23 22:30:11 +08:00
遇见同学
74d2712935 test: improve single test structure (#55383) 2025-10-20 18:48:47 +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
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
遇见同学
f6e83464e0 feat(tree-select): Support better customization with semantic classNames/styles as function (#54967)
* feat(tree-select): Support better customization with semantic classNames/styles as function

* update demo and snap

* chore: update demo

* chore: update demo

* Update index.tsx

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

* Replace 'clsx' with 'classnames' for class handling

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-10-01 00:31:16 +08:00
thinkasany
dd3de44261 chore: lint fix 2025-09-28 12:44:31 +08:00
thinkasany
60ac885f53 chore(biome): lint fix 2025-09-25 20:52:22 +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
thinkasany
98e306102f chore(biome): code style format 2025-09-21 14:16:58 +08:00
thinkasany
84215ec509 chore: sync feature into next 2025-09-03 21:40:42 +08:00
Trần Quang Khánh
e0683bbd41 feat(TreeSelect): support global config for switcher icon (#54821)
* feat(TreeSelect): support global config for switcher icon

* chore: update config provider document

---------

Co-authored-by: Khanh Tran <quangkhanhdeveloper@gmail.com>
2025-09-02 09:54:59 +08:00
thinkasany
4d4b2b953a chore: update snap (#54771) 2025-08-27 17:08:24 +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
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
afc163
46c9c93773 test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +08:00
thinkasany
b7b842f3bf chore: sync feature into next 2025-08-01 18:21:16 +08:00
EmilyyyLiu
953a8c0278 feat: add ContextIsolator component to Select (#54544)
* fix: add ContextIsolator component to Select

* feat: add ContextIsolator to mergedPopupRender

* feat: useMemo

* test: add tests

* fix: Delete the 'ContextIsolator' at the top level of the component

* feat: add usePopupRender

* test: change tests

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-08-01 17:27:43 +08:00
EmilyyyLiu
44369acc72 docs: Modify the description of labelInValue (#54536)
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-07-30 19:18:39 +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
二货爱吃白萝卜
f14a31b1c2 docs: Add more semantic desc of the content for llms (#54417)
* chore: add semantic desc

* chore: more desc

* chore: all styles desc

* chore: fix docs

* chore: update desc

* chore: update desc

* chore: update desc
2025-07-21 17:42:07 +08:00
EmilyyyLiu
0315ef5923 feat: Update the documentation and demo about 'showSearch' Props (#54184)
* docs: Update the documentation and demo about 'showSearch' Props

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* build: upgrade @rc-component/cascader to 1.5.0,upgrade @rc-component/tree-select to 1.2.0, update select document snapshots

* docs: update Cascader documnet and demo

* docs: update tree-select document

* docs: update AutoComplete document and demo

* docs: update site snapshots

* build: upgrade @rc-component/select to 1.1.2 ,@rc-component/tree-select to 1.2.1

* docs: link #showSearch

* docs:  showSearch value is true

* docs: Add a through line to search props

* docs: Adjust the order

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-06-27 10:59:40 +08:00
𝑾𝒖𝒙𝒉
1547514ae1 feat(Select): add onActive callback prop (#53931)
* fix: update @rc-component/select dependency version to ~1.0.5

(cherry picked from commit b45363e4c0)

# Conflicts:
#	package.json

* docs(select): update `onActive` props

(cherry picked from commit b78c436792)

* chore: update

(cherry picked from commit 3ad9e76823d211e3feadf6fd8c0e64e669b40c64)

* chore: bump

(cherry picked from commit 23672494b5d961de06487ae7ea02320fa0a41d07)

* chore: update snap

(cherry picked from commit 3258e169ef307b1c60e2924c66cc67053787c283)

* chore: update

* chore: update snap

* chore: update all snap

* chore: bump rc-select

* chore(deps): bump @rc-component/cascader to 1.3.1

* chore: update snap

* chore(deps): bump @rc-component/tree-select to 1.1.3

* chore: update snap
2025-06-03 23:39:13 +08:00
thinkasany
b2f3a8085c chore: sync feature into next 2025-05-24 09:06:29 +08:00
afc163
4546987d0c chore: refactor .dumi code folders (#53437)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-23 22:33:40 +08:00
EmilyyyLiu
47eb1b661e feat(Space): unify orientation attribute usage (#53669)
* feat[Space]:Unified use of orientation attribute

* feat: use useOrientation and change doc, add test

* feat: add warning

* test: update snapshots

* Update components/space/Compact.tsx

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

* test: reset snapshots,delete direction default value

* feat: change demo direnction->orentation

* feat: demos direction ->orientation

* feat: add vertical, and change demos , doc

* feat: change demo space -> flex

* feat: change demo space -> flex

* feat: space -> flex

* Update components/space/index.tsx

Signed-off-by: thinkasany <480968828@qq.com>

* Update components/space/Compact.tsx

Signed-off-by: thinkasany <480968828@qq.com>

* add warning toHaveBeenCalledWith

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-05-23 15:20:33 +08:00
thinkasany
353ff31237 chore: sync feature into next 2025-04-29 12:01:17 +08:00
Jony J
b3af097e8c refactor: semantic dom structure (#53695)
* refactor: semantic dom structure

* fix: ci
2025-04-29 11:46:11 +08:00
thinkasany
6952b50b40 refactor: popup structure (#53689)
* refactor: popup structure

* select & autoComplete

* bump

* demo fix
2025-04-28 19:21:00 +08:00
Jony J
af51e67ed4 chore: remove unnecessary console warning (#53635) 2025-04-25 00:02:00 +08:00
thinkasany
2847cfd22a chore: sync feature into next 2025-04-21 10:30:07 +08:00