Commit Graph

28846 Commits

Author SHA1 Message Date
thinkasany
b6b96d2d1d
demo(ConfigProvider): replace 'popupPlacement' and 'TabPane' (#48797) 2024-05-07 12:18:24 +08:00
lijianan
01264592a7
site: rm gitee-pages enter (#48792) 2024-05-07 07:29:30 +08:00
lijianan
ddf70283ed
site: update site type { children: React.ReactNode } => React.PropsWithChildren (#48770)
* site: update site type React.ReactNode => React.PropsWithChildren

* fix: fix

* fix: fix
2024-05-06 15:28:52 +08:00
thinkasany
06d78e663b
ci(zip builds): skip fork branch (#48783) 2024-05-06 14:50:34 +08:00
lijianan
8b1f79c1f5
demo: update demo type { children: React.ReactNode } => React.PropsWithChildren (#48771)
* demo: update demo type React.ReactNode => React.PropsWithChildren

* fix: fix
2024-05-06 12:04:27 +08:00
lijianan
313d534f2b
type: rm any (#48765) 2024-05-05 17:44:53 +08:00
github-actions[bot]
0528d9ce42
chore: upgrade deps (#48766)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-05-05 02:14:31 +08:00
希亚的西红柿
c54b9cd892
feat: get image info in the render function of Image component. (#48729)
* feat: add imgInfo for render function

* fix: remove useless code

* fix: revert demo

* chore: bump rc-image verison from 7.6.0 to 7.7.0

* test: update snapshot

* fix: update snapshot

* docs: update version

* docs: update
2024-05-04 18:04:15 +08:00
afc163
419316e066
chore: Update size-limit.yml (#48764)
* chore: Update size-limit.yml

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

* Update size-limit.yml

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-05-04 18:00:14 +08:00
afc163
83f329eb24
docs: Update preview-build.yml (#48763)
https://github.com/ant-design/ant-design/pull/33045/

Signed-off-by: afc163 <afc163@gmail.com>
2024-05-04 14:49:31 +08:00
dependabot[bot]
6a53ed7ad0
chore(deps-dev): bump eslint-plugin-markdown (#48761)
Bumps the dev-dependencies group with 1 update in the / directory: [eslint-plugin-markdown](https://github.com/eslint/eslint-plugin-markdown).


Updates `eslint-plugin-markdown` from 4.0.1 to 5.0.0
- [Release notes](https://github.com/eslint/eslint-plugin-markdown/releases)
- [Changelog](https://github.com/eslint/eslint-plugin-markdown/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint-plugin-markdown/compare/v4.0.1...v5.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-markdown
  dependency-type: direct:development
  update-type: version-update:semver-major
  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-05-03 22:44:47 +08:00
lijianan
8ef0a514bc
site: update site scroll-bar style (#48755)
* site: update site scroll-bar style

* site: update site scroll-bar style
2024-05-03 13:52:04 +08:00
afc163
4424dec28f
site: turn off @layer to fix styling lost (#48754) 2024-05-03 11:32:47 +08:00
github-actions[bot]
d2e85498e5
chore: auto merge branches (#48746)
chore: merge master into feature
2024-05-02 17:28:36 +00:00
lijianan
eb205575a1
docs: update release Date (#48745) 2024-05-03 00:56:50 +08:00
lijianan
13c5801ac1
type: replace any with HTTPRequest (#48737)
* chore: code optimization

* fix: fix

* fix: fix

* fix: fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-05-02 23:40:02 +08:00
lijianan
aa0a90fdd5
docs: update docs (#48744) 2024-05-02 23:19:23 +08:00
afc163
05f9362891
docs(:): release 5.17.0 (#48743)
* docs(): release 5.17.0

* Update CHANGELOG.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: afc163 <afc163@gmail.com>

* Apply suggestions from code review

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

* Update CHANGELOG.zh-CN.md

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

* Update CHANGELOG.zh-CN.md

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

* Apply suggestions from code review

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

* docs: fix changelog format

* docs: fix changelog format

* docs: fix changelog format

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2024-05-02 22:56:09 +08:00
afc163
ab9edc3698
chore: refactor Typography code (#48738)
* chore: refactor Typography code

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-05-02 22:12:53 +08:00
afc163
15982625b5
fix: Typography editable focus trigger on mount unexpectedly (#48741) 2024-05-02 20:03:43 +08:00
lijianan
2f304d1e27
Merge pull request #48735 from ant-design/feature
chore: merge feature to master
2024-05-02 17:23:37 +08:00
afc163
15c7e68149
fix: DatePicker flickering issue when closing panel (#48734) 2024-05-02 17:20:35 +08:00
afc163
88f363aa8e
docs: Update dependabot.yml (#48722)
ignore dayjs updates

Signed-off-by: afc163 <afc163@gmail.com>
2024-05-02 12:18:32 +08:00
lijianan
7b30c801cf
test: add test case (#48724) 2024-05-02 12:17:27 +08:00
dependabot[bot]
cd87b4f59b
chore(deps-dev): bump the dev-dependencies group with 3 updates (#48728)
* chore(deps-dev): bump the dev-dependencies group with 3 updates

Updates the requirements on [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome), [eslint](https://github.com/eslint/eslint), [remark-cli](https://github.com/remarkjs/remark) and [tsx](https://github.com/privatenumber/tsx) to permit the latest version.

Updates `@biomejs/biome` to 1.7.2
- [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.7.2/packages/@biomejs/biome)

Updates `eslint` from 8.57.0 to 9.1.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.1.1)

Updates `remark-cli` to 12.0.1
- [Release notes](https://github.com/remarkjs/remark/releases)
- [Changelog](https://github.com/remarkjs/remark/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/remark/compare/remark-cli@12.0.0...remark-cli@12.0.1)

Updates `tsx` to 4.8.2
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.7.3...v4.8.2)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: remark-cli
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: tsx
  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-05-01 21:00:57 +08:00
github-actions[bot]
0129115efb
chore: auto merge branches (#48725)
chore: merge master into feature
2024-05-01 09:08:39 +00:00
栗嘉男
20f183cf6f chore: merge master into feature 2024-05-01 16:33:46 +08:00
lijianan
2e9abf0097
Revert "chore(deps): bump the dependencies group with 1 updates" (#48719)
* Revert "chore(deps): bump the dependencies group with 2 updates (#48716)"

This reverts commit 8a75f60ce2.

* Update package.json

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-05-01 11:44:34 +08:00
replygirl
4e9af18e76
fix: consume wrapper classNames in drawer (#48721)
Signed-off-by: replygirl <moon@moon.fyi>
2024-05-01 11:33:29 +08:00
afc163
97b7180616
chore: fix package.json (#48720)
Signed-off-by: afc163 <afc163@gmail.com>
2024-05-01 11:31:58 +08:00
Wanpan
68497323d5
docs: InputNumber add changeOnWheel FAQ (#48714)
* docs: InputNumber add changeOnWheel FAQ

* Update components/input-number/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Wanpan <wanpan96@163.com>

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-01 11:30:01 +08:00
dependabot[bot]
af465eb0b1
chore(deps-dev): bump the dev-dependencies group with 5 updates (#48717)
* chore(deps-dev): bump the dev-dependencies group with 5 updates

Updates the requirements on [@babel/eslint-plugin](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-plugin), [@npmcli/run-script](https://github.com/npm/run-script), [@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), [eslint](https://github.com/eslint/eslint) and [terser](https://github.com/terser/terser) to permit the latest version.

Updates `@babel/eslint-plugin` to 7.24.5
- [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.5/eslint/babel-eslint-plugin)

Updates `@npmcli/run-script` to 8.1.0
- [Release notes](https://github.com/npm/run-script/releases)
- [Changelog](https://github.com/npm/run-script/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/run-script/compare/v8.0.0...v8.1.0)

Updates `@typescript-eslint/eslint-plugin` to 7.8.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.8.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` to 7.8.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.8.0/packages/parser)

Updates `eslint` from 8.57.0 to 9.1.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.1.1)

Updates `terser` to 5.31.0
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.30.4...v5.31.0)

---
updated-dependencies:
- dependency-name: "@babel/eslint-plugin"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@npmcli/run-script"
  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: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: terser
  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>

* 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-04-30 23:17:41 +08:00
lyy
7d27bedd9b
docs: add more JSDoc (#48712)
* docs: add more JSDoc

* docs: add more JSDoc
2024-04-30 21:30:58 +08:00
dependabot[bot]
8a75f60ce2
chore(deps): bump the dependencies group with 2 updates (#48716)
Updates the requirements on [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) and [dayjs](https://github.com/iamkun/dayjs) to permit the latest version.

Updates `@babel/runtime` to 7.24.5
- [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.5/packages/babel-runtime)

Updates `dayjs` to 1.11.11
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/iamkun/dayjs/compare/v1.11.10...v1.11.11)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: dayjs
  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-30 21:10:00 +08:00
dependabot[bot]
fd90c1b1cf
chore(deps): update rc-table requirement from ~7.45.4 to ~7.45.5 (#48718)
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.4...v7.45.5)

---
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-30 21:08:08 +08:00
thinkasany
3fa9d45dd5
feat: qrcode canvas supports style configuration (#48194)
* feat: qrcode canvas supports style configuration

* Update components/qr-code/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: thinkasany <480968828@qq.com>

* docs: update version

* fix: typos

* fix: ant-qrcode

* fix: update padding for canvas / svg

* fix: update

* fix: typos

* fix: when borderless padding shouble be 0

* fix: when borderless borderRadius should be 0

* fix: rm Variant

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-30 17:03:00 +08:00
afc163
6c7f161063
docs: fix ltr icon in Safari (#48711) 2024-04-30 14:58:18 +08:00
afc163
244ad743e3
fix: Slider tooltip should not display when open is false (#48708) 2024-04-30 13:48:31 +08:00
daisy
5fc3618aad
docs: update Table onExpand docs (#48706) 2024-04-30 12:21:12 +08:00
Edi Kurniawan
4d05229782
locale: add missing japanese translation (#48704) 2024-04-30 09:59:07 +08:00
Edi Kurniawan
110c8b2e33
locale: add missing indonesian translation (#48703) 2024-04-30 09:58:51 +08:00
Joel
72c6fefc79
docs: update doc for align prop (#48705)
Co-authored-by: Jie.Tan <taamjoe@gmail.com>
2024-04-30 09:54:21 +08:00
dependabot[bot]
84b6bab8ab
chore(deps-dev): bump the dev-dependencies group with 9 updates (#48701)
* chore(deps-dev): bump the dev-dependencies group with 9 updates

---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: dumi
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: immer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: inquirer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: react-intersection-observer
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: tar-fs
  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: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-29 22:47:46 +08:00
Jerry Nwosu
3b4809dede
docs: Update index.en-US.md (#48702)
Fixed typo

Signed-off-by: Jerry Nwosu <jerrynwosu007@gmail.com>
2024-04-29 21:08:15 +08:00
afc163
db17128186
demo: fix Spin tip demo in SSR mode (#48688)
* demo: fix Spin tip demo in SSR mode

* Update components/spin/demo/tip.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-29 13:49:40 +08:00
afc163
ce43007de4
fix: Progress circle tooltip position (#48686) 2024-04-29 11:21:33 +08:00
George H
786dfc0339
docs: add drag column sorting demo (#48434)
* docs(table): add drag column sorting demo

* update test snap

* chore: add script to adapt os memory

* Revert "update test snap"

This reverts commit be1a30e7ec.

revert commit#

* revert

* revert

* snap

* add more column data

* update snap

* chore: column drag style

* update snap

* chore: optimize code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-29 11:08:51 +08:00
Wanpan
c150885f5c
fix: Slider show empty tooltip when tooltip.formatter is falsy (#48673)
* fix: slider tooltip is cant hide

* fix: update case description
2024-04-29 10:37:11 +08:00
YKryshtal
6f6868f7d5
feat: Drawer add loading prop to show spinner (#48563)
* feat: Drawer add loading prop to show spinner

* fix: loading replace drawer content while true

* fix: update snap

* fix: update site snap

* fix: increase test coverage

* fix: upate check-site snap

---------

Co-authored-by: ykryshtal <ykryshtal@magnite.com>
2024-04-29 09:57:45 +08:00
zhw
0dd5617205
fix: list grid property change (#48683) 2024-04-29 09:39:16 +08:00