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
kiner-tang(文辉)
2de151da7a
Merge branch 'master' into feature-merge-master
2023-06-04 11:10:56 +08:00
未觉雨声
51eaf402cb
fix: Anchor ink & track should use logical inset ( #42706 )
...
* fix: Anchor ink & track should use logical inset
* chore: remove skip check
2023-05-30 10:37:17 +08:00
muxin
f11c3c3a08
feat: migrate less to token for Anchor ( #42141 )
...
* feat: rename anchor token
* docs: add component-token demo
* fix: update token
2023-05-19 18:26:31 +08:00
Dunqing
699cec0c91
docs: use uniform naming ( #42200 )
2023-05-07 17:28:33 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
Simon He
901957cf02
perf(anchor): reduce unnecessary calculations ( #42018 )
2023-04-27 15:27:55 +08:00
JiaQi
a573dde6ed
fix(Anchor): onChange method is not updated ( #41934 )
2023-04-23 19:59:29 +08:00
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info ( #41475 )
2023-03-27 15:33:22 +08:00
ZivHe
b915094498
style: fix Anchor horizontal direction style ( #41336 )
2023-03-19 23:28:34 +08:00
Amumu
ec33f75bc0
chore: code style improve ( #41335 )
2023-03-19 23:20:16 +08:00
acyza
16f0b576a7
fix(anchor): ink correct switch direction ( #41317 )
...
* fix(anchor): ink correct switch direction
* chore(anchor): fix test error
* chore(anchor): fix test error
* chore: test
* chore: test
* chore: test
* chore: update
2023-03-19 16:17:08 +08:00
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test ( #41242 )
...
* test: update snapshot
* test: use render
* test: fix skip
* test: fix skip
2023-03-15 00:08:31 +08:00
lijianan
669e58c380
refactor: use React.useContext replace ConfigConsumer ( #41184 )
...
* chore: use React.useContext replace ConfigConsumer
* fix
2023-03-14 10:54:46 +08:00
zqran
98939365dd
fix(Anchor): fix highlighting failure when dynamically updating items ( #40743 )
...
* fix(Anchor): fix highlighting failure when dynamically updating items
* fix: improve test coverage
* refactor(Anchor): use `useEvent` instead
2023-03-10 15:54:05 +08:00
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 ( #41109 )
...
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update api
* fix
* fix
* fix path
* fix path
* update snap
* update snap
* update snap
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-03-10 11:50:12 +08:00
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
...
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
...
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2023-02-09 22:17:31 +08:00
二货机器人
d2aa0f8b5d
chore: fix lint
2023-01-31 10:33:56 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
二货机器人
56f76c79ec
chore: feature merge master
2023-01-19 17:21:02 +08:00
lijianan
3892ce3c6d
chore: remove useless code ( #40303 )
2023-01-18 14:46:01 +08:00
René Wang
a2980e3d57
lint: remove useless ts-ignore
comment ( #40289 )
2023-01-18 10:07:16 +08:00
github-actions[bot]
ede5121d5f
chore: auto merge branches ( #40244 )
...
chore: feature merge master
2023-01-16 03:37:15 +00:00
lijianan
28d1157d6b
type: optimization undefined type ( #40241 )
...
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2023-01-16 09:55:52 +08:00
github-actions[bot]
2d58e1843a
chore: auto merge branches ( #40107 )
...
chore: feature merge master
2023-01-09 09:53:07 +00:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
lijianan
6660e53863
chore: remove rc-util/addEventListener ( #39923 )
...
* chore: remove rc-utils/addEventListener
* fix
* fix
2022-12-31 22:24:55 +08:00
lijianan
3ed7ec906e
chore: remove useless tsx support ( #39890 )
...
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2022-12-31 22:24:55 +08:00
lijianan
a80b39d34d
chore: remove rc-util/addEventListener ( #39923 )
...
* chore: remove rc-utils/addEventListener
* fix
* fix
2022-12-30 17:15:54 +08:00
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
...
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2022-12-29 18:33:13 +08:00
Yuki Zhang
4eff22497d
feat: Anchor horizontal ( #39372 )
...
* feat: AnchorInk
* feat: update
* feat: update ink
* test: add test
* feat: handle with nested link
* feat: improve
* fix: lint
* feat: get direction from context in AnchorLink
* docs: update demo
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update test cases
* test: update snapshot
* test: update snapshots
* test: update snapshots
* test: update test cases
* test: update test cases
* docs: update
* test: improve
* docs: update demo
* doc: update demos
* doc: update demos again
* feat: use scroll-into-view-if-needed
* fix: hide scrollbar
* docs: update demos
* fix: active transition for horizontal anchor
* chore: fix terser (#39617 )
* chore: fix terser
* chore: clean up
* test: update snapshot
* feat: improve code style
* feat: anchor ink improvement
* feat: improve code style
* fix: lint issue
* test: update snapshots
* docs: simplified the demo
* feat: Merge the AnchorInk component back into the Anchor component
* feat: Adjust DOM order
* test: update snapshots
* docs: Improve the document
* feat: simplify css classnames
* test: update snapshots
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2022-12-27 17:14:35 +08:00
lijianan
7f89d9a7c9
refactor: use React.useContext() replace <ConfigConsumer /> ( #39793 )
...
* feat: use React.useContext() replace <ConfigConsumer />
* fix
* fix
* add
2022-12-25 18:34:42 +08:00
Peach
6236e356b5
docs: update all site anchors ( #39687 )
...
* docs: update all site anchors
* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
yoyo837
0424ca14cd
Merge branch 'master' into mergeMaster
2022-12-14 17:30:07 +08:00
lijianan
1a09cfeb2f
docs: update API ( #39539 )
2022-12-13 22:18:43 +08:00
MadCcc
6e2a7e47b6
Merge branch 'master' into feature-merge-master
2022-12-13 11:36:27 +08:00
二货爱吃白萝卜
de31c90b08
docs: Adjust Anchor demo ( #39488 )
2022-12-12 19:44:32 +08:00
afc163
a87e68c797
chore: resolve conflict
2022-12-07 12:15:17 +08:00
lijianan
a59058f0b2
type: optimization ( #39305 )
2022-12-06 18:18:38 +08:00
github-actions[bot]
834f00022e
chore: auto merge branches ( #39192 )
...
chore: feature merge master
2022-12-02 08:22:43 +00:00
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
...
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2022-11-30 20:14:41 +08:00
Yuki Zhang
51da7e3dc1
feat: Anchor component changed to data-driven ( #39034 )
...
* feat: Anchor component changed to data-driven
* test: add test cases for data driven items
* fix: type
* chore: mark deprecated for anchor children prop
* docs: add items description
* test: update snapshot
* docs: demos changed to data-driven
* docs: Keep the old jsx syntax demo for debugging
2022-11-30 15:55:43 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
...
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2022-11-23 20:22:38 +08:00
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
...
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2022-11-19 16:56:23 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
afc163
ac143ffb4d
docs: fix component demo column number ( #38631 )
...
* docs: fix component demo column number
* test: skip test case
2022-11-17 18:28:13 +08:00
afc163
e027cbec1c
docs: format all markdown ( #38629 )
...
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2022-11-17 17:31:26 +08:00