高艳兵
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
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
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
thinkasany
7ba2c5d698
fix: add progress missing memo deps ( #55554 )
2025-11-01 13:39:02 +08:00
lijianan
6fc67a0fdd
Merge branch feature into next-merge-feature
2025-10-31 16:18:08 +08:00
lijianan
d33d8cf959
test: simplify style test case again ( #55539 )
...
* test: simplify test case
* update
* update
* update
* test: simplify style test case
* update
* update
* update
* update
* test: simplify style test case again
* update
* update
* update color to rgb
2025-10-31 15:19:47 +08:00
lijianan
352f6c6c78
test: simplify style test case ( #55538 )
...
* test: simplify test case
* update
* update
* update
* test: simplify style test case
* update
* update
* update
* update
2025-10-31 12:46:16 +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
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
二货爱吃白萝卜
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
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
lijianan
701fe7154e
feat(Progress): Support better customization with semantic classNames & styles ( #55058 )
...
* feat(Progress): Support better customization with semantic classNames/styles
* update test case
* add test
* add test
* fix props
* test: update case
* test: update case
* update
* update
* docs: adjust demo
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-09-22 10:48:54 +08:00
thinkasany
98e306102f
chore(biome): code style format
2025-09-21 14:16:58 +08:00
thinkasany
20634fcbf7
chore: sync feature into next
2025-09-21 13:57:19 +08:00
lijianan
cb0dd956ba
chore: add namespace for Number api ( #55107 )
...
* chore: add namespace for Number api
* fix
* fix
* Update biome.json
Co-authored-by: thinkasany <480968828@qq.com >
Signed-off-by: lijianan <574980606@qq.com >
---------
Signed-off-by: lijianan <574980606@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
2025-09-21 12:27:02 +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
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
lijianan
5eb1971450
site: type definition improvement ( #54476 )
...
* chore: unlock @rc-component/trigger version
* test: update snap
* test: update demo
* update snap
* update demo
* update code
---------
Signed-off-by: lijianan <574980606@qq.com >
2025-07-30 10:13:26 +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
56858e4893
feat[Progress]: Semantic Placement Naming Standardization ( #54329 )
...
* feat[Progress]: Semantic Placement Naming Standardization
* docs: change demo
* test: update snap
* feat: change gapPos
* test: change demo and update snap
* test: change demo
---------
Co-authored-by: 刘欢 <lh01217311@antgroup.com >
2025-07-10 17:41:24 +08:00
thinkasany
07d90abcab
chore: sync feature into next
2025-07-03 11:06:10 +08:00
lijianan
84ce358d10
site: add BehaviorPattern for en page ( #54254 )
...
* site: add BehaviorPattern for en page
* site: add BehaviorPattern for en page
* fix: fix
2025-07-02 10:52:54 +08:00
thinkasany
62bca9910e
chore: remove SemanticPreview
2025-05-24 09:07:54 +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
二货爱吃白萝卜
9ba92353cf
feat: ConfigProvider support classNames and styles for Progress ( #53535 )
...
* chore: init demo
* chore: circle
* docs: update
* test: update test case
* test: coverage
* docs: update docs
* docs: deprecated trailColor
* chore: bump rail
* chore: misc
* chore: fix style
* chore: move pos
* chore: refactor structrue
* test: fix test case
* test: update snapshot
* test: fix test case
* chore: rm style
* test: update snapshot
* test: update snapshot
* chore: fix steps style
2025-04-17 19:59:48 +08:00
thinkasany
de030bcfad
chore: sync feature into next
2025-04-07 16:49:57 +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
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
thinkasany
185258f2b7
chore: sync master into next
2025-02-15 10:52:14 +08:00
lijianan
d32d8d669f
type: fix Progress rounding type definition ( #52803 )
...
Co-authored-by: afc163 <afc163@gmail.com >
2025-02-14 18:34:52 +08:00
lijianan
a5e7c4e849
refactor: use Array.from() instead new Array() ( #52792 )
...
* refactor: use Array.from() instead new Array()
* chore: fix
* chore: fix
2025-02-14 10:16:15 +08:00
thinkasany
b6662ef19f
chore: sync master into next
2025-02-13 16:35:02 +08:00
lijianan
069dba8abd
type: React.CSSProperties shoule support CSS var ( #52721 )
...
* type: React.CSSProperties shoule support CSS var
* fix: fix
* fix: fix
* fix: fix
* fix: fix
2025-02-13 15:25:21 +08:00
thinkasany
f5f0cb6aa4
chore: sync feature into next
2025-01-28 14:16:27 +08:00
github-actions[bot]
0a2a19f349
chore: auto merge branches ( #52609 )
...
chore: sync master into feature
2025-01-28 06:10:58 +00:00
Jony J
5bccf7713a
test: add a11y test for all components demo ( #51372 )
...
* test: add a11y test
* test: add a11y test
* test: add a11y test
* test: add a11y test
* test: add a11y test
* test: add a11y test
* test: add a11y test
* test: add a11y test
* test: add a11y test
* test: add a11y test
* fix: test case
* test: add a11y test
* chore: code comment adjust
2025-01-27 23:49:40 +08:00
二货机器人
67b6b26529
chore: merge feature
2025-01-26 17:22:53 +08:00
Guo Yunhe
d98b0c0210
feat(Button): deprecate Button.Group, prefer Space.Compact ( #52572 )
...
* feat(Button): deprecate Button.Group, prefer Space.Compact
* test: update snap
---------
Signed-off-by: afc163 <afc163@gmail.com >
Co-authored-by: afc163 <afc163@gmail.com >
Co-authored-by: thinkasany <480968828@qq.com >
2025-01-26 13:51:40 +08:00
Đào Văn Hùng
3307fb8b0a
feat: Progress/Step supports round/floor/ceil for the current step calculate logic ( #52017 )
...
* Support round/floor/ceil for the current step calculate logic
Always `round` is not really good.
In my case, I really want step current to be 2 when percent is 34% with 3 steps.
Signed-off-by: Đào Văn Hùng <memsenpai3@gmail.com >
* Update Steps.tsx
Signed-off-by: Đào Văn Hùng <memsenpai3@gmail.com >
* Update docs and props
* refactor(Steps): rename stepRound to rounding and update type to function
* fix(Steps): update rounding prop type to specify argument type
* fix(Steps): update rounding prop type to specify parameter name
* docs(Progress): add rounding function description to props table
* fix(Steps): update rounding prop to use custom default function and document default value
* fix(Progress): update rounding prop type to specify parameter name in documentation
* fix(Steps): remove extra comma in default rounding prop assignment
* Update components/progress/index.en-US.md
Signed-off-by: lijianan <574980606@qq.com >
* Update components/progress/index.zh-CN.md
Signed-off-by: lijianan <574980606@qq.com >
---------
Signed-off-by: Đào Văn Hùng <memsenpai3@gmail.com >
Signed-off-by: lijianan <574980606@qq.com >
Co-authored-by: lijianan <574980606@qq.com >
2025-01-26 12:52:54 +08:00