Commit Graph

1861 Commits

Author SHA1 Message Date
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
Wuxh
7087537745
docs(blog): add blog (#42022)
* docs(blog): add blog [skip ci]

* docs: update

* docs(blog): update

* docs: update

* chore: update

* Update docs/blog/github-actions-workflow.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* chore: update

* chore: update title

* docs: update

* chore: update

* chore: update date

* chore: update

* chore: update

* chore: update

* chore: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 14:29:32 +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
lijianan
9b22fd4258
site: add translate (#42879)
* site: add translate

* add
2023-06-07 11:15:32 +08:00
lijianan
3244e6491c
docs: update TypeScript version (#42875)
* docs: update TypeScript version

* Update use-in-typescript.en-US.md

* Update use-in-typescript.zh-CN.md

* Update use-in-typescript.en-US.md

* Update use-in-typescript.zh-CN.md
2023-06-07 10:04:08 +08:00
MadCcc
661befa9f7
docs: update text (#42868) 2023-06-06 20:48:48 +08:00
MadCcc
25e9f44e3f
Merge pull request #42860 from ant-design/master-merge-feature
chore: master merge feature
2023-06-06 17:37:11 +08:00
kiner-tang(文辉)
8b8efcc13b
docs: update docs (#42858) 2023-06-06 16:35:53 +08:00
MadCcc
8ebb7be7b0 Merge branch 'feature' into master-merge-feature 2023-06-06 16:31:22 +08:00
MadCcc
2710923800
docs: add instruction for component token (#42838) 2023-06-05 20:25:58 +08:00
MadCcc
596104cc68
feat: static getDesignToken (#42723)
* feat: static getDesignToken

* chore: code clean
2023-06-05 17:45:33 +08:00
JiaQi
f579e695bc
feat: migrate less to token for Radio (#42050)
* feat: migrate Radio less variables

* feat: token rename

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-05 16:16:43 +08:00
kiner-tang(文辉)
2de151da7a Merge branch 'master' into feature-merge-master 2023-06-04 11:10:56 +08:00
GUAN MING
32cca6e5a8
feat: migrate less to token for Image (#42048)
* feat: migrate less to token for Image

* docs: update migrate-less-variables.en-US.md

* docs: update migrate-less-variables.zh-CN.md

* docs: fix error

* docs: fix typo

* docs: remove Chinese in English docs

* feat: migrate less to token for Image

* docs: update migrate-less-variables.en-US.md

* docs: remove Chinese in English docs

* docs: fix typo

* docs: fix docs error

* feat: add demo

* docs: Update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* fix: remove token

* docs: Update docs/react/migrate-less-variables.en-US.md

* fix: correct token name

* fix: demo token name

* docs: update global token in docs

* docs: update

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-02 15:48:18 +08:00
GUAN MING
5c09e7a387
feat: migrate less to token for Tooltip (#42046)
* feat: less to component token for Tooltip

* refactor: rewrite several attributes

* docs: update migrate-less-variables

* feat: add demo

* docs: fix version error

* docs: Update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: Update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: Update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: Update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* fix: remove demo

* fix: recover previous version

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-02 13:46:19 +08:00
黑雨
6227806842
feat: migrate less to token for Transfer (#42431)
*  feat: migrate less to token for Transfer

*  feat: update

*  feat: update demo

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update demo

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update
2023-06-02 11:11:37 +08:00
黑雨
63d535bdda
feat: migrate less to token for Tabs (#42186)
*  feat: migrate less to token for Tabs

*  feat: update

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update

*  feat: update

* feat: tabs token

* docs: update

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-02 01:27:30 +08:00
黑雨
bfbc7c2e54
feat: Card Component Token (#42061)
*  feat: update

* feat: merge feature

* feat: merge feature

*  feat: update

*  feat: update

*  feat: update snap

* chore: revert change

* feat: card token

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-01 15:16:58 +08:00
linxianxi
f4c0ca0361
docs: remove form-page (#42756) 2023-05-31 17:58:36 +08:00
GUAN MING
bbf71f06a3
docs: fix bold font (#42744) 2023-05-31 13:42:30 +08:00
黑雨
7deff2164a
feat: Mentions componet token (#42711)
*  feat: update

*  feat: update

*  feat: update

*  feat: update
2023-05-31 10:37:40 +08:00
github-actions[bot]
a8bc13e77b
chore: auto merge branches (#42668)
chore: feature merge master
2023-05-27 03:42:37 +00:00
黑雨
326758097a
feat: migrate less to token for Avatar (#42063)
* 🔀  feat: rebase feature

*  feat: update

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: add groupSpace

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update demo

* Update components/avatar/demo/component-token.tsx

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-26 17:59:13 +08:00
黑雨
ec45536ef1
feat: Pagination token (#42330)
*  feat: Pagination Component Token

*  feat: Pagination Component Token

*  feat: update

*  feat: update

*  feat: update demo

*  feat: update style

*  feat: update

*  feat: update

*  feat: update demo

*  feat: update

*  feat: update snap
2023-05-26 17:30:08 +08:00
黑雨
a17c4cb581
feat: popover Component Token (#42337)
*  feat: popover Component Token

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: update

*  feat: update
2023-05-25 20:09:48 +08:00
Dunqing
c3364cf77e
chore: specify npm as the package manager (#42611)
* chore: specify npm as the package manager

* chore: update version

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-25 19:53:56 +08:00
github-actions[bot]
a0f5f4b344
chore: auto merge branches (#42584)
chore: feature merge master
2023-05-24 14:28:51 +00:00
afc163
9da38fd479
docs: fix design docs detail (#42568) 2023-05-24 14:27:03 +08:00
黑雨
023efaf976
feat: migrate less to token for Tag (#42053)
* 🔀  feat: rebase feature

* 🔀  feat: rebase feature

* 📝 feat: update doc

* feat: clean up

*  feat: migrate less to token for Avatar

*  feat: migrate less to token for Tag

*  feat: migrate less to token for Tag

* 🔀  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update snap

* 🔀  feat: rebase feature

* 🔀  feat: rebase feature

* 📝 feat: update doc

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update

* chore: code clean

* chore: code clean

* chore: more suiltable line-height

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-23 09:45:41 +08:00
Zack Chang
a5069624bf
feat: less to component token for List (#42041)
* feat: less variables to component token for List

* Update migrate-less-variables.en-US.md

* feat: recover less variables

* feat: add debug demo

* chore: update snapshot

* chore: rename

* chore: rename && fix ts && recover itemPaddingLG

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-22 10:20:38 +08:00
dingkang
055ce4a88c
feat: migrate less to token for Dropdown (#42258) 2023-05-22 09:45:01 +08:00
Zack Chang
1cb1a7ae58
feat: less to component token for Timeline (#42491)
* feat: css variables to token

* chore: rename token

* feat: add color token

* feat: add debug demo

* chore: update snapshot

* chore: rename demo

* chore: rename token

* chore: recover tailWidth

* chore: rename token demo filename

* chore: update snap

* fix: CN-docs

* fix: US-docs

* chore: rename demo

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
2023-05-22 09:36:14 +08:00
github-actions[bot]
6e71faa172
chore: auto merge branches (#42509)
chore: feature merge master
2023-05-20 19:30:00 +00: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
muxin
ffedddb211
feat: migrate less to token for Carousel (#42157)
* feat: rename Carousel token

* docs: add component-token demo

* fix: use dotActiveWidth instead of dotWidthActive

* fix: use deprecatedTokens option
2023-05-19 14:58:40 +08:00
Zack Chang
ccb7251384
feat: migrate less to token for Upload (#42042)
* feat: migrate less to token for Upload

* feat: recover less variables

* feat: add debug demo

* feat: rename token

* chore: update snapshot

* chore: update snap

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-19 11:11:31 +08:00
Zack Chang
3bfb7ac2a0
feat: less to component token for Typography (#42442)
* feat: less to component token for Typography

* feat: add titleFontWeight token

* feat: add debug demo

* chore: rename token

* chore: rename demo name

* chore: rename titleFontWeight

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-05-19 09:46:15 +08:00
Yuji Ueki
fe39b7a96e
docs: fix typo in migration-v5.en-US (#42481) 2023-05-19 01:31:34 +08:00
kiner-tang(文辉)
c878433e9a
feat: migrate less to token for Segmented (#42136)
* feat: migrate less to token for Segmented

* docs: update docs

* feat: add debug demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* style: reset style

* style: reset style

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-05-18 22:21:53 +08:00
dingkang
da1162ffb1
feat: migrate less to token for Checkbox (#42097)
* feat: migrate less to token for Checkbox

* feat: type enhancement

* feat:migrate less to token for Checkbox

* fix: style

* chore: code clean

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-18 22:07:15 +08:00
kiner-tang(文辉)
65d7a5b943
feat: migrate less to token for Skeleton (#42134)
* feat: migrate less to token for Message

* docs: update docs

* feat: add debug demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update snapshots

* Update docs/react/migrate-less-variables.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-18 21:18:02 +08:00
黑雨
90200684b2
feat: Breadcrumb Component Token (#42342)
*  feat: Breadcrumb Component Token

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: update dome

*  feat: update

*  feat: update

*  feat: update dome
2023-05-18 16:32:52 +08:00
muxin
07d5e5e7bb
feat: migrate less to token for Calendar (#42194)
* feat: rename calendar token

* docs: add component-token demo
2023-05-18 16:12:41 +08:00
muxin
0ea9c88048
feat: migrate less to token for Rate (#42135)
* feat: rename rate token

* docs: add component-token demo
2023-05-18 13:53:51 +08:00
Zack Chang
4efa0b64db
feat: less to component token for Descriptions (#42038)
* feat: less to component token for List

* fix: title

* feat: add debug demo

* chore: rename

* Update index.tsx

---------

Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-17 14:22:48 +08:00
hms181231
d99b1f9cef
dcos: Empty Component Token (#42359) 2023-05-17 10:07:46 +08:00
github-actions[bot]
59c9119be1
chore: auto merge branches (#42276)
chore: master merge feature
2023-05-12 15:14:26 +00:00
红果汁
bfb93b0f33
docs: add reactflow to recommended components (#42315) 2023-05-12 17:16:02 +08:00
Yan
7f405763fc
fix(document): select Chinese and then jump to English in faq page (#42299)
* fix(document): select Chinese and then jump to English in faq page

* update again

* update docs
2023-05-12 17:06:14 +08:00
二货爱吃白萝卜
e09112160b
docs: Blog to be what you see (#42281)
* docs: init

* docs: blog of see

* docs: blog of see
2023-05-11 18:47:14 +08:00