Commit Graph

508 Commits

Author SHA1 Message Date
afc163
2f6548209d test: fix test case skip logic (#56701)
* test: fix test case skip logic

* fix

* fix

* test: add snapshot tests for splitter and table demos

* test: remove skip options from splitter tests

* test: add snapshot for size-mix demo in splitter component
2026-01-23 13:02:04 +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
Amumu
cd267f0a3e refactor: replace rc-virtual-list with @rc-component/virtual-list (#56036)
Co-authored-by: afc163 <afc163@gmail.com>
2025-12-03 16:03:05 +08:00
lijianan
35ddedad6d test: update test case type (#55989) 2025-11-30 09:10:43 +08:00
二货爱吃白萝卜
02669912b7 test: fix ci (#55947)
* test: fix ci

* chore: simplify
2025-11-27 16:24:43 +08:00
二货爱吃白萝卜
b296ccb192 chore: warning tips (#55745)
* chore: warning tips

* test: update snapshot

* chore: warning for verson
2025-11-18 15:05:06 +08:00
lijianan
c89c797300 test: add Deprecated keywords (#55684)
* test: add Deprecated

* Update tests/shared/demoTest.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-11 23:05:11 +08:00
lijianan
706c010671 chore: reset deprecated BackTop (#55668)
* chore: reset deprecated BackTop

* chore: adjust import

* chore: update deps

* update

* update

* update

* update

* update snap

* update

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-11 11:21:39 +08:00
thinkasany
fd61690c0a chore: sync feature into next 2025-10-24 21:33:11 +08:00
lijianan
f187eeafb3 test: update any type with React.ReactElement (#55410) 2025-10-23 08:09:15 +08:00
lijianan
01c0321b17 chore: remove unstable api for React 19 compitable (#55274)
* chore: remove unstable api for React 19 compitable

* update

* update

* update

* update antd-token-previewer

* update

* update

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-13 23:14:52 +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
Amumu
bf654affcb chore: move rc-util to @rc-components/util (#55048) 2025-09-17 20:45:57 +08:00
github-actions[bot]
326ac230fb chore: auto merge branches (#55019)
chore: merge feature into next
2025-09-14 11:31:46 +00:00
lijianan
6e72e7bfbe test: add removeAllListeners for imageTest (#55015)
* test: add try/catch for visual diff

* Update tests/shared/imageTest.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

* update

* 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-09-14 18:08:55 +08:00
lijianan
21e88f1f05 refactor: use Node.ELEMENT_NODE replace number (#52163)
* refactor: use Node.ELEMENT_NODE replace number

* fix: fix

* fix: fix

* fix: fix

* Update setup.ts

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

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-09-14 18:02:44 +08:00
lijianan
5e684e8e47 refactor optimization imageTest (#55014)
* test

* refactor imageTest

* update
2025-09-14 16:22:35 +08:00
lijianan
f4d5f0a384 Merge branch feature into next-merge-feature 2025-09-12 23:49:18 +08:00
二货爱吃白萝卜
c88004aca9 fix: Splitter min & max not working for init limit (#54939)
* chore: add debug demo

* fix: size logic

* chore: adjust empty check logic

* chore: tmp of init

* chore: clean up

* chore: add quick avg

* chore: adjust logic

* fix: isFinite logic

* Update components/splitter/SplitBar.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* Update components/splitter/SplitBar.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* test: coverage

* test: fix test

* chore: fix ts

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-09-12 11:25:31 +08:00
thinkasany
84215ec509 chore: sync feature into next 2025-09-03 21:40:42 +08:00
𝑾𝒖𝒙𝒉
78e015b313 fix: Table issues by upgrade rc-table to 7.52.5 (#54824)
Co-authored-by: afc163 <afc163@gmail.com>
2025-09-03 20:37:38 +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
5e7f63fb30 chore: fix biome error (#54682)
* chore: fix biome error

* fix

* fix again

* revert
2025-08-14 22:52:15 +08:00
thinkasany
a0bfadec78 chore: sync feature into next 2025-08-07 10:28:26 +08:00
afc163
46c9c93773 test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +08:00
thinkasany
75f59afe18 chore(biome): Execute Formatting (#54438) 2025-07-22 10:26:24 +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
thinkasany
34e157162b chore: sync feature into next 2025-06-06 21:25:48 +08:00
Wanpan
afbec0297a fix: motion configuration does not work properly (#53902)
* fix: motion configuration does not work properly

* fix: update

* feat: add MotionCacheContext

* feat: updata

* feat: update

* feat: update

* feat: update

* chore: not re-mount

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-06-06 17:01:36 +08:00
二货爱吃白萝卜
8db39e34a7 feat: ConfigProvider support classNames and styles for Steps (#53789)
* basic flex

* chore: style basic

* chore: status style

* chore: small size

* chore: label vertical

* chore: more style

* chore: hover disabled

* chore: variant

* chore: dot variant

* chore: max width

* chore: hover dot

* chore: update style

* chore: click style

* chore: init percent

* chore: pass detail

* chore: for progress

* chore: clean up

* chore: clean up

* chore: multiple css var

* chore: status text

* chore: status use var

* chore: fix nest

* chore: use svg

* chore: type of panel

* chore: offset support

* chore: inline offset

* chore: warning of steps

* docs: add semantic preview

* chore: semantic transition

* chore: hover

* chore: adjust style

* chore: update semantic preview

* chore: fix nav style

* chore: patch panel motion

* chore: update semantic preview

* docs: update config provider doc

* chore: fix part ts def

* chore: fix test ts

* test: update test case

* test: coverage

* chore: fix lint

* test: update test case

* test: update snapshot

* chore: adjust style

* chore: fix rtl

* docs: update design

* chore: update sctructure

* chore: update comment

* chore: clean up

* chore: clean up

* chore: cursor style

* chore: coverage

* docs: add missing part

* chore: order

* test: add test case

* chore: fix ts

* chore: clean up
2025-05-13 20:36:54 +08:00
二货爱吃白萝卜
116a2c09bd test: fix image test (#53817) 2025-05-13 17:41:40 +08:00
MadCcc
c7cf4d12a8 Merge branch 'feature' into master-merge-feature 2025-05-06 16:35:41 +08:00
afc163
111c28254f test: fix ️ Missing image: select-basic.mobile.css-var.png (#53731) 2025-05-06 13:50:32 +08:00
thinkasany
e8faa120c9 fix: resolved imageTest conflict 2025-04-28 10:57:58 +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
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
二货爱吃白萝卜
07a561f3dc fix: Timer ssr (#53543)
* fix: Timer ssr

* test: update snapshot

* fix: mount logic

* test: update snapshot

* test: image test update
2025-04-17 22:39:55 +08:00
thinkasany
4fbd71a4f0 chore: sync feature into next 2025-03-24 12:18:34 +08:00
lijianan
b340b3ad0d refactor: optimization compatible logic (#53107)
* refactor: optimization compatible logic

* test: fix test case

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-03-24 10:24:12 +08:00
lijianan
8be1967f7b Revert "refactor: update deprecated api addListener => addEventListener (…" (#53106)
This reverts commit 4c1a552469.
2025-03-10 11:17:18 +08:00
lijianan
4c1a552469 refactor: update deprecated api addListener => addEventListener (#53099)
* refactor: update deprecated api

* refactor: update deprecated api

* refactor: update deprecated api
2025-03-09 21:35:07 +08:00
Oyster Lee
3fa9a51c48 feat: [v6] new component Masonry (#52162)
* feat(masonry): new component

* refactor(masonry): housekeeping

* refactor(masonry): update props and use transform

* refactor(masonry): update calculation logic

* refactor(masonry): rename file and add keepAspectRatio props

* refactor(masonry): rename file

* refactor(masonry): rename file

* refactor(masonry): rename file

* chore(masonry): update docs

* refactor(masonry): change to transform style

* feat(masonry): update demo and test

* chore(masonry): escape brackets

* test(masonry): update snapshots

* fix(masonry): handle rtl

* chore(masonry): update snapshots

* refactor(masonry): remove redundant condition

* refactor(masonry): update dependencies

* refactor(masonry): use token in transition

* refactor: add scope

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Oyster Lee <oysterd3@gmail.com>

* chore: tmp moving

* chore: abstract hooks

* chore: back of sequential

* chore: refactor type

* chore: split logic

* chore: tmp of it

* feat: support sort

* chore: support sort logic

* chore: clean up

* test: simplify test case

* test: fix test case

* chore: fix lint

* docs: update docs

* chore: update limit

* test: update snapshot

* test: fix test case

* test: update snapshot

* chore: support fresh

* test: coverage

* chore: ssr render nothing

* test: update snapshot

* docs: update docs

* docs: add SemanticPreview

* chore: adjust calc logic

* docs: add more info

* test: add test case

* docs: fix lint

* test: update snapshot

* test: update snapshot

* Update components/masonry/Masonry.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* chore: rename

* chore: fix lint

---------

Signed-off-by: Oyster Lee <oysterd3@gmail.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-03-05 17:15:14 +08:00
thinkasany
02e8e22442 test: fix demo and update snap (#53031)
* test: fix demo and update snap

* lock nwsapi

* bump

* test fix

* fix

* test

* fix

* chore: re-trigger

* chore: re-trigger

* chore: only for jsdom

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-03-05 11:43:35 +08:00
MadCcc
4c769f1302 chore: fix image diff on next branch (#52993)
* chore: some change

* chore: rm css-var visual regression
2025-02-27 21:55:54 +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
0c5557d1c2 refactor: [v6] use rc-component/resize-observer (#52578)
* refactor: [v6] use rc-component/resize-observer

* chore: mock of ResizeObserver

* test: update snap

* fix: fix

* chore: update dep

* test: back of snapshot

* fix: fix

* chore: update deps

* chore: update

* chore: update @rc-component/motion

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-02-18 16:01:16 +08:00
thinkasany
bd2e46996d chore: sync feature into next 2025-02-10 21:17:12 +08:00