Commit Graph

28607 Commits

Author SHA1 Message Date
lijianan
3062dc6aba
Merge pull request #48328 from ant-design/merge-master-3
chore: merge master into feature
2024-04-08 15:14:49 +08:00
叶枫
6dcd6e2dc1 feat: merge master 2024-04-08 14:37:05 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
afc163
a125dfee8b
chore: add notice before publish to npm / remove progress (#48323)
* chore: add notice before publish to npm

* chore: remove progress
2024-04-07 22:45:53 +08:00
George H
14f8279aea
feat: Support iconPosition with button icon (#47791)
* feat: button support iconPosition

* fix: iconPosition compatible LoadingIcon

* docs(Button): update Button with iconPosition demo

* fix: delete debug type

* fix: iconPosition for InnerLoadingIcon with not existIcon

* chore: update button snapshots

* fix: fixed loading-icon-end style

* chore: refactor buttonContent with genButtonContent

* fix: iconPosition compatible with rtl

* docs(Button): update button with iconPosition demo

* chore: update test

* fix: iconPosition compatible with rtl

* docs(Buttob): add icon-position demo

* restore icon demo

* update snapshots

* docs: update icon button demo

* docs: update iconPosition button demo

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

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>

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

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>

* Update components/button/demo/icon-position.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

---------

Signed-off-by: George H <default_hyn@163.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-07 22:42:20 +08:00
afc163
b63a94108f
demo: fix linear gradient button demo and remove debug flag (#48320)
* demo: fix linear gradient button demo and remove debug flag

* fix active colors
2024-04-07 19:14:56 +08:00
afc163
0a18e5ba41
chore: improve publish process (#48264)
* chore: improve publish process by skipping test command (#48230)

* chore: speed up publishing

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: skip test

* fix: types

* revert demo change

* fix: script

* chore: fix duplicate parts

* chore: fix duplicate parts

* chore: fix duplicate parts

* improve code

* use latest.hash

chore: download build artifacts from remote

chore: skip build when publish

chore: improve cli log

chore: fix something

chore: fix something

chore: fix something

chore: fix something

chore: fix something

chore: fix upload-build-artifacts

chore: fix needs

chore: fix needs

* chore: check map files

* chore: check package diff before publish

* chore Please use `npm publish` instead

* chore: sort-package-json

* chore: fix needs

* chore: import download process

* fix types

* fix types

* chore: update scripts

* chore: codesandbox ci

* fix token:statistic

* fix token:statistic

* fix ci

* fix ci

* chore: codesandbox ci

* fix ci

* chore: only upload when push to master
2024-04-07 19:14:44 +08:00
lijianan
24a65de3c5
Merge pull request #48317 from ant-design/master
chore: merge master into feature
2024-04-07 17:37:40 +08:00
afc163
c5a02b2f83
docs: update info title (#48318) 2024-04-07 17:02:59 +08:00
vagusX
4f23faf0dd
scripts(visual-regression): prepare files before upload (#48316) 2024-04-07 16:26:07 +08:00
lijianan
52df99f9bf
refactor: use css token (#48311)
* refactor: use css token

* style: update
2024-04-07 15:36:38 +08:00
lijianan
2386fa69e7
refactor: use css token (#48312) 2024-04-07 15:19:16 +08:00
lijianan
47e46fabcc
test: fix master CI fail (#48313) 2024-04-07 14:23:07 +08:00
Hao Dong
eacbc75132
docs: add content to shadow.en-US.md (#48302)
Signed-off-by: Hao Dong <1476807+h-dong@users.noreply.github.com>
2024-04-07 12:54:24 +08:00
winches
392f1f1471
docs(radio): comsummate radio group options type (#48168)
* docs(radio): comsummate radio group options type

* docs: optimize
2024-04-07 10:19:59 +08:00
lijianan
251e9c9128
site: site code optimization (#48299) 2024-04-07 10:10:25 +08:00
renovate[bot]
669d6ee70e
chore(deps): update dependency eslint-plugin-jest to v28 (#48304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-07 10:01:16 +08:00
lijianan
2acb7b217a
site: use css token (#48294)
* site: use css token

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-06 16:11:17 +08:00
lijianan
bb74803437
Merge pull request #48293 from ant-design/master
chore: merge master into feature
2024-04-05 22:40:14 +08:00
lijianan
42c5a2fb21
chore: update size-limit (#48292) 2024-04-05 22:30:39 +08:00
dependabot[bot]
fbbba6fa5e
chore(deps-dev): update typescript requirement (#48291)
Updates the requirements on [typescript](https://github.com/Microsoft/TypeScript) to permit the latest version.

Updates `typescript` to 5.4.4
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.4)

---
updated-dependencies:
- dependency-name: typescript
  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-04-05 21:04:57 +08:00
二货爱吃白萝卜
bd25e9442d
docs: 5.16.1 changelog (#48288) 2024-04-05 21:02:19 +08:00
kiner-tang
80af2a65ed
docs: Added ways to use bun installation dependencies (#48289)
* docs: add bun

* docs: add bun

* docs: add bun

* docs: add bun
2024-04-05 18:27:10 +08:00
lijianan
87fe058776
site: site code optimization (#48286) 2024-04-05 15:15:10 +08:00
Cooper
db822fd74e
demo: Upload demo add margin (#48268)
* fix: Upload add demo marigin

* use Flex and update Snap

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-04-05 15:13:49 +08:00
kiner-tang
ea67f49f31
docs: optimize docs (#48284) 2024-04-05 14:02:34 +08:00
lijianan
448cb81a7c
site: simplify bug reason & adjust padding (#48277)
* site: simplify bug reason

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

Signed-off-by: kiner-tang <1127031143@qq.com>

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-04-05 11:41:30 +08:00
Eden Wang
d62d51a76c
site: move the blur to inner div (#48283) 2024-04-05 11:41:02 +08:00
kiner-tang
1d79f6d962
site: opt site style (#48282) 2024-04-05 11:10:02 +08:00
kiner-tang
7724e51068
docs: opt docs about tabs (#48280) 2024-04-05 11:04:03 +08:00
kiner-tang
acfeb94f50
docs: Refine documentation on onClose event object types (#48279) 2024-04-05 11:03:38 +08:00
dependabot[bot]
f427c87587
chore(deps): bump the dependencies group with 1 update (#48269)
Updates the requirements on [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) to permit the latest version.

Updates `@babel/runtime` to 7.24.4
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.4/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:production
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 22:45:05 +08:00
dependabot[bot]
156d4f9fef
chore(deps-dev): bump the dev-dependencies group with 5 updates (#48270)
---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/tar"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: tsx
  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-04-04 22:44:38 +08:00
kiner-tang
378dce71ad
docs: component log display bug versions (#48267)
* site: component changelog display bug versions

* site: component changelog display bug versions

* site: component changelog display bug versions

* site: component changelog display bug versions
2024-04-04 20:10:00 +08:00
Cooper
9cea438930
docs: Translate the untranslated Chinese in an English document (#48266) 2024-04-04 17:33:58 +08:00
afc163
add81b3e65
Revert "chore: improve publish process by skipping test command (#48230)" (#48263)
This reverts commit dd17e3bac2.
2024-04-04 14:17:15 +08:00
kiner-tang
c29ccdb2f3
chore: update contributors.json (#48262) 2024-04-04 14:01:51 +08:00
kiner-tang
13798d6b9e
chore: ignore bun.lockb (#48260) 2024-04-04 13:31:43 +08:00
lijianan
34a7faa082
Merge pull request #48256 from ant-design/master
chore: merge master into feature
2024-04-04 10:37:15 +08:00
afc163
c0d2282db4
chore: update mocky.io to mockapi.io (#48252) 2024-04-03 23:37:22 +08:00
dependabot[bot]
621b9c87bd
chore(deps-dev): bump the dev-dependencies group with 5 updates (#48253)
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  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: dumi
  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-04-03 20:09:27 +08:00
dependabot[bot]
0b8afca15b
chore(deps): update rc-table requirement from ~7.45.3 to ~7.45.4 (#48254)
Updates the requirements on [rc-table](https://github.com/react-component/table) to permit the latest version.
- [Release notes](https://github.com/react-component/table/releases)
- [Changelog](https://github.com/react-component/table/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/table/compare/v7.45.3...v7.45.4)

---
updated-dependencies:
- dependency-name: rc-table
  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-04-03 20:08:20 +08:00
daisy
c152c58116
docs: update table faq (#48245) 2024-04-03 18:11:00 +08:00
二货爱吃白萝卜
9680481546
feat: Mix style framework support (#48229)
* chore: add layer mark

* docs: enable @layer for test

* docs: add doc of third part lib

* docs: update order

* Update docs/react/compatible-style.zh-CN.md

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

* Update docs/react/compatible-style.en-US.md

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

* docs: ssr or reset case

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-03 17:12:02 +08:00
二货爱吃白萝卜
27855e2a76
docs: update faq (#48239) 2024-04-03 12:41:36 +08:00
afc163
dd17e3bac2
chore: improve publish process by skipping test command (#48230)
* chore: speed up publishing

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: skip test

* fix: types

* revert demo change

* fix: script

* chore: fix duplicate parts

* chore: fix duplicate parts

* chore: fix duplicate parts

* improve code

* use latest.hash
2024-04-02 20:44:30 +08:00
dependabot[bot]
d22aa8b36e
chore(deps-dev): bump the dev-dependencies group with 4 updates (#48232)
Updates the requirements on [@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), [puppeteer](https://github.com/puppeteer/puppeteer) and [terser](https://github.com/terser/terser) to permit the latest version.

Updates `@typescript-eslint/eslint-plugin` to 7.5.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/v7.5.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` to 7.5.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/v7.5.0/packages/parser)

Updates `puppeteer` to 22.6.2
- [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.6.1...puppeteer-v22.6.2)

Updates `terser` to 5.30.1
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.30.0...v5.30.1)

---
updated-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: 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-04-02 20:43:33 +08:00
dependabot[bot]
98580315ca
chore(deps): update rc-table requirement from ~7.45.2 to ~7.45.3 (#48233)
Updates the requirements on [rc-table](https://github.com/react-component/table) to permit the latest version.
- [Release notes](https://github.com/react-component/table/releases)
- [Changelog](https://github.com/react-component/table/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/table/compare/v7.45.2...v7.45.3)

---
updated-dependencies:
- dependency-name: rc-table
  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-04-02 20:43:01 +08:00
afc163
88d40e2750
demo: fix Input demo icon color (#48207) 2024-04-02 17:46:39 +08:00
vagusX
f59779161c
scripts: download artifact to tmp folder (#48228) 2024-04-02 17:02:44 +08:00