Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x stable #1

Open
wants to merge 74 commits into
base: 4.x-stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
c43f2d7
test: upgrade github actions node version for 4.x (#40825)
afc163 Feb 21, 2023
a42a488
Update default.less (#40823)
afc163 Feb 21, 2023
9c00330
docs: rm ood link
zombieJ Feb 22, 2023
4a3cd57
chore: add missing deps
zombieJ Feb 22, 2023
b4015b6
chore: test clean up log (#40955)
zombieJ Feb 27, 2023
7a3c492
fix: remove Cascader warning when use displayRender and multiple toge…
crazyair Feb 28, 2023
476b70f
fix: 泛型非必传 (#40960)
crazyair Feb 28, 2023
7ba8c7a
chore: fix ci failed (#41286)
yoyo837 Mar 16, 2023
307b76b
style: textarea should avtive when focused (#41281)
MuxinFeng Mar 21, 2023
86ebf65
fix: Select width getting smaller when search (#41646)
afc163 Apr 7, 2023
0e432de
feat: support for railStyle prop to Slider component (#40942)
c01nd01r Apr 17, 2023
a9e9687
docs: update docs link (#41883)
zombieJ Apr 19, 2023
bde604f
chore: 4.x 更新 rc-checkbox, 无新功能 (#41888)
yoyo837 Apr 19, 2023
9b59ec8
docs: 4.24.9 changelog (#41887)
zombieJ Apr 20, 2023
ae3e130
fix: popover width on the screen side (#41953)
zombieJ Apr 23, 2023
222811d
chore: add gitignore (#42101)
zombieJ May 4, 2023
80110b5
docs: 4.24.10 changelog (#42128)
zombieJ May 4, 2023
5e52057
fix: Upload disabled state logic (#42143)
Wxh16144 May 5, 2023
0371a93
fix(style): keep Spin's container height the same as son element (#42…
cheapCoder May 5, 2023
19f8505
fix: Popover display empty div when title and content is null (#42229)
hairgc May 10, 2023
94339fb
fix: bump field form version to fix onFieldsChange times not correct …
zombieJ May 11, 2023
72f213d
fix: Popconfirm onVisibleChange trigger twice (#42351)
zombieJ May 15, 2023
51b9f8b
fix: 修复#42499 (#42502)
BanShan-Alec May 19, 2023
ec6439c
docs: missed English translation for table header of API#tooltip (#42…
kenrick95 May 25, 2023
3a019c0
test: update test case (#42638)
MadCcc May 26, 2023
694c332
fix: add visibility:hidden to selector:after (#42654)
tchen-l May 26, 2023
729f568
docs: tweak version select option order (#42564)
crazyair May 26, 2023
d90e7c9
fix: max-width breaks popover (#42697)
zombieJ May 29, 2023
0463c1a
feat(Drawer): drawer panel support event listener (#42712)
kiner-tang May 30, 2023
fb4ef43
style: fix InputNumber prefix style in Form.Item (#43048)
afc163 Jun 16, 2023
18cc93d
chore: Update 4.x README.md (#43102)
afc163 Jun 19, 2023
90ad14e
chore: bump rc-drawer (#43124)
MuxinFeng Jun 21, 2023
93a6ee1
fix: notification should hide close icon when closeIcon={null} (#42791)
afc163 Jun 25, 2023
02f876f
chore: pick upload patch (#43200)
zombieJ Jun 27, 2023
7cc23de
fix: first open timepicker right panel position error (#43179)
cooljser Jun 27, 2023
753510b
refactor: ConfigProvider form dependency inversion for v4 (#43207)
yoyo837 Jun 27, 2023
2269b8e
docs: changelog 4.24.11 (#43206)
MadCcc Jun 27, 2023
01f62b1
Update site-deploy.yml (#43243)
MadCcc Jun 28, 2023
9a4ee2e
Update site-deploy.yml
MadCcc Jun 28, 2023
67ff988
fix: Form should not trigger unnescessary onFieldsChange (#43292)
zombieJ Jun 30, 2023
2afbf67
docs: 4.24.12 changelog (#43293)
zombieJ Jun 30, 2023
f57c688
style: Checkbox should use @border-radius-sm (#43356)
afc163 Jul 5, 2023
e59016b
fix: `ConfigProvider` form validateMessages nesting error (#43480)
Wxh16144 Jul 12, 2023
2c6d565
fix: rethrow error in ActionButton's onOk callback (#43536)
maroon1 Jul 15, 2023
f92abac
demo: fixed 4.x Modal render (#43696)
linxianxi Jul 21, 2023
53ce254
fix: select check remove icon align (#43667)
Wxh16144 Jul 23, 2023
c501af9
fix: fix lint for 4.x (#43807)
yoyo837 Jul 26, 2023
2b43f73
feat: @ant-design/react-slick upgrade (#39634) (#43806)
taozhou-glean Jul 26, 2023
a0cf986
fix: getCurrentLink not trigger when scroll (#43917)
zombieJ Jul 31, 2023
0b6920b
docs: 4.24.13 changelog (#43985)
zombieJ Aug 3, 2023
1a7de4b
fix: update rc-util version (#44043)
elevensky Aug 7, 2023
7251397
demo: update 4.x dropdown deprecated menu (#43825)
linxianxi Aug 8, 2023
a556f1f
fix: 4.x gif thumb url base64 type should be corrected (#44129)
linxianxi Aug 16, 2023
843c4b6
fix(Breadcrumb): fix wrong overlay warning (#44578)
whalesink Sep 6, 2023
09a6f3c
test: update jest snapshot and fix type (#44652)
afc163 Sep 6, 2023
bc46d4b
docs(:sparkles:): release 4.24.14 (#44653)
afc163 Sep 6, 2023
a014f7c
chore: fix 4.x-stable publish script (#44665)
afc163 Sep 7, 2023
b3f0468
fix(DatePicker): disabled style is overridden in Form hover (#44779)
crazyair Sep 12, 2023
8ed4c2f
fix(radio): use its own disabled first (#44837)
Yuiai01 Sep 14, 2023
5f82d5b
chore: bump rc-* (#44924)
yoyo837 Sep 18, 2023
775b119
type: fix type errors of React.Key (#45018)
Wxh16144 Sep 27, 2023
6695e7d
chore: bump deps (#45174)
yoyo837 Oct 4, 2023
0e6fe5f
feat: export sider context from layout for v4 (#45947)
PeachScript Nov 21, 2023
916332c
docs: changelog for 4.24.15 (#45997)
PeachScript Nov 21, 2023
352fac8
ci: remove argos usage (#46208)
Wxh16144 Dec 1, 2023
a52e205
fix: Form label tooltip icon trigger Switch (#46159)
Wxh16144 Dec 1, 2023
e18bc84
fix: Select should show scrollbar when overflowed (#47050)
MadCcc Jan 19, 2024
df63d1c
demo: demo mock data address spelling error (#40432)
weited Jan 20, 2024
6a0f811
fix: 4.x Transfer selectInvert should be corrected (#47134)
linxianxi Jan 27, 2024
426ae12
chore: bump rc-* (#47935)
yoyo837 Mar 18, 2024
7c06024
docs(:sparkles:): release 4.24.16 (#47932)
afc163 Mar 19, 2024
c6116fa
docs: update CHANGELOG (#47964)
li-jia-nan Mar 20, 2024
4bc4d7a
fix: Modal throws a11y error (#50339)
afc163 Aug 9, 2024
59fef7d
fix: Modify Tooltip placements config (#37960)
hongzzz Aug 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sandboxes": ["antd-reproduction-template-y9vgcf"],
"node": "14"
"node": "18"
}
28 changes: 15 additions & 13 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ components/**/*.jsx
!.*.js
~*
# Docs templates
site/theme/template/Color/ColorPicker.jsx
site/theme/template/IconDisplay/*.js
site/theme/template/IconDisplay/*.jsx
site/theme/template/IconDisplay/fields.js
site/theme/template/Home/**/*.jsx
site/theme/template/utils.jsx
site/theme/template/Layout/**/*.jsx
site/theme/template/Layout/Footer.jsx
site/theme/template/Content/Article.jsx
site/theme/template/Content/EditButton.jsx
site/theme/template/Resources/*.jsx
site/theme/template/Resources/**/*.jsx
site/theme/template/NotFound.jsx
site/theme/template/Color/ColorPicker.tsx
site/theme/template/IconDisplay/*.ts
site/theme/template/IconDisplay/*.tsx
site/theme/template/IconDisplay/fields.ts
site/theme/template/Home/**/*.tsx
site/theme/template/utils.tsx
site/theme/template/Layout/**/*.tsx
site/theme/template/Content/Article.tsx
site/theme/template/Content/EditButton.tsx
site/theme/template/Resources/*.tsx
site/theme/template/Resources/**/*.tsx
site/theme/template/NotFound.tsx
typings
es/**/*
lib/**/*
Expand All @@ -29,3 +28,6 @@ coverage
# Scripts
scripts/previewEditor/**/*
jest-stare
locale
.dumi
report.html
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ module.exports = {
'react/no-unstable-nested-components': 0,
},
},
{
files: ['components/pagination/Pagination.tsx'],
rules: {
'jsx-a11y/control-has-associated-label': 0,
},
},
],
rules: {
'react/jsx-one-expression-per-line': 0,
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/codeball.yml

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: cache package-lock.json
uses: actions/cache@v3
Expand Down Expand Up @@ -55,7 +55,11 @@ jobs:
needs: setup
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if: github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/rebase') || contains(github.event.comment.body, '\rebase'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Automatic Rebase
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
branch: 'master, 4.x-stable'
tag: '5*, 4*'
latest: '5*'
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }}
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }} ${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }} ${{ secrets.DINGDING_BOT_MAINTAINER_TOKEN }}
dingding-msg: 'CHANGELOG.zh-CN.md'
msg-title: '# Ant Design {{v}} 发布日志'
msg-poster: 'https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*zx7LTI_ECSAAAAAAAAAAAABkARQnAQ'
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/site-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@

name: Deploy website
on:
create
push:
tags:
- '4.*'
workflow_dispatch:

permissions:
contents: read

jobs:
setup:
runs-on: ubuntu-latest
if: github.event.ref_type == 'tag' && (contains(github.event.ref, '-') == false || startsWith(github.event.ref, '4.'))
if: (startsWith(github.ref, 'refs/tags/') && (contains(github.ref_name, '-') == false)) || github.event_name == 'workflow_dispatch'
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: cache package-lock.json
uses: actions/cache@v3
Expand Down Expand Up @@ -46,7 +49,11 @@ jobs:
needs: setup
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: cache package-lock.json
uses: actions/cache@v3
Expand Down
66 changes: 55 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: cache package-lock.json
uses: actions/cache@v3
Expand Down Expand Up @@ -49,7 +53,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand All @@ -71,7 +79,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand All @@ -93,7 +105,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand All @@ -117,7 +133,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand Down Expand Up @@ -149,7 +169,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand Down Expand Up @@ -187,7 +211,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand Down Expand Up @@ -242,7 +270,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand Down Expand Up @@ -323,7 +355,11 @@ jobs:
runs-on: ubuntu-latest
needs: [normal-test]
steps:
- uses: actions/checkout@v3
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/download-artifact@v3
with:
name: coverage-artifacts
Expand All @@ -344,7 +380,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
uses: actions/cache@v3
Expand Down Expand Up @@ -391,7 +431,11 @@ jobs:
- name: checkout
# lib only run in master branch not in pull request
if: ${{ github.event_name != 'pull_request' || matrix.module != 'lib' }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16

- name: restore cache from package-lock.json
# lib only run in master branch not in pull request
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-package-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.title, 'changelog') || contains(github.event.pull_request.title, 'release')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: verify-version
uses: actions-cool/verify-package-version@v1
with:
Expand Down
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ site/theme/template/Resources/*.jsx
site/theme/template/Resources/**/*.jsx
site/theme/template/NotFound.jsx
scripts/previewEditor/index.html
components/version/version.tsx
components/version/token.tsx
components/version/
!components/version/style/index.tsx
.dumi
components/version/token-meta.json
components/version/token.json
Expand All @@ -73,3 +73,8 @@ __image_snapshots__/
/imageDiffSnapshots

.devcontainer*

# From v5
locale/
.eslintcache
server/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
3 changes: 2 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"color-function-notation": "legacy",
"selector-class-pattern": null,
"selector-id-pattern": null,
"selector-not-notation": null
"selector-not-notation": null,
"declaration-block-no-redundant-longhand-properties": null
},
"ignoreFiles": ["components/style/color/{bezierEasing,colorPalette,tinyColor}.less"]
}
Loading
Loading