Commit Graph

408 Commits

Author SHA1 Message Date
github-actions[bot]
f3a4b6c429
chore: auto merge branches (#44915)
chore: merge master into feature
2023-09-17 16:08:27 +00:00
lijianan
a0699ea1a0
type: fix .dumi type error (#44916) 2023-09-17 23:32:14 +08:00
kiner-tang(文辉)
4717b5c649 Merge branch 'master' into feature-merge-master 2023-09-16 11:11:47 +08:00
lijianan
1e0c3b8c58
🔥feat: new component Flex (#44362)
* feat: new component Flex

* feat: new component Flex

* fix: fix

* test: add test case

* fix: fix

* update size-limit

* test: update snap

* fix: fix

* test: update snap

* chore: add use client

* fix: lint

* test: update snap

* fix

* docs: add docs

* fix: fix demo

* clear

* demo: update demo

* update demos

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: update snap

* fix: fix

* fix: fix

* demo: update demo

* feat: CP

* fix: use token

* fix: fix

* fix: fix test case

* test: update snap

* Update components/flex/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/flex/demo/align.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* demo: update demo

* fix: fix

* docs

* update cover

* fix: fix

* test: update case

* fix: rerun CI

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* demo: update demo

* fix: fix lint

* fix: fix

* fix: fix

* fix: fix

* fix:  fix

* fix: fix test case

* fix: fix

* docs: update docs

* fix: fix

* chore: fix

* chore: fix

* docs: update docs

* docs: update

* fix: fix demo

* type: update type

* add debug demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 栗嘉男 <mac@macdeMacBook-Pro.local>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-14 17:04:05 +08:00
MadCcc
afcdc3fbe2
chore: try to fix screenshot (#44817)
* chore: try to fix screenshot

* chore: set small viewport

* chore: rm wait until

* chore: minimize demo

* chore: support onlyViewPort

* chore: better logic

* chore: config demos

* chore: update

* refactor: rename

* chore: update

* chore: update

* chore: update
2023-09-14 16:59:11 +08:00
MadCcc
0cb23a8004
chore: try to fix pupppeteer screenshot (#44760) 2023-09-11 15:38:35 +08:00
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode (#44608)
* feat: remove the hardcode of `use client`

* chore: update `@ant-design/tools`

* test: update

* fix: incorrect dictionary

* chore: update dep

* ci: check use client

* chore: update ci

* fix: should be LIB_DIR

* ci: should only run in dist

* chore: update check tsx files
2023-09-04 19:27:20 +08:00
afc163
54316f719c
test: disable timeout for puppeteer waitForSelector (#44611) 2023-09-04 17:58:51 +08:00
MadCcc
ddfe37a14e
docs: bump theme-editor (#44171)
* chore: fix plugin antd import

* chore: code clean

* chore: fix image test

* chore: fix image test
2023-08-11 19:37:53 +08:00
二货爱吃白萝卜
700cb6af8a
docs: simplify with regex of component log (#43995) 2023-08-03 16:30:55 +08:00
二货爱吃白萝卜
28051ebe91
docs: Component page support history log (#43974)
* chore: init

* chore: update logic

* chore: update logic

* docs: update doc

* docs: fix all

* docs: fix all

* chore: add public path

* chore: write file

* docs: en

* docs: all

* chore: adjust

* feat: changelog

* docs: fix changelog

* chore: update script

* chore: fix lint

* chore: fix lint

* docs: update doc check logic

* docs: update changelog

* docs: update changelog

* test: update test case

* test: update test case

* test: update snapshot
2023-08-03 10:58:38 +08:00
MadCcc
7829ff9f2c
chore: make puppeteer screenshot wait (#43978)
* chore: make puppeteer screenshot wait

* chore: use waitForSelector

* chore: update
2023-08-03 10:39:16 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message (#43947)
* test: init of test

* test: update snapshot

* test: update snapshot

* chore: adjust size limit

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update snapshot

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
MadCcc
cbf2703b02
docs: performance enhance (#43705)
* docs: performance enhance

* chore: update snapshot
2023-07-21 17:14:54 +08:00
二货爱吃白萝卜
e78b8f6f27
chore: bump cssinjs (#43691)
* chore: bump cssinjs

* chore: bump cssinjs

* chore: default light & motion

* test: snapshot ignore motion

* chore: clean up

* chore: bump cssinjs version

* chore: adjust log

* chore: adjust log
2023-07-21 14:53:35 +08:00
lijianan
f438c133ff
type: React.forwardRef type optimization (#43610)
* type: React.forwardRef type optimization

* fix

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint
2023-07-18 12:18:51 +08:00
二货爱吃白萝卜
5bf08faeea
refactor: rename qrcode to qr-code (#43607)
* refactor: rename qrcode to qr-code

* test: patch test case

* chore: fix Form missing displayName

* chore: patch displayName

* chore: style path

* chore: fix compile
2023-07-17 23:43:32 +08:00
Fly me to the moon
a998569adb
test: optimization type in test case (#43449)
* test: optimization type in test case

* fix lint

---------

Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-08 15:45:28 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
MadCcc
32e17ac3c6 chore: update test timeout 2023-06-07 17:33: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
MadCcc
f09e9cb0c9
refactor: Menu migrate to @rc-component/trigger (#42554)
* refactor: Menu migrate to @rc-component/trigger

* chore: remove rc-trigger

* chore: bump version

* chore: bump version

* chore: update size limit

* chore: update snapshot
2023-05-26 11:04:02 +08:00
MadCcc
a8bc0ef593
chore: use one screenshot per demo with different themes (#42537)
* chore: use one screenshot per component

* chore: skip

* chore: update screenshot batch

* chore: update padding
2023-05-23 17:10:19 +08:00
红果汁
b95d5674fa
feat: new component ColorPicker (#41990)
* feat: color picker

* chore: improve component logic

* test: update snapshots

* test: update snapshots

* fix: remove unuse code

* fix: adjusting the UI

* fix: hairy edge in dark mode

* fix: demo case

* chore: rollback file

* fix: improve code logic

* perf: improve code

* test: add test case

* refactor: trigger use Popover instead

* test: add test case

* refactor: improve code logic

* test: update snapshots

* refactor: improve code

* docs: add overview img

* feat: style

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: update snapshot

* feat: color block

* chore: pure render

* refactor: hex input number reduced to 6 digits

* fix: rename React to react

* refactor:  trigger demo

* docs: remove disabled demo

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-12 14:43:48 +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
dependabot[bot]
5b23a6aac2
chore(deps-dev): bump glob from 9.3.5 to 10.0.0 (#41737)
* chore(deps-dev): bump glob from 9.3.5 to 10.0.0

Bumps [glob](https://github.com/isaacs/node-glob) from 9.3.5 to 10.0.0.
- [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/v9.3.5...v10.0.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: upgrade glob usage

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-04-12 11:40:09 +08:00
Yuki Zhang
0495be222c
fix: styling issues with the Popover component within the Space.Compa… (#41707)
* fix: styling issues with the Popover component within the Space.Compact wrapper

* fix: styling issues with the Tooltip based  component within the Space.Compact wrapper

* test: update snapshots

* test: update snapshots

* refactor: memoOverlay

* test: update snapshot

* Revert "test: update snapshot"

This reverts commit 85d8142498f752172f610674040df098e5e7432e.

* test: adjust check logic

* test: add test case for popover content

* test: update tooltip case

* fix: test coverage

* fix: lint

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-04-11 22:26:21 +08:00
二货爱吃白萝卜
b1c42a3292
test: Diff of React 17 & 18 (#41739)
* test: prepare for 17 & 18 diff

* test: prepare for 17 & 18 diff

* test: update snapshot

* test: fix arr check

* test: update snapshot

* test: update snapshot
2023-04-11 11:47:38 +08:00
黑雨
f53618ddaa
fix: compatible windows path (#41574)
* bug: compatible windows path

* bug: compatible windows path

* Message
2023-03-31 19:03:03 +08:00
MadCcc
12d85256a7
chore: update dark image test (#41252) 2023-03-15 15:02:19 +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
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
栗嘉男
cd9ad445ea chore: merge master into feature 2023-02-23 15:05:18 +08:00
lijianan
be25ee2a0b
test: simplify rtlTest test case (#40878) 2023-02-22 19:49:06 +08:00
github-actions[bot]
da441ae35f
chore: auto merge branches (#40808)
chore: feature merge master
2023-02-20 03:18:59 +00:00
lijianan
33275b6e80
demo: fixed the avatars are all the same picture (#40809)
* demo: update demo

* update snap

* update snap

* update snap
2023-02-20 10:24:40 +08:00
二货爱吃白萝卜
5dfce54437
ci: use node 16 (#40800)
* chore: use node 16

* chore: all lock ver

* chore: size-limit

* chore: mv clean up logic into master
2023-02-19 13:56:20 +08:00
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift (#40632)
* chore: adjust doc

* chore: simplify arrow offset

* chore: auto adjust shift

* docs: adjust demo

* chore: update snapshot

* chore: provide ref

* test: prepare

* chore: update deps

* test: fix part test

* test: fix part test

* test: fix part test

* test: fix part test

* test: fix part test

* test: update snapshot

* fix: missing pure render

* fix: Popover pure panel

* test: update snapshot

* test: update tour snapshot

* chore: bump trigger ver

* test: fix render ssr logic

* test: skip unnecessary case

* test: fix test case

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: fix test case

* chore: clean up useless warning

* test: add check for placement

* chore: ignore default
2023-02-15 10:21:28 +08:00
MadCcc
8e5c31413a Merge branch 'master' into feature-merge-master 2023-02-06 10:56:07 +08:00
lijianan
0a75cfe9e2
refactoring: use React.createRef replace ref function (#40538)
* style: use React.createRef replace ref function

* style: use React.createRef replace ref function

* add useRef

* fix

* rename
2023-02-05 10:51:51 +08:00
二货机器人
b02b7aeadb chore: merge master 2023-01-31 10:21:17 +08:00
lijianan
758a28c93e
test: remove useless branch (#40367) 2023-01-29 12:30:46 +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
MadCcc
40944a1c02
perf: only one parent selector in style (#40325)
* chore: add parent selector

* chore: update lint script

* chore: code clean

* perf: style

* chore: remove demo test cssinjs

* fix: input group
2023-01-20 10:31:27 +08:00
二货爱吃白萝卜
cc1870d8bd
chore: add linter of not selector (#40264)
* chore: add linter of not selector

* chore: update tree style

* fix: DatePicker

* fix: compact

* fix: compact vertical

* perf: style

* fix: vertical compact

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-17 17:51:59 +08: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
MadCcc
7b06b662d1
chore: add cssinjs linter (#40001) 2023-01-04 17:55:23 +08:00
MadCcc
2fc3ceeaaa
test: add algorithm image test (#39673)
* test: add algorithm image test

* chore: add reset.css
2022-12-21 10:38:34 +08:00