Commit Graph

27441 Commits

Author SHA1 Message Date
lijianan
9c1e63dc8d
test: rm useless async (#47628) 2024-02-28 15:28:25 +08:00
kiner-tang
15216614ed
feat: Drawer support aria in closable (#47543)
* feat: drawer support aria in closable prop

* 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
2024-02-28 14:11:15 +08:00
lijianan
52255ba84b
Merge pull request #47625 from ant-design/master-merge-feature
chore: merge master into feature
2024-02-28 14:10:05 +08:00
栗嘉男
a466d3fc8d chore: merge master into feature 2024-02-28 13:29:43 +08:00
二货爱吃白萝卜
823acd2892
docs: v4 ended (#47613)
* docs: v4 ended

* docs: update datetime

* docs: fix typo

* Update docs/blog/v4-ood.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* docs: update datetime

* Update docs/blog/v4-ood.zh-CN.md

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* Update docs/blog/v4-ood.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-02-28 13:20:11 +08:00
lijianan
5276de61f7
type: optimization CP props type (#47621) 2024-02-28 11:53:01 +08:00
lijianan
271daafa39
feat: CP support Input.TextArea allowClear、autoComplete、className、classNames、style、styles (#47589)
* feat: CP support Input allowClear

* feat: CP support Input allowClear

* fix: fix

* fix: fix

* revert

* revert

* Update Input.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update getAllowClear.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update getAllowClear.tsx

Signed-off-by: lijianan <574980606@qq.com>

* test: add test case

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-28 09:54:48 +08:00
MadCcc
fd1e08c94b
chore: add @babel/runtime into dependencies (#47587) 2024-02-28 09:53:56 +08:00
dependabot[bot]
2ed4e01298
chore(deps-dev): bump the dev-dependencies group with 3 updates (#47614)
---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 22:24:27 +08:00
dependabot[bot]
170af6508d
chore(deps): update rc-picker requirement from ~4.1.4 to ~4.1.5 (#47615)
Updates the requirements on [rc-picker](https://github.com/react-component/picker) to permit the latest version.
- [Release notes](https://github.com/react-component/picker/releases)
- [Changelog](https://github.com/react-component/picker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/picker/compare/v4.1.4...v4.1.5)

---
updated-dependencies:
- dependency-name: rc-picker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 21:33:55 +08:00
二货爱吃白萝卜
01f923effe
fix: Compatible with v4 logic (#47612) 2024-02-27 19:11:46 +08:00
二货爱吃白萝卜
72ee4517f0
refactor: Use native css for measure css line ellipsis (#47597)
* chore: init

* chore: ellpsis check with native css

* docs: all the lines

* chore: move copied btn out

* chore: add dpes

* fix: logic order

* fix: ellipsis event

* test: update testcase

* chore: use native way

* chore: destructure

* chore: fix lint

* chore: fix lint

* chore: fix lint
2024-02-27 16:56:24 +08:00
lijianan
6c0d3e46c4
feat: CP support Input allowClear (#47602) 2024-02-27 10:25:35 +08:00
Yawen Xiao
c06dc8e960
type: styles should be optional for cardProps (#47601)
Co-authored-by: yawen.xiao <yawen.xiao@192.168.0.107>
2024-02-27 00:08:38 +08:00
dependabot[bot]
9c72ee3235
chore(deps-dev): update typedoc requirement from ^0.25.8 to ^0.25.9 (#47599)
Updates the requirements on [typedoc](https://github.com/TypeStrong/TypeDoc) to permit the latest version.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.8...v0.25.9)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 21:07:39 +08:00
dependabot[bot]
04bcb22999
chore(deps-dev): bump the dev-dependencies group with 6 updates (#47598)
---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/semver"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: open
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: terser
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 21:07:20 +08:00
Rickvian Aldi
8eff174cc5
docs: Fix non-working code example in breadcrumb browserHistory (#47581)
* docs: Fix non-working code example in breadcrumb browserHistory

* Update components/breadcrumb/index.en-US.md

use string interpolation

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>

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

use string interpolation

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>

---------

Signed-off-by: Rickvian Aldi <rickvianaldi@gmail.com>
Co-authored-by: Rickvian Aldi <rickvian.aldi@ninjavan.co>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-02-26 10:20:42 +08:00
lijianan
b28b0d883f
feat: CP support Menu expandIcon (#47561)
* feat: CP support Menu expandIcon

* fix: test case fix

* fix: test case fix

* fix: fix

* fix: fix

* chore: rename

* type: add type

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-26 09:55:08 +08:00
afc163
f6dec5ab76
site: fix banner text shift in home page (#47580) 2024-02-25 21:11:04 +08:00
Cooper
2c029eacad
docs: update Nextjs docs (#47579)
* docs: update Nextjs docs

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-02-25 11:45:22 +08:00
Maxim Kolesnikov
19888a0962
docs: fix auto complete docs not found content type (#47577)
* Update index.en-US.md

Corrected type for notFoundContent in the documentation in auto-complete index.en-US.md

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>

* Update index.en-US.md

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>

* Update components/auto-complete/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: Maxim Kolesnikov <mxklsn@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-02-24 23:45:20 +08:00
lijianan
f46af9366b
Merge pull request #47575 from ant-design/master-merge-feature
chore: merge master into feature
2024-02-24 17:14:59 +08:00
栗嘉男
cb789d9d14 chore: merge master into feature 2024-02-24 15:51:51 +08:00
lijianan
9836a74086
chore: rm unnecessary export (#47568) 2024-02-24 14:50:03 +08:00
winches
0a83d5b34b
docs: fix dark mode refresh miss dark attr (#47558)
* docs: fix dark mode refresh miss dark attr

* docs: fix dark mode refresh miss dark attr
2024-02-24 14:49:26 +08:00
SuperYY
1b696510e5
bug fix : expand all leaf nodes in root level (#47567)
* fix table's scrollbar background color in dark mode

* docs : fix "fille" with "filled"

* expand all leaf nodes in root level

* Add type annotation

* code style format

* [CodeFactor] Apply fixes to commit 116efaf

[ci skip] [skip ci]

* simplify the code and add the corresponding testing module

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2024-02-24 12:42:21 +08:00
daisy
7d782ad642
docs: update virutal table blog (#47556) 2024-02-24 11:10:18 +08:00
kiner-tang
ded28368a4
chore: bump rc-table (#47518) 2024-02-24 11:03:58 +08:00
github-actions[bot]
2913547258
chore: auto merge branches (#47562)
chore: merge master into feature
2024-02-24 03:02:05 +00:00
Pob Ch
d3111c0be5
docs: fix typo in customize-theme.en-US.md (#47572)
Signed-off-by: Pob Ch <590650@gmail.com>
2024-02-24 10:23:04 +08:00
dependabot[bot]
cebe217604
chore(deps-dev): bump the dev-dependencies group with 4 updates (#47566)
---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: terser
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 20:21:35 +08:00
Peach
53b01060c9
docs: changelog for 5.14.2 (#47557)
* docs: changelog for 5.14.2

* chore: bump version to 5.14.2
2024-02-23 15:01:51 +08:00
二货爱吃白萝卜
08d432fa41
fix: RangePicker time column sometime not scroll (#47542)
* fix: style fixing of time scroll

* chore: bump rc-picker
2024-02-23 11:32:04 +08:00
lijianan
dccdb377b0
demo: demo update (#47551)
* demo: update demo code

* fix: fix
2024-02-23 11:01:56 +08:00
dependabot[bot]
31b421d739
chore(deps): update rc-picker requirement from ~4.1.3 to ~4.1.4 (#47545)
Updates the requirements on [rc-picker](https://github.com/react-component/picker) to permit the latest version.
- [Release notes](https://github.com/react-component/picker/releases)
- [Changelog](https://github.com/react-component/picker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/picker/compare/v4.1.3...v4.1.4)

---
updated-dependencies:
- dependency-name: rc-picker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 23:12:58 +08:00
dependabot[bot]
6c3be1c38b
chore(deps-dev): bump the dev-dependencies group with 2 updates (#47544)
Updates the requirements on [puppeteer](https://github.com/puppeteer/puppeteer) and [react-intersection-observer](https://github.com/thebuilder/react-intersection-observer) to permit the latest version.

Updates `puppeteer` to 22.2.0
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.1.0...puppeteer-v22.2.0)

Updates `react-intersection-observer` to 9.8.1
- [Release notes](https://github.com/thebuilder/react-intersection-observer/releases)
- [Commits](https://github.com/thebuilder/react-intersection-observer/compare/v9.8.0...v9.8.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: react-intersection-observer
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 23:12:27 +08:00
二货爱吃白萝卜
d41e253f56
docs: re-order open link (#47540) 2024-02-22 15:40:14 +08:00
zhw
b3e6650088
fix: datePicker document (#47537) 2024-02-22 14:03:29 +08:00
dependabot[bot]
d8b66fec1d
chore(deps): update rc-picker requirement from ~4.1.2 to ~4.1.3 (#47529)
Updates the requirements on [rc-picker](https://github.com/react-component/picker) to permit the latest version.
- [Release notes](https://github.com/react-component/picker/releases)
- [Changelog](https://github.com/react-component/picker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/picker/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: rc-picker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 21:57:14 +08:00
susuhhhhhh
8cf629f126
demo: replace abandoned APIs with new ones (#47519)
* fix:废弃 api 替换成新 api

* Update demo-extend.test.ts.snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-02-21 19:37:40 +08:00
Amumu
6c824b7dbf
Merge pull request #47521 from ant-design/master
chore: merge master into feature
2024-02-21 15:54:37 +08:00
MadCcc
6033c69e60
fix: modal mask should block pointer events when opened (#47508)
* fix: modal mask should block pointer events when opened

* chore: code clean
2024-02-21 09:58:46 +08:00
lijianan
2bb7e9edda
fix: rm Tag useless style (#47504) 2024-02-21 09:58:07 +08:00
MadCcc
dd3e1b2a2e
chore: fix snapshots upload (#47509) 2024-02-21 09:43:23 +08:00
dependabot[bot]
dd26acc6d0
chore(deps): update rc-picker requirement from ~4.1.1 to ~4.1.2 (#47506)
Updates the requirements on [rc-picker](https://github.com/react-component/picker) to permit the latest version.
- [Release notes](https://github.com/react-component/picker/releases)
- [Changelog](https://github.com/react-component/picker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/picker/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: rc-picker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 20:50:28 +08:00
dependabot[bot]
b04daf23dd
chore(deps-dev): bump the dev-dependencies group with 6 updates (#47503)
---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: inquirer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: terser
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: webpack
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 20:49:56 +08:00
dependabot[bot]
f369af1016
chore(deps): update rc-util requirement from ^5.38.1 to ^5.38.2 (#47505)
Updates the requirements on [rc-util](https://github.com/react-component/util) to permit the latest version.
- [Release notes](https://github.com/react-component/util/releases)
- [Changelog](https://github.com/react-component/util/blob/master/HISTORY.md)
- [Commits](https://github.com/react-component/util/compare/v5.38.1...v5.38.2)

---
updated-dependencies:
- dependency-name: rc-util
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 20:49:33 +08:00
daisy
f7877d0982
docs: code hide button sticky (#47497) 2024-02-20 19:44:22 +08:00
afc163
fc1fb17ee7
fix: add destroyTooltipOnHide to Avatar.Group (#47478) 2024-02-20 18:07:07 +08:00
lijianan
e939962c55
demo: update Progress demo (#47494) 2024-02-20 15:02:22 +08:00