Commit Graph

211 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
遇见同学
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
thinkasany
8af72472fa chore: sync master into feature 2026-01-04 13:15:00 +08:00
二货爱吃白萝卜
e2f3cf6133 test: update test case (#56451) 2025-12-31 17:50:18 +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
aojunhao123
c312adea5d fix: remove duplicate radio role and optimize aria attributes (#56278) 2025-12-18 21:41:07 +08:00
lijianan
ef91a44893 demo: update Segmented demo (#56191) 2025-12-12 12:33:35 +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
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
lijianan
2827a68ff8 test: update test case (#55546)
* test: update test

* update

* update

* update

* update

* update
2025-11-01 11:41:14 +08:00
lijianan
6fc67a0fdd Merge branch feature into next-merge-feature 2025-10-31 16:18:08 +08:00
lijianan
ec658c9842 test: simplify test case (#55537)
* test: simplify test case

* update

* update

* update
2025-10-31 11:42:54 +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
thinkasany
fba4c3d565 chore: sync master into next 2025-10-27 22:03:52 +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
github-actions[bot]
26c3b09eeb chore: auto merge branches (#55492)
chore: sync feature to master
2025-10-27 05:43:32 +00:00
afc163
6e958871c4 fix: Segmented style conflict with React DevTools 7.0 (#55438)
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-27 10:54:16 +08:00
lijianan
6cc19c10fc chore: merge feature into next 2025-10-26 18:20:12 +08:00
lijianan
ca1480c4f9 Merge branch feature into next-merge-feature 2025-10-22 20:15:30 +08:00
zancheng
2bceb47f3a style(Segmented): Support gradient background (#55391) 2025-10-22 10:00:33 +08:00
遇见同学
74d2712935 test: improve single test structure (#55383) 2025-10-20 18:48:47 +08: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
lijianan
b50e549301 refactor: logical properties (#55245)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-10 17:50: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
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
sheng zhang
1ac9e69d39 feat(segmented): Support better customization with semantic classNames/styles as function (#55119)
* feat: segmented semantic

* feat: segmented semantic demo

* feat: segmented semantic docs

* feat: segmented semantic unit test

* fix: genmini cr fix

* feat: update demo

* feat: update snapshot

* update demo and snap

* chore: update demo

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-09-30 19:28:07 +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
27d16c42c9 fix: Modify Segmented to import tooltips from antd (#55062)
* fix: Modify Segmented to import tooltips from  antd

* Update components/segmented/index.tsx

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

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-09-18 15:06:01 +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
thinkasany
43983d033e refactor: semantic of segmented (#54581) 2025-08-05 10:55:34 +08:00
afc163
46c9c93773 test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +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
thinkasany
0329f06d86 chore: bump @rc-component/select to 1.1.3 2025-07-17 12:27:48 +08:00
EmilyyyLiu
b2df7b3a06 feat[Segmented]: add tooltip to segmented option item (#54273)
* feat: add tooltip to segmented option item

* feat[segmented]: add demo, and tooltip can be configured as an object

* docs: change tooltip type

* test: update snap

* feat: change  itemRender of SegmentedProps

* feat: tooltipProps remove children

* feat: delete ?.

* feat: add if to tooltipProps

* feat: not inline return

* docs: custom

* Update components/segmented/__tests__/index.test.tsx

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

* Update components/segmented/demo/custom.tsx

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

* Update components/segmented/demo/custom.tsx

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

* docs: link tooltip api

* docs: lint tooltip us

* test: update snap

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-04 11:01:21 +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
62bca9910e chore: remove SemanticPreview 2025-05-24 09:07:54 +08:00
EmilyyyLiu
7bd89e8915 feat(Segmented): unify orientation attribute usage (#53664)
* feat[Segmented]:Unified use of orientation attribute

* test: update snapshots

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

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

* feat: change useVertical params

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

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

* Update index.zh-CN.md

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

* feat: change demo

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

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

* feat: use useOrientation get mergedVertical

* feat: get type Orientation

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-05-19 15:03:12 +08:00
thinkasany
de030bcfad chore: sync feature into next 2025-04-07 16:49:57 +08:00