Commit Graph

28810 Commits

Author SHA1 Message Date
二货爱吃白萝卜
300ec22f33
chore: bump rc-field-form (#48829) 2024-05-08 22:03:31 +08:00
lijianan
00c770537b
Merge pull request #48828 from ant-design/master
chore: sync master into feature
2024-05-08 21:20:07 +08:00
afc163
766ae3b320
fix: Button icon order and margin in rtl mode (#48821)
* fix: Button icon order and margin in rtl mode

* demo: default iconPosition should be end

* fix: test case
2024-05-08 20:07:57 +08:00
Wanpan
e2d7e689e5
docs: image component adding destroyOnClose (#48827)
* docs: image component adding destroyOnClose

* docs: update demo
2024-05-08 19:05:50 +08:00
afc163
4384984c38
site: fix home page horizontal scrollbar (#48804)
* site: fix home page horizontal scrollbar

* Update .dumi/theme/slots/Header/index.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-05-08 16:50:34 +08:00
Luna
3701f0a330
docs: fix typo (#48819)
* chore: typo

Signed-off-by: Luna <105922175+ImLunaHey@users.noreply.github.com>

* chore: typo

Signed-off-by: Luna <105922175+ImLunaHey@users.noreply.github.com>

---------

Signed-off-by: Luna <105922175+ImLunaHey@users.noreply.github.com>
2024-05-08 14:31:12 +08:00
f0189fd36f
docs(App): add edge usage warning (#48814)
* chore(App): add edge usage warning

* test: add test

* docs(App): add FAQ
2024-05-08 10:27:59 +08:00
lijianan
d1d2400d2d
docs: sync README-zh_CN (#48817) 2024-05-08 08:00:33 +08:00
github-actions[bot]
8c60848d67
chore: upgrade deps (#48815)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-05-08 07:01:13 +08:00
Wanpan
73adedbfab
fix: Fix fails when using tabs minHeight inside the small card (#48787)
* fix: Fix fails when using small tabs minHeight inside the card

* test: del test case

* Update components/card/style/index.ts

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* fix: update style

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-05-07 19:06:17 +08:00
afc163
e6c4123a84
chore: Update README.md (#48806)
Signed-off-by: afc163 <afc163@gmail.com>
2024-05-07 17:44:10 +08:00
lijianan
b96c10ae1b
site: rm Menu children (#48799) 2024-05-07 15:31:58 +08:00
lijianan
d3d3358ca7
docs: add docs Usage-with-Rsbuild (#48800) 2024-05-07 15:30:29 +08:00
afc163
0f06598bd8
fix: upgrade rc-select (#48798)
Signed-off-by: afc163 <afc163@gmail.com>
2024-05-07 13:23:02 +08:00
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