Commit Graph

27804 Commits

Author SHA1 Message Date
章鱼怪
ada0f698cb
fix(Segmented): content is obscured when hover and active (#46925) 2024-01-11 18:33:07 +08:00
二货爱吃白萝卜
81d933bc19
docs: blog of type util (#46926)
* docs: blog of type util

* Update docs/blog/type-util.zh-CN.md

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

* Update docs/blog/type-util.zh-CN.md

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

* chore: fix docs

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-11 17:34:08 +08:00
lijianan
9647b5b768
Merge pull request #46927 from ant-design/master-merge-feature
chore: merge master into feature
2024-01-11 16:53:11 +08:00
lijianan
943072704c
Merge branch master into master-merge-feature 2024-01-11 16:14:48 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util (#46923)
* docs: init

* chore: all types

* docs: faq

* chore: fix lint
2024-01-11 15:55:58 +08:00
lijianan
1b2362a425
type: rm useless type (#46920)
* type: rm useless type"

* update size-limit
2024-01-11 15:11:55 +08:00
lijianan
213723a2e8
Merge pull request #46922 from ant-design/master-merge-feature
chore: merge master into feature
2024-01-11 15:10:38 +08:00
栗嘉男
b241f68a33 chore: merge master into feature 2024-01-11 14:43:16 +08:00
MadCcc
c35e0982cb
fix: Button padding token should follow contentFontSize (#46901) 2024-01-11 11:18:21 +08:00
afc163
1139316ae2
fix: fix Checkbox font-size in Form (#46904) 2024-01-10 18:18:05 +08:00
MadCcc
2cff1fce48
fix: InputNumber should respect padding token (#46878)
* fix: inputnumber padding token

* chore: update

* chore: clean

* chore: update
2024-01-10 11:57:58 +08:00
MadCcc
6fadbc8e05
fix: dropdown submenu (#46888)
* fix: dropdown submenu

* chore: add visual diff
2024-01-10 11:57:38 +08:00
Peach
32052bf5d8
docs: update live demo logic with dumi 2.3 beta (#46805)
* docs: update live demo api with dumi 2.3 beta

* docs: lint fix

* refactor: update naming of demo source

* feat: optimize souce code editor style

* chore: update dumi version

* chore: restore dumi overrides

* ci: setup before lint only for ci

* chore: trigger ci re-run

* chore: bump dumi version

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-09 22:51:55 +08:00
Jason Feng
f726e61d95
fix: type comment ThemeConfig cssVar.prefix antd to ant (#46882) 2024-01-09 21:02:14 +08:00
dependabot[bot]
489c5d1ca9
chore(deps-dev): bump the dev-dependencies group with 5 updates (#46885)
Updates the requirements on [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome), [@testing-library/dom](https://github.com/testing-library/dom-testing-library), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [chalk](https://github.com/chalk/chalk) to permit the latest version.

Updates `@biomejs/biome` to 1.5.0
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.5.0/packages/@biomejs/biome)

Updates `@testing-library/dom` to 9.3.4
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.3.3...v9.3.4)

Updates `@typescript-eslint/eslint-plugin` to 6.18.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` to 6.18.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.1/packages/parser)

Updates `chalk` to 4.1.2
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.0...v4.1.2)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@testing-library/dom"
  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: chalk
  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-01-09 20:56:02 +08:00
叶枫
bea39b1db5
feat: Input support inputFontSize token (#46875)
* feat: Input support contentFontSize contentLineHeight token

* feat: rename inputFontSize
2024-01-09 15:18:44 +08:00
84b006cd6c
fix(radio): improve title attribute display (#46809)
* fix(radio): improve title attribute display

* chore: update demo

方便快照测试

* chore: update snap

* test: add unit test
2024-01-09 14:14:26 +08:00
lijianan
640abc82ce
chore: remove useless file (#46871) 2024-01-09 10:22:16 +08:00
afc163
f2b89da945
refactor: Drawer styles properties (#46858)
* refactor: Drawer styles props

* chore: add type test case

* chore: update snapshot

* test: add style jest snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add deprecated warning

* fix: scroll area of drawer

* chore: fix demo style

* chore: update snapshot

* chore: update snapshot

* refactor: remove unused style code

* test: fix test case

* test: fix Drawer PurePanel image diff

* test: fix Drawer PurePanel image diff

* chore: fix demo
2024-01-09 10:20:40 +08:00
afc163
dd9a69944e
docs: move ecosystem links (#46856)
* docs: move ecosystem links

* docs: update docs

* chore: remove Move reference'
2024-01-08 14:28:37 +08:00
舜岳
3a04ea1c5e
fix: document homepage style optimization (#46855) 2024-01-08 13:33:06 +08:00
dependabot[bot]
95f3a2b212
chore(deps-dev): bump the dev-dependencies group with 6 updates (#46853)
* chore(deps-dev): bump the dev-dependencies group with 6 updates

Updates the requirements on [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser), [chalk](https://github.com/chalk/chalk) and [open](https://github.com/sindresorhus/open) to permit the latest version.

Updates `@types/node` to 20.10.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` to 18.2.47
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@typescript-eslint/eslint-plugin` to 6.18.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` to 6.18.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.0/packages/parser)

Updates `chalk` from 4.1.2 to 5.3.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.2...v5.3.0)

Updates `open` to 10.0.3
- [Release notes](https://github.com/sindresorhus/open/releases)
- [Commits](https://github.com/sindresorhus/open/compare/v10.0.2...v10.0.3)

---
updated-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: "@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: chalk
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: open
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-08 13:32:25 +08:00
dependabot[bot]
21c4ddc167
chore(deps-dev): update typedoc requirement from ^0.25.6 to ^0.25.7 (#46854)
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.6...v0.25.7)

---
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-01-08 13:31:47 +08:00
afc163
d35b2f04cd
chore: Update dependabot.yml (#46850)
Signed-off-by: afc163 <afc163@gmail.com>
2024-01-08 12:30:03 +08:00
lijianan
473199db61
type: type enhancement (#46847)
* test: TEST

* type: update type
2024-01-08 11:05:03 +08:00
lijianan
1ff5805cca
Revert "feat(InputNumber): support classNames props (#46842)" (#46849)
This reverts commit 8a078c9714.
2024-01-08 10:37:10 +08:00
lijianan
928eaf411a
Merge pull request #46830 from ant-design/master
chore: merge master into feature
2024-01-07 23:18:42 +08:00
云泥
8a078c9714
feat(InputNumber): support classNames props (#46842)
* fix(InputNumber): lose style when pass classNames props #46841

fix: some classNames item were not take effect

docs: update docs

style: update

chore: update

test: update case

docs: update version

* docs: update Semantic DOM

* docs: update components/input-number/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 云泥 <1656081615@qq.com>

* docs: format

* test: add case

---------

Signed-off-by: 云泥 <1656081615@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-07 22:34:03 +08:00
renovate[bot]
5c7725e1ce
chore(deps): update dependency puppeteer to v21.7.0 (#46844)
* chore(deps): update dependency puppeteer to v21.7.0

* Update package.json

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-07 12:46:33 +08:00
lijianan
65b7ff3eb9
Revert "chore(deps-dev): bump the dev-dependencies group with 1 updates" (#46839)
* Revert "chore(deps-dev): bump the dev-dependencies group with 1 updates (#46827)"

This reverts commit 825dc90889.

* Update package.json

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-01-06 23:20:22 +08:00
lijianan
0ea3da719d
site: replace site page <Space /> with <Flex /> (#46834) 2024-01-06 18:05:25 +08:00
dependabot[bot]
825dc90889
chore(deps-dev): bump the dev-dependencies group with 1 updates (#46827)
* chore(deps-dev): bump the dev-dependencies group with 2 updates

Updates the requirements on [chalk](https://github.com/chalk/chalk) and [puppeteer](https://github.com/puppeteer/puppeteer) to permit the latest version.

Updates `chalk` from 4.1.2 to 5.3.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.2...v5.3.0)

Updates `puppeteer` to 21.7.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-v21.6.1...puppeteer-v21.7.0)

---
updated-dependencies:
- dependency-name: chalk
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-06 02:06:45 +08:00
kelvine
e18b55a0da
docs: correction on Third Part(Y) grammar (#46831)
I added grammar corrections to fix the "third party" spelling

Signed-off-by: kelvine <kchawora@yahoo.com>
2024-01-05 23:00:32 +08:00
Shunze Chen
54e75516c0
docs: delete useless logic (#46833) 2024-01-05 22:59:06 +08:00
舜岳
a72ea642b2
fix: document homepage style optimization (#46818)
* fix: document homepage style optimization

* fix: use the wrap property of Space
2024-01-05 17:49:04 +08:00
Amumu
30c60b58fd
chore: extract deprecated versions to json file (#46746)
* chore: extracting depreciated version to json file

* chore: add to compile

* chore:  rename

* chore: add 3.x deprecated

* chore: move dir

* chore: revert commit

* chore: update copy logic

* chore: update

* chore: update

---------

Co-authored-by: wuxh <wxh1220@gmail.com>
2024-01-05 15:41:07 +08:00
afc163
9180bd4cf9
docs(): release 5.12.8 (#46814)
* docs(): release 5.12.8

* docs(): release 5.12.8
2024-01-05 15:34:55 +08:00
二货爱吃白萝卜
8f6f8de9b3
fix: Popconfirm text missing (#46812) 2024-01-05 15:29:18 +08:00
afc163
15324982ab
fix: Upload.Dragger not align center (#46810)
close #46795
2024-01-05 14:22:45 +08:00
lijianan
ca39a4b1ee
refactor: refactor indicator props (#46786)
* refactor: refactor indicator props

* Update components/tabs/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: update

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: add test case

* docs: update docs

* Update components/config-provider/index.en-US.md

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/config-provider/index.zh-CN.md

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tabs/index.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tabs/index.tsx

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

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

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

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

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

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

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-05 10:56:11 +08:00
MadCcc
9ece76b269
docs: use dumi alert (#46793)
* docs: use dumi alert

* chore: code clean
2024-01-05 10:12:22 +08:00
MadCcc
5ee391f191
refactor: Line Progress use pseudo (#46789)
* refactor: Line Progress use pseudo

* chore: code clean

* chore: update snapshot
2024-01-05 10:11:37 +08:00
lijianan
635220b62d
Merge pull request #46808 from ant-design/master
chore: merge master into feature
2024-01-05 01:16:21 +08:00
dependabot[bot]
4304e7718c
chore(deps-dev): bump the dev-dependencies group with 3 updates (#46801)
* chore(deps-dev): bump the dev-dependencies group with 4 updates

Updates the requirements on [@codesandbox/sandpack-react](https://github.com/codesandbox/sandpack), [@testing-library/jest-dom](https://github.com/testing-library/jest-dom), [chalk](https://github.com/chalk/chalk) and [lunar-typescript](https://github.com/6tail/lunar-typescript) to permit the latest version.

Updates `@codesandbox/sandpack-react` to 2.11.0
- [Release notes](https://github.com/codesandbox/sandpack/releases)
- [Changelog](https://github.com/codesandbox/sandpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codesandbox/sandpack/compare/v2.10.0...v2.11.0)

Updates `@testing-library/jest-dom` to 6.2.0
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.6...v6.2.0)

Updates `chalk` from 4.1.2 to 5.3.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.2...v5.3.0)

Updates `lunar-typescript` to 1.7.0
- [Release notes](https://github.com/6tail/lunar-typescript/releases)
- [Commits](https://github.com/6tail/lunar-typescript/compare/v1.6.13...v1.7.0)

---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: chalk
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: lunar-typescript
  dependency-type: direct:development
  dependency-group: dev-dependencies
...

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

* Update package.json

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-05 00:31:19 +08:00
Peach
a2996cc888
docs: lock dumi alpha (#46806)
Signed-off-by: Peach <scdzwyxst@gmail.com>
2024-01-04 21:33:54 +08:00
二货爱吃白萝卜
1d8f4235cb
Merge pull request #46798 from ant-design/master
chore: feature merge master
2024-01-04 20:44:01 +08:00
afc163
7fdb8941a1
docs: Update compatible-style.zh-CN.md (#46790)
Signed-off-by: afc163 <afc163@gmail.com>
2024-01-04 15:42:18 +08:00
afc163
f1954384dc
docs: tweak changelog drawer width in small screen (#46791) 2024-01-04 15:42:11 +08:00
Shunze Chen
aae661b176
docs: supplement form preserve field description (#46788)
close https://github.com/ant-design/ant-design/issues/46773
2024-01-04 13:50:45 +08:00
lijianan
5b97bcccfe
test: update Tour snap (#46787) 2024-01-04 13:39:55 +08:00