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

[pull] master from ant-design:master #232

Closed
wants to merge 138 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
6af1d95
feat: Input & TextArea support count (#45140)
zombieJ Oct 10, 2023
bef9539
feat: Table support `scrollTo` `reference` (#45245)
zombieJ Oct 11, 2023
012e878
Merge pull request #45271 from ant-design/master
zombieJ Oct 12, 2023
eaf4949
feat: App support component (#45292)
zombieJ Oct 12, 2023
44e1493
feat: Watermark support inherit to disable passing (#45319)
zombieJ Oct 13, 2023
8b486f3
Merge branch master into master-merge-feature
li-jia-nan Oct 15, 2023
5b47f16
Merge branch master into master-merge-feature
li-jia-nan Oct 15, 2023
442e175
feat: update snap
kiner-tang Oct 15, 2023
0de095c
Merge branch 'master' into master-merge-feature
li-jia-nan Oct 15, 2023
bb6ef6f
fix: update snap
li-jia-nan Oct 15, 2023
00d74a3
Merge branch 'master' into master-merge-feature
li-jia-nan Oct 15, 2023
f9e5547
fix: update snap
li-jia-nan Oct 15, 2023
1474006
feat: update snap
kiner-tang Oct 16, 2023
cb7e11a
feat: update snap
kiner-tang Oct 16, 2023
e62197a
Merge pull request #45347 from ant-design/master-merge-feature
zombieJ Oct 16, 2023
9a04519
fix: InputNumber dynamic formatter (#45325)
zombieJ Oct 16, 2023
98a8d30
feat: Tabs items support destroyInactiveTabPane (#45359)
zombieJ Oct 16, 2023
11cdac4
chore: bump rc-tabs (#45370)
zombieJ Oct 17, 2023
d8140e0
Merge pull request #45381 from ant-design/master
zombieJ Oct 17, 2023
a337fee
fix: dropdown not trigger onOpenChange when click menu item (#45378)
zombieJ Oct 17, 2023
3ab42ad
feat: support dirty (#45389)
zombieJ Oct 17, 2023
2e8e67f
feat: support changeOnBlur (#45395)
zombieJ Oct 18, 2023
cc223a1
feat(spin): Adds `fullscreen` property to `<Spin />` component (#44986)
Rafael-Martins Oct 19, 2023
dde3651
feat: Modal & Select support z-index context to manage z-index (#45346)
kiner-tang Oct 19, 2023
d51de67
Merge branch 'feature' into refactor-z-index-context
kiner-tang Oct 20, 2023
f25fd3c
chore: auto merge branches (#45444)
github-actions[bot] Oct 20, 2023
bff04cd
Merge branch 'feature' into refactor-z-index-context
kiner-tang Oct 20, 2023
0fd730a
feat: Popconfirm support z-index manager (#45421)
kiner-tang Oct 20, 2023
8c49b38
feat: Popover support z-index manager (#45420)
kiner-tang Oct 20, 2023
bf1468a
feat: Tooltip support z-index manager (#45422)
kiner-tang Oct 20, 2023
193c3b4
feat: Tour support z-index manager (#45425)
kiner-tang Oct 20, 2023
30c8e42
feat: add transition to spin fullscreen (#45436)
li-jia-nan Oct 20, 2023
3627031
feat: Drawer support z-index manager (#45417)
kiner-tang Oct 20, 2023
7784617
Merge branch 'master' into feature-merge-master
yoyo837 Oct 21, 2023
c7661ce
chore: update site snap
yoyo837 Oct 21, 2023
7c31c62
chore: auto merge branches (#45464)
github-actions[bot] Oct 21, 2023
e740269
feat: z-index container opt (#45490)
kiner-tang Oct 23, 2023
6d9db9f
feat: dropdown support z-index manager (#45486)
kiner-tang Oct 23, 2023
2940f62
chore: auto merge branches (#45501)
github-actions[bot] Oct 23, 2023
d04e9ef
feat: config-provider support rangePicker className and style (#45479)
Yueyanc Oct 23, 2023
3cb2738
feat: SelectLike components support z-index manager (#45494)
kiner-tang Oct 24, 2023
a29a079
feat: columnTitle render props (#41937)
Zhou-Bill Oct 24, 2023
e7109d3
feat: ColorPicker support z-index manager (#45496)
kiner-tang Oct 24, 2023
3ec0ec2
feat: DatePicker & TimePicker support z-index manager (#45497)
kiner-tang Oct 24, 2023
de442ca
feat: menu support z-index manager (#45498)
kiner-tang Oct 24, 2023
bceb2e2
Merge branch 'feature' into refactor-z-index-context
kiner-tang Oct 24, 2023
90c4fab
Merge pull request #45512 from ant-design/refactor-z-index-context
kiner-tang Oct 25, 2023
5a45276
feat: Add useMultipleSelect hooks, transfer supports multiple select …
zbw-zbw Oct 26, 2023
2dbcd20
feat: Pagination support combine simple and pageSizeChanger (#45538)
MadCcc Oct 26, 2023
661f3e8
Merge branch 'master' into feature-merge-master
li-jia-nan Oct 29, 2023
cd60418
chore: auto merge branches (#45572)
github-actions[bot] Oct 29, 2023
fc56106
feat: Implement `optionRender` API (#45529)
RedJue Oct 31, 2023
b14faf0
feat: CP support Dropdown className and style (#45621)
li-jia-nan Nov 1, 2023
300c1f3
docs: remove dead links (#45624)
jibolash Nov 2, 2023
d8fbefc
feat(Modal): Modal static function accept 'styles' (#45558)
KotoriK Nov 2, 2023
923aaba
chore: add lodash eslint (#45627)
crazyair Nov 2, 2023
9f1b8f1
docs: fix code selection style issue (#45631)
MadCcc Nov 2, 2023
95322ea
fix: InputNumber in Form with hasFeedback should not lose focus (#45632)
MadCcc Nov 2, 2023
e6d9232
docs: fix demo editor shadow (#45636)
MadCcc Nov 2, 2023
d9902eb
chore(deps-dev): bump eslint-plugin-unicorn from 48.0.1 to 49.0.0 (#4…
dependabot[bot] Nov 2, 2023
56c2b56
docs(input): add placeholder (#45643)
Simon-He95 Nov 2, 2023
bf15203
Docs: usage with next.js, add information about workaround for Next.j…
pavelee Nov 2, 2023
52d2439
Merge branch 'master' into feature-merge-master
MadCcc Nov 3, 2023
da9ca05
chore: auto merge branches (#45645)
github-actions[bot] Nov 3, 2023
99138cb
feat(color-picker): preset colors support collapsing at initializatio…
Wxh16144 Nov 3, 2023
ad3b73a
chore: auto merge branches (#45648)
github-actions[bot] Nov 3, 2023
d7e2330
chore: bump rc-* (#45650)
yoyo837 Nov 3, 2023
f46587b
fix: Slider handler should be movable after click tracker (#45651)
afc163 Nov 3, 2023
321dfd8
feat: show Slider tooltip when focus handler (#45653)
afc163 Nov 3, 2023
f3c37a3
refactor(color-picker): rename `defaultCollapsed` => `defaultOpen` (#…
Wxh16144 Nov 3, 2023
7616c35
✨ docs: changelog 5.11.0 (#45649)
MadCcc Nov 3, 2023
e0a6244
test: fix test case
afc163 Nov 3, 2023
f15bddf
chore: fix ci download artifact logic (#45661)
Wxh16144 Nov 3, 2023
13ae715
docs: solve error about dropdown (#45662)
kiner-tang Nov 3, 2023
38c2002
style: fix Upload border color when drag over (#45663)
Oceansdeep7 Nov 3, 2023
b888f69
test: fix Slider test case in React 16 (#45664)
kiner-tang Nov 3, 2023
bcd8a78
ci: timed check for dependency updates (#45593)
Wxh16144 Nov 3, 2023
fe59bb0
docs: optimize (#45659)
MadCcc Nov 3, 2023
d1ed469
type: add generics to AppProps (#45669)
JexLau Nov 3, 2023
f693a68
fix(Image): using chinese language in image components API's table (#…
ParsaArvanehPA Nov 5, 2023
ea25528
chore(deps): update npm to v10.2.3 (#45675)
renovate[bot] Nov 5, 2023
3f683d7
fix: fix App error when component === false (#45671)
li-jia-nan Nov 5, 2023
d9a60a4
docs: Update README.md Contributor Section (#45674)
Aylee-Shomali Nov 5, 2023
3b5a915
fix: notification style width (#45681)
MadCcc Nov 6, 2023
284347c
chore: upgrade deps (#45692)
github-actions[bot] Nov 6, 2023
4a68036
chore: remove unused config files (#45697)
afc163 Nov 7, 2023
d3fc8ed
chore: fix codesandbox ci (#45698)
afc163 Nov 7, 2023
380649e
fix: update tag default background (#45700)
kiner-tang Nov 7, 2023
c614e81
chore: update README (#45707)
li-jia-nan Nov 8, 2023
b3cb6b3
fix: update tag default background (#45711)
kiner-tang Nov 8, 2023
5ac3f57
feat(modal): PureRender support custom footer callback (#44985)
Wxh16144 Nov 8, 2023
299592d
fix(popConfirm): visible prop compatible (#45702)
linhf123 Nov 8, 2023
b99902a
docs:(Tree): Parameter type repair (#45715)
KiligFei Nov 8, 2023
c3a63a9
fix: component token should work (#45721)
MadCcc Nov 8, 2023
261ba8f
docs: fix TreeSelect demo onChange log (#45722)
haolic Nov 8, 2023
39a5d2b
docs: Fix typo in Drawer documentation (#45726)
MattisAbrahamsson Nov 8, 2023
406e4ae
docs: add Upload disabled demo for debug usage (#45723)
vagusX Nov 8, 2023
6edc1d1
chore(deps-dev): bump @types/isomorphic-fetch from 0.0.38 to 0.0.39 (…
dependabot[bot] Nov 8, 2023
7fda232
chore(deps-dev): bump @dnd-kit/sortable from 7.0.2 to 8.0.0 (#45729)
dependabot[bot] Nov 8, 2023
8dc11ee
chore(deps-dev): bump @dnd-kit/modifiers from 6.0.1 to 7.0.0 (#45728)
dependabot[bot] Nov 8, 2023
e5a213d
docs: Update recommendation (#45749)
cc20140820 Nov 9, 2023
5261f1e
fix: Description children missing key (#45757)
zombieJ Nov 9, 2023
c2ef52b
fix: Upload should show remove icon when showRemoveIcon is true (#45752)
afc163 Nov 9, 2023
5727ce0
demo: add tooltip disabled demo (#45748)
JarvisArt Nov 9, 2023
c31fc76
fix: Dropdown with nest menu zIndex error (#45761)
zombieJ Nov 9, 2023
dea8dea
chore(deps-dev): bump @types/gtag.js from 0.0.17 to 0.0.18 (#45767)
dependabot[bot] Nov 9, 2023
9d57f6f
docs: 5.11.1 changelog (#45768)
zombieJ Nov 9, 2023
f22f61d
test: update snapshot (#45770)
zombieJ Nov 9, 2023
6098906
chore: upgrade deps (#45772)
github-actions[bot] Nov 9, 2023
de3a08f
chore: header use d2tech (#45756)
Zaynex Nov 10, 2023
3719f85
docs: Update CHANGELOG of 5.11.1 (#45774)
afc163 Nov 10, 2023
d2e9453
docs: Update issue-labeled.yml (#45780)
afc163 Nov 10, 2023
4091164
chore: addd unit case (#45781)
Wxh16144 Nov 10, 2023
9ae02f7
chore(deps-dev): bump tsx from 3.14.0 to 4.1.0 (#45790)
dependabot[bot] Nov 10, 2023
c73f56e
refactor(list): improve grid gutter type (#45791)
Asanio06 Nov 10, 2023
9db3dc2
docs: add some commonly used props of react-slick to antd documentati…
afc163 Nov 11, 2023
6ba626b
docs: update Next.js docs (#45811)
li-jia-nan Nov 12, 2023
f0424f3
docs: Update pr-open-check.yml (#45816)
afc163 Nov 12, 2023
abd73e0
style: update carousel dots radius (#45817)
afc163 Nov 13, 2023
496ac33
feat: support popupBg and darkPopupBg (#45826)
chenshuai2144 Nov 13, 2023
aa348dc
chore: remove unuse file
chenshuai2144 Nov 13, 2023
cb8f709
fix: QRCode style.padding should work (#45815)
afc163 Nov 13, 2023
ac39eab
chore: upgrade deps (#45851)
github-actions[bot] Nov 13, 2023
a5649f1
chore: bump table (#45857)
zombieJ Nov 14, 2023
2777d2c
fix: Fixed an issue where the z-index setting of the pop-up component…
kiner-tang Nov 14, 2023
3831352
docs(📖): update tabs component docs (#45875)
yufamg Nov 14, 2023
ab4863c
chore(deps-dev): bump size-limit from 10.0.3 to 11.0.0 (#45877)
dependabot[bot] Nov 14, 2023
f0a2695
site(Header): increase z-index (#45890)
zbw-zbw Nov 15, 2023
2dda417
fix: disabled btn with link should not be focused (#45910)
MadCcc Nov 16, 2023
efbaf8d
chore: update Next.js docs (#45907)
li-jia-nan Nov 16, 2023
dd05e18
chore: add image to Next.js doc (#45929)
li-jia-nan Nov 17, 2023
29126fe
chore: script update (#45937)
zombieJ Nov 17, 2023
9078b2b
feat: export sider context from layout (#45916)
PeachScript Nov 17, 2023
dc25579
fix: zIndex miss of message (#45911)
zombieJ Nov 17, 2023
6cfbace
revert: menu token (#45939)
MadCcc Nov 17, 2023
d13aad6
docs: changelog for 5.11.2 (#45946)
PeachScript Nov 17, 2023
aec6a80
chore: correct type error in theme file (#45949)
PeachScript Nov 17, 2023
a308dcf
docs: update Modal.method docs (#45948)
nanwy Nov 17, 2023
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
4 changes: 2 additions & 2 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sandboxes": ["antd-reproduction-template-y9vgcf"],
"node": "14"
"sandboxes": ["antd-reproduction-template-forked-jyh2k9"],
"node": "18"
}
4 changes: 2 additions & 2 deletions .dumi/theme/common/LiveCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ const useStyle = createStyles(({ token, css }) => {
outline: none;

&:hover {
border: 1px solid ${colorPrimaryBorder} !important;
box-shadow: inset 0 0 0 1px ${colorPrimaryBorder} !important;
}

&:focus {
border: 1px solid ${colorPrimary} !important;
box-shadow: inset 0 0 0 1px ${colorPrimary} !important;
}
}
`,
Expand Down
20 changes: 8 additions & 12 deletions .dumi/theme/slots/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ const RESPONSIVE_SM = 1200;

const locales = {
cn: {
message:
'语雀公益计划:大学生认证教育邮箱,即可免费获得语雀会员。语雀,支付宝匠心打造的在线文档平台。',
shortMessage: '支付宝语雀 · 大学生公益计划火热进行中!',
more: '了解更多',
message: '第十八届 D2 终端技术大会火热来袭,以技术会友,一起分享技术的乐趣。',
shortMessage: '第十八届 D2 终端技术大会火热来袭!',
more: '点击报名',
link: 'https://d2.alibabatech.com/',
},
en: {
message: '',
shortMessage: '',
more: '',
link: '',
},
};

Expand Down Expand Up @@ -366,26 +367,21 @@ const Header: React.FC = () => {
</Popover>
)}
{isZhCN && bannerVisible && (
<ConfigProvider theme={{ token: { colorInfoBg: '#daf5eb', colorTextBase: '#000' } }}>
<ConfigProvider theme={{ token: { colorInfoBg: '#ceebf9', colorTextBase: '#000' } }}>
<Alert
className={styles.banner}
message={
<>
<img
className={styles.icon}
src="https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg"
alt="yuque"
/>
<span>{isMobile ? locale.shortMessage : locale.message}</span>
<a
className={styles.link}
href="https://www.yuque.com/yuque/blog/welfare-edu?source=antd"
href={locale.link}
target="_blank"
rel="noreferrer"
onClick={() => {
window.gtag?.('event', '点击', {
event_category: 'top_banner',
event_label: 'https://www.yuque.com/yuque/blog/welfare-edu?source=antd',
event_label: locale.link,
});
}}
>
Expand Down
12 changes: 11 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ module.exports = {
},
},
parser: '@typescript-eslint/parser',
plugins: ['react', '@babel', 'jest', '@typescript-eslint', 'react-hooks', 'unicorn', 'markdown'],
plugins: [
'react',
'@babel',
'jest',
'@typescript-eslint',
'react-hooks',
'unicorn',
'markdown',
'lodash',
],
// https://github.com/typescript-eslint/typescript-eslint/issues/46#issuecomment-470486034
overrides: [
{
Expand Down Expand Up @@ -156,6 +165,7 @@ module.exports = {
'react/no-unused-class-component-methods': 0,
'import/extensions': 0,
'import/no-cycle': 2,
'lodash/import-scope': 2,
'import/no-extraneous-dependencies': [
'error',
{
Expand Down
14 changes: 0 additions & 14 deletions .github/lock.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/tests_checker.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
body: |
Hello @${{ github.event.issue.user.login }}. Please provide a online reproduction by forking codesandbox of [antd@5.x](https://u.ant.design/codesandbox-repro) or [antd@4.x](https://u.ant.design/codesandbox-repro-4x), or provide a minimal GitHub repository. Issues labeled by `Need Reproduce` will be closed if no activities in 3 days.

你好 @${{ github.event.issue.user.login }}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 [antd@5.x](https://u.ant.design/codesandbox-repro) 或 [antd@4.x](https://u.ant.design/codesandbox-repro-4x) 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。
你好 @${{ github.event.issue.user.login }},我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 [antd@5.x](https://u.ant.design/codesandbox-repro) 或 [antd@4.x](https://u.ant.design/codesandbox-repro-4x) 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。

> [什么是最小化重现,为什么这是必需的?](https://github.com/ant-design/ant-design/wiki/%E4%BB%80%E4%B9%88%E6%98%AF%E6%9C%80%E5%B0%8F%E5%8C%96%E9%87%8D%E7%8E%B0%EF%BC%8C%E4%B8%BA%E4%BB%80%E4%B9%88%E8%BF%99%E6%98%AF%E5%BF%85%E9%9C%80%E7%9A%84%EF%BC%9F)

![](https://gw.alipayobjects.com/zos/antfincdn/y9kwg7DVCd/reproduce.gif)

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/pr-open-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ jobs:
refuse-issue-label: '🎱 Collaborate PR only'
need-creator-authority: 'write'
comment: |
Hi @${{ github.event.pull_request.user.login }}. The issue mentioned in this PR needs to be confirmed with the designer or core team. This PR is temporarily not accepted. Thank you again for your contribution! 😊
Hi @${{ github.event.pull_request.user.login }}. The issue mentioned in this PR needs to be confirmed with the designer or core team. Thank you for your contribution! 😊

你好 @${{ github.event.pull_request.user.login }}。这个 PR 提及的 issue 需要和设计师或核心团队进行确认,暂时不接受 PR,再次感谢你的贡献!😊
close: true
你好 @${{ github.event.pull_request.user.login }}。这个 PR 提及的 issue 需要和设计师或核心团队进行确认!感谢您的贡献!😊
close: false
reviewers: |
MadCcc
zombieJ

check-changelog:
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ jobs:

# Download site artifact
- name: download site artifact
if: ${{ fromJSON(needs.upstream-workflow-summary.outputs.build-success) }}
uses: dawidd6/action-download-artifact@v2
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
run_id: ${{ github.event.workflow_run.id }}
name: site

- name: upload surge service
if: ${{ fromJSON(needs.upstream-workflow-summary.outputs.build-success) }}
id: deploy
continue-on-error: true
run: |
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/upgrade-deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Upgrade Dependencies

on:
schedule:
- cron: "0 18 * * *" # every day at 18:00 UTC
# - timezone: Asia/Shanghai # not supported yet https://github.com/orgs/community/discussions/13454

jobs:
upgrade-deps:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
permissions:
pull-requests: write # for peter-evans/create-pull-request to create PRs
contents: write # for git push
steps:
- name: checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
.github
.ncurc.js
package.json

- name: setup node
uses: actions/setup-node@v3
with:
node-version: 18

- name: upgrade deps
id: upgrade
run: |
if [ ! -d .tmp ] ; then
mkdir .tmp
fi
$(npx npm-check-updates -u > .tmp/upgrade-deps-logs.txt) 2>&1 || true
if [ -s .tmp/upgrade-deps-logs.txt ]; then
cat .tmp/upgrade-deps-logs.txt
echo "logs<<EOF" >> $GITHUB_OUTPUT
cat .tmp/upgrade-deps-logs.txt >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
fi

- name: create pull request
id: cpr
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }} # Cannot be default!!!
assignees: 'afc163, zombieJ, xrkffgg, MadCcc'
title: "chore: upgrade deps"
commit-message: "chore: upgrade deps"
body: |
Upgrade dependencies

```
${{ steps.upgrade.outputs.logs }}
```
branch: auto-upgrade-deps
delete-branch: true
add-paths: |
package.json
29 changes: 29 additions & 0 deletions .ncurc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// doc: https://github.com/raineorshine/npm-check-updates/tree/v16.14.6#readme
const path = require('path');

const rcOrg = ['@rc-component/', 'rc-'];
const check = ['@ant-design/', ...rcOrg];

// rules: https://github.com/ant-design/ant-design/pull/45593#issuecomment-1784891887
module.exports = {
packageFile: path.resolve(__dirname, './package.json'),
upgrade: false, // use `npx npm-check-updates -u` to upgrade
packageManager: 'npm',
dep: ['prod'], // check only prod dependencies
// https://github.com/raineorshine/npm-check-updates#filter
filter: (name) => check.some((prefix) => name.startsWith(prefix)),
// https://github.com/raineorshine/npm-check-updates#target
target: (name, semver) => {
const { operator } = semver[0] ?? {};

// rc-component
if (rcOrg.some((prefix) => name.startsWith(prefix))) {
// `^` always upgrade latest, otherwise follow semver.
if (operator === '^') {
return 'latest';
}
}

return 'semver';
},
};
69 changes: 69 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,75 @@ tag: vVERSION

---

## 5.11.2

`2023-11-17`

- 🆕 Table with `virtual` can now customize `components` except the `components.body`. [#45857](https://github.com/ant-design/ant-design/pull/45857)
- 🐞 Fix Button with href and disabled that could be focused. [#45910](https://github.com/ant-design/ant-design/pull/45910) [@MadCcc](https://github.com/MadCcc)
- 🐞 Fix `zIndex` logic problem that message and notification are covered when multiple Modal are opened. [#45911](https://github.com/ant-design/ant-design/pull/45911) [#45864](https://github.com/ant-design/ant-design/pull/45864) [@kiner-tang](https://github.com/kiner-tang)
- 💄 Fix QRCode `style.padding` is not working. [#45815](https://github.com/ant-design/ant-design/pull/45815)
- 💄 Optimize Carousel dots border radius style. [#45817](https://github.com/ant-design/ant-design/pull/45817)
- TypeScript
- 🤖 Optimize List `gutter` property type definition. [#45791](https://github.com/ant-design/ant-design/pull/45791) [@Asanio06](https://github.com/Asanio06)

## 5.11.1

`2023-11-09`

- 🐞 Fix Dropdown use wrong `zIndex` when nest items. [#45761](https://github.com/ant-design/ant-design/pull/45761)
- 🐞 Fix Upload should show remove icon when `showRemoveIcon` is specified to true explicitly. [#45752](https://github.com/ant-design/ant-design/pull/45752)
- 🐞 Fix Descriptions use `children` structure missing the Descriptions.Item `key` prop. [#45757](https://github.com/ant-design/ant-design/pull/45757)
- 🐞 Fix Message that token specified in component scope not work. [#45721](https://github.com/ant-design/ant-design/pull/45721) [@MadCcc](https://github.com/MadCcc)
- 🐞 Fix Popconfirm not compatible with `visible` prop. [#45702](https://github.com/ant-design/ant-design/pull/45702) [@linhf123](https://github.com/linhf123)
- 🐞 Fix Tag default background color not correct. [#45711](https://github.com/ant-design/ant-design/pull/45711) [@kiner-tang](https://github.com/kiner-tang)
- 💄 Fix Notification that `style.width` not work. [#45681](https://github.com/ant-design/ant-design/pull/45681) [@MadCcc](https://github.com/MadCcc)
- 🐞 Fix App console unexpected attr warning when set `component=false`. [#45671](https://github.com/ant-design/ant-design/pull/45671) [@li-jia-nan](https://github.com/li-jia-nan)
- TypeScript
- 🤖 App support generic type definition. [#45669](https://github.com/ant-design/ant-design/pull/45669) [@JexLau](https://github.com/JexLau)

## 5.11.0

`2023-11-03`

- Slider
- 🆕 Slider will show tooltip when focus handler. [#45653](https://github.com/ant-design/ant-design/pull/45653)
- 💄 Slider handler should be movable after click tracker. [#45651](https://github.com/ant-design/ant-design/pull/45651)
- InputNumber
- 🆕 InputNumber support `changeOnBlur` prop to disable trigger `onChange` event when blur. [#45395](https://github.com/ant-design/ant-design/pull/45395)
- 🐞 Fix InputNumber in Form with `hasFeedback` that will lose focus when feedback icon appear. [#45632](https://github.com/ant-design/ant-design/pull/45632) [@MadCcc](https://github.com/MadCcc)
- 🐞 Fix InputNumber dynamic modify `formatter` not working. [#45325](https://github.com/ant-design/ant-design/pull/45325)
- Table
- 🆕 Table `columnTitle` support render function. [#41937](https://github.com/ant-design/ant-design/pull/41937) [@Zhou-Bill](https://github.com/Zhou-Bill)
- 🛠 Refactor Table `ref` to support `scrollTo` to scroll to target `key` or `index` or `top`. [#45245](https://github.com/ant-design/ant-design/pull/45245)
- Tabs
- 🆕 Tabs `items` support tab pane level `destroyInactiveTabPane`. [#45359](https://github.com/ant-design/ant-design/pull/45359)
- 🐞 Fix Tabs overflow blinking when Tab bar has decimal width. [#45370](https://github.com/ant-design/ant-design/pull/45370)
- ConfigProvider
- 🆕 ConfigProvider support RangePicker `className` and `style` properties. [#45479](https://github.com/ant-design/ant-design/pull/45479) [@chenzhuo198](https://github.com/chenzhuo198)
- 🆕 ConfigProvider support Dropdown `className` and `style` properties. [#45621](https://github.com/ant-design/ant-design/pull/45621) [@li-jia-nan](https://github.com/li-jia-nan)
- 🆕 ColorPicker `preset` prop support `defaultOpen` to control whether preset colors is open by default. [#45607](https://github.com/ant-design/ant-design/pull/45607) [@Wxh16144](https://github.com/Wxh16144)
- 🆕 Select support `optionRender` prop. [#45529](https://github.com/ant-design/ant-design/pull/45529) [@RedJue](https://github.com/RedJue)
- 🆕 Pagination support combine `simple` and `showSizeChanger`. [#45538](https://github.com/ant-design/ant-design/pull/45538)
- 🆕 Spin support `fullscreen` to display as backdrop. [#44986](https://github.com/ant-design/ant-design/pull/44986) [@Rafael-Martins](https://github.com/Rafael-Martins) [#45436](https://github.com/ant-design/ant-design/pull/45436) [@li-jia-nan](https://github.com/li-jia-nan)
- 🆕 Form `validateFields` support `dirty` for validating touched and validated fields. [#45389](https://github.com/ant-design/ant-design/pull/45389)
- 🆕 Watermark support `inherit` prop to disable watermark pass to Drawer and Modal. [#45319](https://github.com/ant-design/ant-design/pull/45319)
- 🆕 App support `component` for customization. [#45292](https://github.com/ant-design/ant-design/pull/45292)
- 🆕 Input and Input.TextArea support `count` custom character count (for example, fix emoji character length to `1`); `count.max` supports out-of-range styles; restore emoji to native count to solve the problem of `maxLength` and `value` mismatch. [#45140](https://github.com/ant-design/ant-design/pull/45140)
- 🐞 Fix Dropdown not trigger `onOpenChange` when click menu item to close the popup. [#45378](https://github.com/ant-design/ant-design/pull/45378)
- 💄 Modal static function support `styles`. [#45558](https://github.com/ant-design/ant-design/pull/45558) [@KotoriK](https://github.com/KotoriK)
- 💄 Optimize z-index logic of popup components, and make them don't block each other by default. [#45512](https://github.com/ant-design/ant-design/pull/45512) [#45490](https://github.com/ant-design/ant-design/pull/45490) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Menu. [#45498](https://github.com/ant-design/ant-design/pull/45498) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of DatePicker and TimePicker. [#45497](https://github.com/ant-design/ant-design/pull/45497) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Drawer. [#45496](https://github.com/ant-design/ant-design/pull/45496) [#45417](https://github.com/ant-design/ant-design/pull/45417) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Cascader, TreeSelect and AutoComplete. [#45494](https://github.com/ant-design/ant-design/pull/45494) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Dropdown. [#45486](https://github.com/ant-design/ant-design/pull/45486) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Tour. [#45425](https://github.com/ant-design/ant-design/pull/45425) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Tooltip. [#45422](https://github.com/ant-design/ant-design/pull/45422) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Popover. [#45420](https://github.com/ant-design/ant-design/pull/45420) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Popconfirm. [#45421](https://github.com/ant-design/ant-design/pull/45421) [@kiner-tang](https://github.com/kiner-tang)
- Optimize z-index logic of Modal and Select. [#45346](https://github.com/ant-design/ant-design/pull/45346) [@kiner-tang](https://github.com/kiner-tang)

## 5.10.3

`2023-10-30`
Expand Down
Loading
Loading