docs: add 5.10.3 changelog (#45578)

* docs: add changelog

* docs: add changelog

* add

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* add

* add

* fix lint

* add

---------

Signed-off-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
This commit is contained in:
陈帅 2023-10-30 06:57:36 -05:00 committed by GitHub
parent 67c8e8b259
commit 768504d83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 76 additions and 48 deletions

View File

@ -16,6 +16,20 @@ tag: vVERSION
---
## 5.10.3
`2023-10-30`
- 💄 Fix Typography.Text lost right border when enable `ellipsis` and `code`. [#45575](https://github.com/ant-design/ant-design/pull/45575)
- 💄 Modify the TimePicker scroll bar style. [#45478](https://github.com/ant-design/ant-design/pull/45478) [@GeorgeHcc](https://github.com/GeorgeHcc) [#45586](https://github.com/ant-design/ant-design/pull/45586)
- 🆕 FloatButton.BackTop `ref` support `nativeElement`. [#45547](https://github.com/ant-design/ant-design/pull/45547) [@li-jia-nan](https://github.com/li-jia-nan)
- 🐞 Fix Watermark that `gap` should have default value when passing `undefined` in array. [#45537](https://github.com/ant-design/ant-design/pull/45537) [@MadCcc](https://github.com/MadCcc)
- 🐞 Fix Dropdown always closes after clicking on an item. [#45513](https://github.com/ant-design/ant-design/pull/45513) [@vyachsed](https://github.com/vyachsed)
- 💄 Fix Notification style issue in windows system. [#45500](https://github.com/ant-design/ant-design/pull/45500) [@MadCcc](https://github.com/MadCcc)
- 💄 Fix Notification duplicated `style` applied to wrapper. [#45487](https://github.com/ant-design/ant-design/pull/45487) [@MadCcc](https://github.com/MadCcc)
- TypeScript
- 🐞 Fix `modal` return type in `App.useApp` hook. [#45462](https://github.com/ant-design/ant-design/pull/45462) [@mjss](https://github.com/mjss)
## 5.10.2
`2023-10-21`

View File

@ -16,6 +16,20 @@ tag: vVERSION
---
## 5.10.3
`2023-10-30`
- 💄 修复 Typography.Text 同时启用 `ellipsis``code` 时丢失右边框样式的问题。[#45575](https://github.com/ant-design/ant-design/pull/45575)
- 💄 调整 TimePicker 滚动条样式。[#45478](https://github.com/ant-design/ant-design/pull/45478) [@GeorgeHcc](https://github.com/GeorgeHcc) [#45586](https://github.com/ant-design/ant-design/pull/45586)
- 🆕 FloatButton.BackTop 支持使用 `ref` 获取 `nativeElement`。[#45547](https://github.com/ant-design/ant-design/pull/45547) [@li-jia-nan](https://github.com/li-jia-nan)
- 🐞 修复 Watermark 组件 `gap` 在数组中含有 `undefined` 时没有默认值的问题。[#45537](https://github.com/ant-design/ant-design/pull/45537) [@MadCcc](https://github.com/MadCcc)
- 🐞 修复 Dropdown 在点击子项后总是关闭的问题。[#45513](https://github.com/ant-design/ant-design/pull/45513) [@vyachsed](https://github.com/vyachsed)
- 💄 修复 Notification 组件在 windows 系统下的样式问题。[#45500](https://github.com/ant-design/ant-design/pull/45500) [@MadCcc](https://github.com/MadCcc)
- 💄 修复 Notification 组件 `style` 属性会重复添加到外层的问题。[#45487](https://github.com/ant-design/ant-design/pull/45487) [@MadCcc](https://github.com/MadCcc)
- TypeScript
- 🤖 修复 `App.useApp``modal` 类型定义。[#45462](https://github.com/ant-design/ant-design/pull/45462) [@mjss](https://github.com/mjss)
## 5.10.2
`2023-10-21`

View File

@ -1,9 +1,7 @@
{
"name": "antd",
"version": "5.10.2",
"packageManager": "npm@10.2.1",
"version": "5.10.3",
"description": "An enterprise-class UI design language and React components implementation",
"title": "Ant Design",
"keywords": [
"ant",
"component",
@ -23,53 +21,52 @@
"type": "git",
"url": "https://github.com/ant-design/ant-design"
},
"license": "MIT",
"contributors": [
"ant"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/ant-design"
},
"license": "MIT",
"contributors": [
"ant"
],
"sideEffects": [
"*.css"
],
"main": "lib/index.js",
"unpkg": "dist/antd.min.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
"files": [
"dist",
"es",
"lib",
"locale"
],
"sideEffects": [
"*.css"
],
"main": "lib/index.js",
"module": "es/index.js",
"unpkg": "dist/antd.min.js",
"typings": "es/index.d.ts",
"scripts": {
"prepare": "is-ci || husky install && dumi setup",
"api-collection": "antd-tools run api-collection",
"argos": "tsx scripts/argos-upload.ts",
"authors": "tsx scripts/generate-authors.ts",
"biome:format": "biome format --write .",
"build": "npm run compile && NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
"size-limit": "size-limit",
"changelog": "git fetch origin && tsx scripts/print-changelog.ts",
"check-commit": "tsx scripts/check-commit.ts",
"check-ts-demo": "tsx scripts/check-ts-demo.ts",
"clean": "antd-tools run clean && rm -rf es lib coverage dist report.html",
"clean-lockfiles": "rm -rf package-lock.json yarn.lock",
"collect-token-statistic": "tsx scripts/collect-token-statistic.ts",
"token-meta": "tsx scripts/generate-token-meta.ts",
"component-changelog": "tsx scripts/generate-component-changelog.ts",
"prestart": "npm run version && npm run collect-token-statistic && npm run token-meta && npm run component-changelog",
"precompile": "npm run prestart",
"pretest": "npm run version && npm run component-changelog",
"predist": "npm run version",
"presite": "npm run prestart",
"compile": "npm run clean && antd-tools run compile",
"changelog": "git fetch origin && tsx scripts/print-changelog.ts",
"component-changelog": "tsx scripts/generate-component-changelog.ts",
"predeploy": "antd-tools run clean && npm run site && cp CNAME _site && npm run site:test",
"deploy": "gh-pages -d _site -b gh-pages -f",
"deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages -f",
"predist": "npm run version",
"dist": "antd-tools run dist",
"dist:esbuild": "ESBUILD=true npm run dist",
"dist:esbuild-no-dup-check": "ESBUILD=true NO_DUP_CHECK=true npm run dist",
"install-react-16": "npm i --no-save --legacy-peer-deps react@16 react-dom@16 @testing-library/react@12",
"install-react-17": "npm i --no-save --legacy-peer-deps react@17 react-dom@17 @testing-library/react@12",
"install-react-18": "npm i --no-save --legacy-peer-deps react@18 react-dom@18",
"lint": "npm run version && npm run tsc && npm run lint:script && npm run lint:demo && npm run lint:md && npm run lint:style",
"lint-fix": "npm run lint-fix:script && npm run lint-fix:demo",
"lint-fix:demo": "npm run lint:demo -- --fix",
@ -77,31 +74,36 @@
"lint:demo": "eslint components/*/demo/*.md",
"lint:deps": "antd-tools run deps-lint",
"lint:md": "remark . -f -q",
"lint:style": "tsx scripts/check-cssinjs.ts",
"lint:script": "npm run component-changelog && eslint . --ext .js,.jsx,.ts,.tsx --cache",
"lint:style": "tsx scripts/check-cssinjs.ts",
"pre-publish": "npm run test-all -- --skip-build && tsx ./scripts/pre-publish-notice.ts",
"prepare": "is-ci || husky install && dumi setup",
"prepublishOnly": "antd-tools run guard",
"prettier": "prettier -c --write **/* --cache",
"pub": "npm run version && npm run collect-token-statistic && npm run token-meta && antd-tools run pub",
"biome:format": "biome format --write .",
"prepublishOnly": "antd-tools run guard",
"postpublish": "tsx scripts/post-script.ts",
"presite": "npm run prestart",
"site": "dumi build && cp .surgeignore _site",
"sort": "npx sort-package-json",
"sort-api": "antd-tools run sort-api-table",
"start": "cross-env PORT=8001 dumi dev",
"test": "jest --config .jest.js --no-cache",
"test:update": "jest --config .jest.js --no-cache -u",
"test-all": "sh -e ./scripts/test-all.sh",
"test-node": "npm run version && jest --config .jest.node.js --no-cache",
"tsc": "tsc --noEmit",
"site:test": "jest --config .jest.site.js",
"site:test:update": "npm run site && npm run site:test -- -u",
"size-limit": "size-limit",
"sort": "npx sort-package-json",
"sort-api": "antd-tools run sort-api-table",
"prestart": "npm run version && npm run collect-token-statistic && npm run token-meta && npm run component-changelog",
"start": "cross-env PORT=8001 dumi dev",
"pretest": "npm run version && npm run component-changelog",
"test": "jest --config .jest.js --no-cache",
"test-all": "sh -e ./scripts/test-all.sh",
"test-image": "jest --config .jest.image.js --no-cache -i -u",
"argos": "tsx scripts/argos-upload.ts",
"version": "tsx scripts/generate-version.ts",
"install-react-16": "npm i --no-save --legacy-peer-deps react@16 react-dom@16 @testing-library/react@12",
"install-react-17": "npm i --no-save --legacy-peer-deps react@17 react-dom@17 @testing-library/react@12",
"install-react-18": "npm i --no-save --legacy-peer-deps react@18 react-dom@18"
"test-node": "npm run version && jest --config .jest.node.js --no-cache",
"test:update": "jest --config .jest.js --no-cache -u",
"token-meta": "tsx scripts/generate-token-meta.ts",
"tsc": "tsc --noEmit",
"version": "tsx scripts/generate-version.ts"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "biome format --write",
"*.{json,less,md}": "prettier --ignore-unknown --write"
},
"browserslist": [
"> 0.5%",
@ -316,6 +318,12 @@
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"overrides": {
"dumi-plugin-color-chunk": {
"dumi": "^2.3.0-alpha.4"
}
},
"packageManager": "npm@10.2.1",
"size-limit": [
{
"path": "./dist/antd.min.js",
@ -326,16 +334,8 @@
"limit": "459 KiB"
}
],
"title": "Ant Design",
"tnpm": {
"mode": "npm"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "biome format --write",
"*.{json,less,md}": "prettier --ignore-unknown --write"
},
"overrides": {
"dumi-plugin-color-chunk": {
"dumi": "^2.3.0-alpha.4"
}
}
}