thinkasany
1931606b97
chore: bump jsdom@28 ( #56835 )
...
* chore: bump jsdom@28
* Update tests/setup.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: thinkasany <480968828@qq.com >
---------
Signed-off-by: thinkasany <480968828@qq.com >
Signed-off-by: meet-student <1875694521@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-02 22:54:16 +08:00
二货爱吃白萝卜
02669912b7
test: fix ci ( #55947 )
...
* test: fix ci
* chore: simplify
2025-11-27 16:24:43 +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
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
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
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
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
二货爱吃白萝卜
6139162214
test: fix test case ( #52224 )
...
* test: fix test case
* test: ignore image diff
2025-01-03 17:38:14 +08:00
Jony J
dfc20acd0c
feat: add default name generation for RadioGroup component better a11y ( #52076 )
...
* feat: add default name generation for RadioGroup component better a11y
* feat(radio): implement useStableId hook for consistent ID generation in RadioGroup
* test: update snapshot
* chore: remove unused demo code snippet from form documentation
* test: enhance demo testing by adding ignoreAttributes option for snapshot matching
* fix(tests): correct logic for skipping tests and enhance snapshot matching for demo tests
* Revert "test: enhance demo testing by adding ignoreAttributes option for snapshot matching"
* test: mock useId for stable ID generation in snapshot tests
* chore: trigger CI build
* docs(radio): update name property description to clarify fallback behavior for RadioGroup
* Update index.zh-CN.md
Signed-off-by: Jony J <1844749591@qq.com >
---------
Signed-off-by: Jony J <1844749591@qq.com >
2024-12-23 10:55:45 +08:00
二货爱吃白萝卜
45eeee60bb
feat: Add unstable api for React 19 compitable ( #51979 )
...
* chore: add unstable entrance
* chore: rest of it
* chore: use React 19
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: fix lint
* chore: test ignore 19 preload
* chore: bump rc-util
* fix: warning of pure render
* fix: warning of 19
* chore: adjust ts
* test: fix test logic
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* chore: restore file
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: update test
* test: fix test case
* test: update snapshot
* test: fix coverage
* test: fix coverage
* test: add ignore image
2024-12-18 14:09:49 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ( #50690 )
...
Co-authored-by: afc163 <afc163@gmail.com >
2024-09-19 03:30:19 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils for compatible React-18.3.1 ( #48667 )
...
* test: rm legacy react-dom/test-utils for compatible React-18.3.0
* fix: fix
* chore: cls
* chore: update
* fix: fix
2024-04-28 09:52:54 +08:00
二货爱吃白萝卜
eff720837c
test: Update image snapshot logic ( #46529 )
...
* test: mix snapshot
* test: clean up
* test: fix order
* test: fix test logic
* test: fix reset
* test: refactor code
* test: clean fetch
* chore: lint
* test: clean up
* test: delay check
* chore: refactor fetch
* docs: update diff html
* test: add ssr support
* chore: part use ssr
* chore: update style
* chore: slice of it
* docs: fix cut
2023-12-21 10:30:08 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44 .
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com >
Co-authored-by: afc163 <afc163@gmail.com >
2023-06-07 11:54:50 +08:00