Commit Graph

574 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
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
0767e87b86 Merge branch master into master-merge-feature 2025-12-03 05:12:43 +08:00
aojunhao123
aab7fbf40c docs: remove autoFocus property from various components doc to common-props doc (#56012)
* docs: remove autoFocus property from various components doc to common-props doc

* chore: update docs

* chore: update docs
2025-12-02 15:33:52 +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
37966dbdf0 test: update test case (#55557)
* test: update test case

* Update components/alert/__tests__/semantic.test.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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-01 17:00:26 +08:00
遇见同学
2399d5d684 demo(checkbox): improve styles for classNames/styles (#55553)
* demo(checkbox): css @layer style

* chore: update snap

* chore: update code
2025-11-01 13:54:21 +08:00
thinkasany
f335d06125 demo(checkbox): improve styles for classNames/styles (#55549)
* demo(checkbox): improve styles for classNames/styles

* chore: update demo

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-11-01 11:58:00 +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
6cafebd87c chore: rename file name (#55485)
* TEST

* update

* update
2025-10-27 11:22:11 +08:00
lijianan
3d46fd2088 chore: revert file name (#55483)
* Revert "chore: rename isValidNode to isNonNullable (#55482)"

This reverts commit d99dd02b5b.

* update

* update

* update

* update

* update

* dangerous !!! rename !!!

* revert rename
2025-10-26 22:39:46 +08:00
lijianan
6cc19c10fc chore: merge feature into next 2025-10-26 18:20:12 +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
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
二货爱吃白萝卜
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
thinkasany
47deda9789 chore: Unified variable naming style (#55162) 2025-09-27 22:53:30 +08:00
遇见同学
7bf1c1db0a feat(checkbox_radio): Support better customization with semantic classNames/styles as function (#55056)
* feat(checkbox_radio): Support better customization with semantic classNames/styles as function

* update demo and snap
2025-09-25 15:00:24 +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
EmilyyyLiu
ded4c3a01e chore[Checkbox]: migrate to @rc-component namespace and update dependencies (#55045)
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-09-17 15:53:56 +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
二货爱吃白萝卜
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
c88741924f chore: sync feature into next 2025-05-31 22:39:48 +08:00
doandevhere
8b48eba21a style(Checkbox): avoid !important syntax in styles (#53953)
Co-authored-by: doandevhere <tranduongdoann03122001@gmail.com>
2025-05-30 19:07:28 +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
62bca9910e chore: remove SemanticPreview 2025-05-24 09:07:54 +08:00
Jianan Li
f88e6782b2 chore: merge feature into next 2025-05-07 12:24:39 +08:00
MadCcc
c7cf4d12a8 Merge branch 'feature' into master-merge-feature 2025-05-06 16:35:41 +08:00
thinkasany
6250afb281 chore: sync master into feature 2025-05-06 14:42:27 +08:00
lijianan
f64e575c1d fix: fix extra span element when children is null (#53723) 2025-05-06 10:21:04 +08:00
Rin
7b23caa92d chore: code style optimization (#53721) 2025-05-05 00:01:10 +08:00
thinkasany
de030bcfad chore: sync feature into next 2025-04-07 16:49:57 +08:00
lijianan
d034ac7583 chore: merge master into feature 2025-04-03 14:52:00 +08:00
afc163
3ef3434052 docs: add anchor for when-to-use section (#53318)
* docs: add anchor for when-to-use section

* Delete scripts/update-docs.js

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2025-04-03 10:45:36 +08:00
lijianan
284fce4871 site: add componentName for SemanticPreview (#53362)
* site: add componentName for SemanticPreview

* site: add componentName for SemanticPreview

* chore: fix
2025-04-01 07:50:38 +08:00
thinkasany
d0ac78b677 test: update snap 2025-02-24 20:40:46 +08:00
thinkasany
9ee4d220ef chore: sync feature into next 2025-02-24 20:34:17 +08:00
MadCcc
1ac0bcaa60 feat: use cssVar by default (#52671)
* feat: use cssVar by default

* chore: update deps

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: test

* chore: update

* chore: update scripts

* chore: UPDATE TEST

* feat: add root

* chore: update snapshot

* chore: fix test case

* chore: fix cycle deps

* feat: rm legacy css variables configuration

* chore: update test case

* chore: update

* chore: fix test

* chore: update overrides

* chore: bump cssinjs

* chore: add test case
2025-02-24 15:35:29 +08:00
lijianan
e123ec16e5 feat: Radio.Group & Checkbox.Group Option support className (#52917) 2025-02-24 13:41:19 +08:00
github-actions[bot]
b078ee2c88 chore: auto merge branches (#52906)
chore: merge master into next
2025-02-20 19:17:13 +00:00