Commit Graph

25389 Commits

Author SHA1 Message Date
dingkang
ad8dd24cc8
dome: optimize FloatBotton demo style (#42980)
* docs: FloatBotton open 属性说明

* test: update snapshots

* demo: add controlled demo

* demo: update demo

* feat: add warning

* feat: update warning

* demo: update controlled demo

* demo: prettify demo style

* demo: update snapshots

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-13 11:05:05 +08:00
未觉雨声
46c67ab607
docs: fix InstallDependencies logo logical margin (#42970) 2023-06-12 17:59:33 +08:00
lijianan
348d835f8a
docs: update site use-with-typescript (#42905)
* docs: update use-with-typescript

* update

* add img
2023-06-12 17:50:57 +08:00
dingkang
9459cbfaf8
add FloatBotton component open api description and demo (#42835)
* docs: FloatBotton open 属性说明

* test: update snapshots

* demo: add controlled demo

* demo: update demo

* feat: add warning

* feat: update warning

* demo: update controlled demo

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-12 17:20:55 +08:00
lijianan
b8eef9d1b2
docs: update site use-with-create-react-app (#42904)
* docs: update use-with-create-react-app

* update
2023-06-12 16:45:59 +08:00
lijianan
05b8436c05
docs: update site use-with-next (#42903)
* docs: update use-with-next

* update

* update
2023-06-12 16:42:06 +08:00
lijianan
81c26096be
docs: update site use-with-vite (#42906)
* docs: update use-with-vite

* update

* fix
2023-06-12 15:44:44 +08:00
kiner-tang(文辉)
f0a94139e7
fix(Button): button's children should be disabled when button is disabled (#42949)
* fix: button's children should be disabled when button is disabled

* feat: update test case

* feat: update test case
2023-06-12 10:22:32 +08:00
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