Commit Graph

25381 Commits

Author SHA1 Message Date
Leon Lin
0e520f730a
docs: update spec/lightweight (#42952) 2023-06-12 10:17:17 +08:00
kiner-tang(文辉)
e119236b94
docs: fix design documentation style (#42954)
* feat: optimize size layout

* feat: optimize site layout

* feat: optimize site layout
2023-06-12 10:03:28 +08:00
kiner-tang(文辉)
66017c9f1a
docs: fix design documentation style (#42956) 2023-06-12 10:03:10 +08:00
ZiJason
b3c13cad0b
docs: update data-format.zh-CN.md (#42951) 2023-06-11 19:35:06 +08:00
Amir M. Mohamadi
486e326a07
fix(Drawer): add max width to prevent width overflow for small screens (#42914)
* fix(Drawer): add max width to prevent width overflow for small screens

* feat(Drawer): content max width `vw` instead of percent

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

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-09 18:21:55 +08:00
kiner-tang(文辉)
fddd84c0bd
fix(site): solve drawer open delay in safari issue (#42922)
* fix: solve drawer open delay in safari issue

* feat: update comment

* feat: reset debug code

* feat: optimize code

* feat: optimize code
2023-06-09 18:20:53 +08:00
kiner-tang(文辉)
0ac59d42d8
feat: optimize select type (#42935) 2023-06-09 16:29:52 +08:00
lijianan
5c83da5f36
test: add codecov for fix CI fail (#42909)
* test: add codecov fix CI fail

* test: add test case

* test: remove test case
2023-06-09 15:44:25 +08:00
lijianan
795002bb0e
chore: fix typo (#42884)
* site: add docs Use in vite

* fix

* update

* Update docs/react/use-with-remix.zh-CN.md

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

* Update docs/react/use-with-next.zh-CN.md

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

* reanme

* update

* update

* update

* update

* chore: fix typo

* update

* update

* fix

* Update use-with-create-react-app.en-US.md

* Update use-with-create-react-app.zh-CN.md

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-08 17:20:22 +08:00
afc163
dae8cc279d
Delete pr-stat.yml (#42918) 2023-06-08 12:02:26 +08:00
Vetin
87ee19e698
type(menu): replace component interface with type #42907 (#42908)
Co-authored-by: Egor Miasniankin <egormyasnyankin@gmail.com>
2023-06-08 00:47:36 +08:00
linxianxi
f801318868
fix(Table): preserveSelectedRowKeys should work when checkStrictly is false (#42784)
* fix(Table): preserveSelectedRowKeys should work when checkStrictly is false

* fix: 修改

* fix: use Set instead of Map
2023-06-07 23:01:09 +08:00
47f30ee266
fix: transfer error when reset data in some cases (#42785)
* fix: transfer error when reset data in some cases

* fix: lint

* fix: error

* DX: improvement

* fix: code style

* fix: code style

* chore: update grammar

* chore: update

* chore: update

* refactor: keys sync logic

* chore: clean up

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-07 22:54:56 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
MadCcc
80264a7aa5 chore: disable vitest threads 2023-06-07 21:18:16 +08:00
MadCcc
1a65a9b5cf
docs: changelog 5.6.1 (#42899) 2023-06-07 18:05:01 +08:00
MadCcc
32e17ac3c6 chore: update test timeout 2023-06-07 17:33:21 +08:00
红果汁
243704330b
fix: ColorPicker presets cannot be selected (#42882)
* fix: color-picker presets not checked

* test: update test case

* fix: color-picker presets not checked

* test: update test case
2023-06-07 17:29:26 +08:00
Dunqing
b4b6b5c511
chore: update vitest related dependencies (#42892)
* chore: update `vitest` related dependencies

* chore: replace c8 with v8
2023-06-07 16:57:07 +08:00
afc163
2459d074a9
chore: fix pr-stat error (#42893) 2023-06-07 16:31:15 +08:00
renovate[bot]
84e44d16c0
chore(deps): update dependency @vitest/coverage-c8 to ^0.32.0 (#42889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 15:35:23 +08:00
kiner-tang(文辉)
a87427b0bd
docs: update docs (#42886) 2023-06-07 14:32:12 +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
kiner-tang(文辉)
fe9121ebb9
docs: update docs about getContainer (#42885) 2023-06-07 13:49:31 +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
Dunqing
5ef315ba3f
fix(collapse): the items type should be optional (#42877)
* fix(collapse): the items type should be optional

* test: add collapse panel usage
2023-06-07 10:53:40 +08:00
linxianxi
0afe8baf1e
fix(ColorPicker): should not trigger onChange when click clear after clearing (#42643) 2023-06-07 10:25:59 +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
kiner-tang(文辉)
5ff95e3fda
fix(Collapse): solve deprecated warning display unexpected in collapse issue (#42876)
* fix: solve deprecated warning display unexpected in collapse issue

* fix: solve deprecated warning display unexpected in collapse issue

* feat: update test case
2023-06-07 10:03:35 +08:00
MadCcc
d36e30384b
docs: changelog 5.6.0 (#42866)
* docs: changelog 5.6.0

* Apply suggestions from code review

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

* docs: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-06 21:49:04 +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
cdf9b4660f
refactor: menu token rename (#42848)
* refactor: menu token rename

* chore: update snapshot

* chore: UPDATE TEST CASE

* fix: fix gap as 4px

* fix: popup transform origin
2023-06-06 16:11:18 +08:00
MadCcc
da4738febf
fix: use colorTextHeading (#42839)
* fix: popconfirm title use colorTextHeading

* fix: notification and alert
2023-06-06 10:53:28 +08:00
kiner-tang(文辉)
fca21af950
refactor: solve modal circular dependency issue (#42841) 2023-06-06 09:54:14 +08:00
未觉雨声
e2eab5d813
docs: fix footer PrevAndNext icons in RTL (#42837)
* fix: footer PrevAndNext rtl

* chore: adjust

* Update useMenu.tsx

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-06-05 22:34:03 +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
红果汁
a0d8fcb23a
fix: ColorPicker UI in Dark Mode (#42827)
* fix: fix ui in dark mode

* test: add test case
2023-06-05 16:23:03 +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(文辉)
f3e9b8de2f
refactor: solve space circular dependency issue (#42811) 2023-06-05 13:29:55 +08:00
afc163
89d23faa3f
chore: Update config.yml (#42823)
* Update config.yml

* Update config.yml

* Update tsconfig.node.json

* Update tsconfig.node.json

* Apply suggestions from code review

* Update pr-stat.yml

* Update config.yml

* Apply suggestions from code review
2023-06-05 13:03:43 +08:00
ZhuoYang Wu(阿离)
7c23f844ce
docs: fix error syntax (#42824)
Co-authored-by: Ali <ali.wu@miotech.com>
2023-06-05 12:30:50 +08:00
kiner-tang(文辉)
0a05213aeb
refactor: solve statistic circular dependency issue (#42814) 2023-06-05 10:48:27 +08:00
kiner-tang(文辉)
1d24fb5679
refactor: solve modal circular dependency issue (#42808)
* refactor: solve modal circluar dependency issue

* feat: optimize code

* feat: optimize code
2023-06-05 09:57:26 +08:00
kiner-tang(文辉)
ceda8fb7c4
refactor: solve list circluar dependency issue (#42806) 2023-06-05 09:56:19 +08:00
未觉雨声
0547bc6f85
docs: fix PrevAndNext icons RTL (#42822)
* fix: footer prev-and-next rtl fix

* Update .dumi/theme/common/PrevAndNext.tsx

* Update .dumi/theme/common/PrevAndNext.tsx

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-06-05 09:46:52 +08:00