Commit Graph

25371 Commits

Author SHA1 Message Date
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
dependabot[bot]
ac51334a15
chore(deps-dev): bump typescript from 5.0.4 to 5.1.3 (#42794)
* chore(deps-dev): bump typescript from 5.0.4 to 5.1.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* fix

---------

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-06-05 01:39:22 +08:00
KuangPengfei
1b2313cb5e
docs: the LTR icon uses svg to better fit the dark theme (#42798)
* docs: the LTR icon uses svg to better fit the dark theme

* docs: new `DirectionIcon`
2023-06-05 00:51:16 +08:00
Amumu
b93495a5eb
Merge pull request #42819 from ant-design/feature-merge-master
chore: merge master into feature
2023-06-04 12:21:23 +08:00
kiner-tang(文辉)
d82a4036a6 fix: lint fix 2023-06-04 11:39:34 +08:00
kiner-tang(文辉)
2de151da7a Merge branch 'master' into feature-merge-master 2023-06-04 11:10:56 +08:00
lijianan
71c155f043
test: add test case (#42800) 2023-06-03 18:16:28 +08:00
kiner-tang(文辉)
26ab02f38a
docs(Tabs): update docs about tabs closable prop (#42795)
* docs: update docs about tabs closable prop

* Update components/tabs/index.zh-CN.md

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

* Update components/tabs/index.zh-CN.md

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

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-03 13:18:12 +08:00
凤之兮原
8e8433c426
fix: fix divider component innerStyle style error (#42797)
* fix: fix style transformation

* fix: fix style transformation

* fix: eslint

* feat: compatible with str writing

* fix: lint

* refactor: orientationMargin transform

* docs: update docs

* chore:add process.env.NODE_ENV displayName
2023-06-03 12:45:26 +08:00
linxianxi
036ef07013
fix(Imaga): reset transform when switch (#42793)
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-06-02 21:02:38 +08:00
Yasser Mountij
52d94888ae
chore: added more details for local example (#42792) 2023-06-02 19:41:54 +08:00