283 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
遇见同学
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
631ee77e5b Merge branch master into master-merge-feature 2025-12-23 10:30:52 +08:00
Sean Parmelee
37738e5c0e fix: add missing Select semantic names (#56322)
* fix: add missing Select semantic names

* update tests

* conditional expects 🙃

* consistency

* chore: adjust code

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-12-23 10:12:50 +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
ug
7fac2ac5db docs: update the demo of custom dropdown options for Select component (#56182)
* docs: Update the demo of custom dropdown options for `Select` component

* Update components/select/demo/option-render.tsx

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

* update

---------

Signed-off-by: ug <62086147+ug-hero@users.noreply.github.com>
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-12-12 09:15:43 +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
ug
523a911e6c feat(Select): The optionFilterProp supports string and string[] (#56057)
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
2025-12-05 10:24:18 +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
afc163
bcb8f068d5 test: skip debug-flip-shift.tsx in select image test (#55919) 2025-11-26 12:23:09 +08:00
thinkasany
1ada4eed34 test: improve select semantic test case (#55560) 2025-11-01 18:42:27 +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
lijianan
adb7e8f73d chore: merge feature into next 2025-10-28 18:26:11 +08:00
lijianan
259e533757 demo: update Select to data drive (#55507)
* demo: update Select to data drive

* Update components/form/demo/advanced-search.tsx

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

* update more

* update more

* update more

* update snap

* update snap

* update snap

* update snap

* update

---------

Signed-off-by: lijianan <574980606@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-10-28 17:15:24 +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
二货爱吃白萝卜
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
keda
8c2dcbd56b feat(select): Support better customization with semantic classNames/styles as function (#55101)
* feat(Select): Support better customization with semantic classNames/styles as function

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

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

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

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

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

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

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

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

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

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

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

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

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

* Update components/select/index.tsx

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

* Update components/select/index.tsx

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

* Update components/select/index.tsx

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

* update doc

* update demo snap

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-09-28 15:51:44 +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
da2269649d test: update snapshot 2025-08-08 12:08:45 +08:00
叶枫
feaed51f09 fix: form layout style (#54611) 2025-08-07 21:36:46 +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
thinkasany
0329f06d86 chore: bump @rc-component/select to 1.1.3 2025-07-17 12:27:48 +08:00
thinkasany
25384620c0 test: update snap 2025-06-25 12:10:14 +08:00
afc163
36c7ec9c87 fix: update select multiple item max-width to prevent overflow (#54181) 2025-06-24 15:47:39 +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
1f2d5838bc feat: ConfigProvider support classNames and styles for divider (#53890)
* feat: ConfigProvider support classNames and styles for divider

* save

* save

* snap

* style update

* clean

* demo update

* fix

* rerun ci

* docs: update demo

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-05-27 15:48:52 +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
7324a7afbf chore: sync feature into next 2025-04-28 10:36:08 +08:00
thinkasany
2542d2424e chore: sync master into feature 2025-04-28 09:50:45 +08:00
afc163
b79998872a docs: randomuser.me => mocky.io (#53676)
* docs: move mock api from randomuser.me to mocky.io

* update

* update

* update

* test: update snapshot
2025-04-28 09:47:01 +08:00
thinkasany
26ba87e4fb chore: sync feature into next 2025-04-24 21:13:27 +08:00
kiner-tang(星河)
5236fa8d26 feat: Optimized closable component's aria props (#53410)
* feat: Optimized closable component's aria props

* Update components/_util/hooks/useClosable.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang(星河) <1127031143@qq.com>

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* chore: add a11y def

* chore: update a11y ts

* chore: clean up

* chore: clean up

* docs: update demo

---------

Signed-off-by: kiner-tang(星河) <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-24 18:36:18 +08:00
EmilyyyLiu
e28247bf0c enhance: keep show clearIcon when in mobile view (#53576)
* feat: The clearIcon  of the Select component remain displayed when hover=none device

* chore: tmp of mobile test

* test: support mobile snapshot

* test: adjust logic

* chore: force trigger

* chore: rm is mobile config

* chore: update enable check

* chore: clean up

* chore: force trigger

* chore: debug for query

* chore: trigger info

* test: force disable mobile style

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-24 14:21:02 +08:00
thinkasany
63520eb738 fix: resolved conflict 2025-04-07 18:11:46 +08:00
thinkasany
de030bcfad chore: sync feature into next 2025-04-07 16:49:57 +08:00
Jony J
3147356b4a feat(auto-complete): popup supports Semantic DOM and retire some api (#53257)
* feat(auto-complete): popup supports Semantic DOM and retire some api

* refactor(auto-complete, select): deprecate `onDropdownVisibleChange` in favor of `onOpenChange` and update related tests

* refactor: adjust semantic demo logic

* docs: update api description

* docs: update doc

* docs: add space

* docs: update

* chore: update semantic demo logic

* feat: add CP support

* feat: add CP support for tree-select and update doc

* docs: update Select and TreeSelect common props in configuration documentation

* Update components/config-provider/index.zh-CN.md

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Signed-off-by: Jony J <1844749591@qq.com>

* feat: add root support

* docs: update doc

* chore: bump cascader version

---------

Signed-off-by: Jony J <1844749591@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-04-02 11:45:53 +08:00
Guo Yunhe
b47db12738 feat(Tag): custom color support 3 variants (#53097)
* feat(Tag): custom color support 3 variants

* chore: use hooks

* chore: update size limit

* test: coverage

* test: coverage

* fix: variant name

* fix: solid default color

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* demo: cov

* test: coverage

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-03-25 23:33:22 +08:00
thinkasany
4fbd71a4f0 chore: sync feature into next 2025-03-24 12:18:34 +08:00
Jony J
33fa456979 feat(select): popup supports Semantic DOM and retire some api (#53243)
* feat(select):popup support Semantic DOM and retire some api

* chore: adjust logic

* chore: adjust semantic preview demo

* style: set popup zIndex for better visibility
2025-03-21 22:01:18 +08:00
Jony J
8fb50a6443 feat: retire deprecated api and migrate scope (#52876)
* chore: upgrade RC component dependencies

* chore: trigger CI build

* chore: update deps and import path

* chore: update deps

* test: update snapshot

* test: update snapshot

* fix: lint fix

* chore: migrate Drawer to @rc-component/drawer

* chore: migrate Image to @rc-component/image

* test: update snapshot

* chore: replace api

* fix cascader dropdown api and snap, popupAlign

* fix ci test

* fix key

* test: update snapshot

* Revert "test: update snapshot"

This reverts commit 66a993332b.

* chore: fix logic

* test: update snapshot

* chore: revert part logic

---------

Signed-off-by: Jony J <1844749591@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-02-27 21:22:09 +08:00
二货机器人
02c480a485 chore: next merge master 2025-02-26 19:06:19 +08:00
Wanpan
8491b939a3 refactor: Input allowClear btn set tabIndex to -1 (#52977) 2025-02-26 19:02:33 +08:00