Commit Graph

28826 Commits

Author SHA1 Message Date
WeLong
c2493a8c19
docs: fix typo in blog (#47735)
fix typo

Signed-off-by: WeLong <towelong@qq.com>
2024-03-06 19:21:42 +08:00
kiner-tang
bb85712f71
feat: Notification support aria-* in closable (#47710)
* feat: Notification support aria-* in closable

* feat: optimize code
2024-03-06 11:53:05 +08:00
Olivier Louvignes
44b55c6435
demo: improve types for form basic demo (#47722) 2024-03-06 09:44:26 +08:00
dependabot[bot]
fe837e964c
chore(deps): update rc-field-form requirement from ~1.42.0 to ~1.42.1 (#47719)
Updates the requirements on [rc-field-form](https://github.com/react-component/field-form) to permit the latest version.
- [Release notes](https://github.com/react-component/field-form/releases)
- [Changelog](https://github.com/react-component/field-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/field-form/compare/v1.42.0...v1.42.1)

---
updated-dependencies:
- dependency-name: rc-field-form
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-05 22:02:55 +08:00
dependabot[bot]
dbac97c098
chore(deps-dev): bump the dev-dependencies group with 3 updates (#47718)
Updates the requirements on [@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) and [puppeteer](https://github.com/puppeteer/puppeteer) to permit the latest version.

Updates `@typescript-eslint/eslint-plugin` to 7.1.1
- [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.1.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` to 7.1.1
- [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.1.1/packages/parser)

Updates `puppeteer` to 22.4.0
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.3.0...puppeteer-v22.4.0)

---
updated-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: puppeteer
  dependency-type: direct:development
  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-03-05 21:24:57 +08:00
lijianan
c01c1b505b
demo: update Grid、Table、Select demo (#47709)
* demo: update demo

* fix: fix test

* feat: table snap

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-05 17:23:47 +08:00
afc163
0d5e0df42c
docs: improve resource page style (#47708) 2024-03-05 13:34:43 +08:00
afc163
015c459975
chore: improve ru_RU locale for DatePicker (#47705)
* Update ru_RU.ts

Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com>

* Update components/date-picker/locale/ru_RU.ts

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

* chore: update snapshot

---------

Signed-off-by: anykobz <66529344+anykobz@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: anykobz <66529344+anykobz@users.noreply.github.com>
2024-03-05 11:58:03 +08:00
二货爱吃白萝卜
4fafb40147
docs: fix res page not work in dark mode (#47697) 2024-03-05 10:57:23 +08:00
pfdgithub
536f296d11
fix: consistent with the tag component, the processing state uses colorInfo token. (#47695)
Signed-off-by: pfdgithub <pfdgithub@users.noreply.github.com>
2024-03-05 10:15:13 +08:00
dependabot[bot]
562567e862
chore(deps-dev): bump the dev-dependencies group with 1 update (#47701)
Updates the requirements on [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) to permit the latest version.

Updates `eslint-plugin-react` to 7.34.0
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  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-03-04 20:43:07 +08:00
dependabot[bot]
9bdf555525
chore(deps-dev): update typedoc requirement from ^0.25.9 to ^0.25.10 (#47702)
Updates the requirements on [typedoc](https://github.com/TypeStrong/TypeDoc) to permit the latest version.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.9...v0.25.10)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 20:42:44 +08:00
lijianan
a4077b6739
demo: update Select label type in demo and docs (#47694) 2024-03-04 13:55:24 +08:00
lqzhgood
9970fd3754
📃 docs(Select): add optGroups props (#47687)
https://github.com/react-component/select/pull/1020/
2024-03-03 14:42:04 +08:00
xrkffgg
b2a83e4353
docs: add 5.15.0 changelog (#47672)
* docs: add 5.15.0 changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>

* Update CHANGELOG.en-US.md

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>

* Update CHANGELOG.zh-CN.md

Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>

---------

Signed-off-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-03-02 21:09:48 +08:00
lijianan
6f68cf30ac
demo: demo code optimization (#47680) 2024-03-02 10:47:22 +08:00
github-actions[bot]
6fe83ecd65
chore: auto merge branches (#47679)
chore: feature merge master
2024-03-02 02:26:42 +00:00
afc163
7abae5e973
demo: a better Form usage inside Modal (#47574)
* demo: a better Form usage inside Modal

* chore: drop ref usage

* fix: useForm

* show values after submit

* chore: update snapshot

* chore: remove form preserve
2024-03-02 01:11:00 +08:00
米家-iOS-张文锋
08224052c8
demo: fix AutoComplete options demo (#47651)
* 修复 auto component 输入demo运行错误的问题

* Update options.tsx

Remove unused key.

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>

* Update options.tsx

Remove the unused param:index

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>

---------

Signed-off-by: 米家-iOS-张文锋 <zhangwfyoupu@126.com>
Co-authored-by: zhangwenfeng <santcool@126.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-02 01:02:55 +08:00
lijianan
903aa71a40
chore: update getItemTag to react component (#47583)
* docs: update docs

* update docs

* chore: update .dumi
2024-03-01 22:19:06 +08:00
dependabot[bot]
fdc183511c
chore(deps-dev): bump vanilla-jsoneditor from 0.21.6 to 0.22.0 (#47674)
Bumps [vanilla-jsoneditor](https://github.com/josdejong/svelte-jsoneditor) from 0.21.6 to 0.22.0.
- [Release notes](https://github.com/josdejong/svelte-jsoneditor/releases)
- [Changelog](https://github.com/josdejong/svelte-jsoneditor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/josdejong/svelte-jsoneditor/compare/v0.21.6...v0.22.0)

---
updated-dependencies:
- dependency-name: vanilla-jsoneditor
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 21:21:09 +08:00
dependabot[bot]
446197d26b
chore(deps-dev): bump the dev-dependencies group with 1 update (#47673)
---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  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-03-01 21:20:44 +08:00
二货爱吃白萝卜
e645804a09
docs: new ellipsis measure way (#47670)
* docs: new ellipsis measure way

* Update docs/blog/line-ellipsis.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* Update docs/blog/line-ellipsis.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-01 17:33:00 +08:00
lijianan
43f4f470ff
Merge pull request #47666 from ant-design/feature
chore: merge feature into master
2024-03-01 16:06:12 +08:00
叶枫
650d4a3eb5
feat: Support focus options (#47664)
* feat: support focus options

* feat: picker

* feat: 回滚

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-03-01 15:05:24 +08:00
github-actions[bot]
3e2496c29d
chore: auto merge branches (#47663)
chore: merge master into feature
2024-03-01 03:55:09 +00:00
栗嘉男
8b6edd7084 chore: merge master into feature 2024-03-01 11:16:27 +08:00
kiner-tang
6928fbc06d
feat: Modal support aria-* in closable (#47650)
* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* chore: bump rc-image

* feat: update snap

* feat: update snap
2024-03-01 10:58:50 +08:00
lijianan
d4391c6c76
type: fix master CI (#47659)
* type: fix master CI

* fix: fix type

* fix: fix
2024-03-01 10:57:33 +08:00
dependabot[bot]
0b0500a374
chore(deps): bump the dependencies group with 2 updates (#47654)
---
updated-dependencies:
- dependency-name: "@ant-design/icons"
  dependency-type: direct:production
  dependency-group: dependencies
- dependency-name: "@babel/runtime"
  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-03-01 09:21:57 +08:00
dependabot[bot]
3579e9e63d
chore(deps-dev): bump the dev-dependencies group with 4 updates (#47655)
---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: lunar-typescript
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: react-router-dom
  dependency-type: direct:development
  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-02-29 21:16:53 +08:00
Amumu
2156ed4c07
fix: virtual list prefixCls not working (#47639)
* fix: virtual list prefixCls not working

* update test case
2024-02-29 09:45:27 +08:00
dependabot[bot]
e0da6729c1
chore(deps-dev): bump the dev-dependencies group with 4 updates (#47637)
---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@emotion/react"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/node"
  dependency-type: direct:development
  dependency-group: dev-dependencies
- dependency-name: "@types/qs"
  dependency-type: direct:development
  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-02-28 21:43:34 +08:00
kiner-tang
183746ac3f
feat: Remove unless necessary warning in alert (#47633) 2024-02-28 17:15:20 +08:00
ChenJiYuan
82bfa7611e
chore(deps): update rc-field-form requirement from ~1.41.0 to ~1.42.0 (#47629)
Co-authored-by: 轩浪 <chenjiyuan.cjy@digital-engine.com>
2024-02-28 17:07:36 +08:00
lijianan
9c1e63dc8d
test: rm useless async (#47628) 2024-02-28 15:28:25 +08:00
kiner-tang
15216614ed
feat: Drawer support aria in closable (#47543)
* feat: drawer support aria in closable prop

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-02-28 14:11:15 +08:00
lijianan
52255ba84b
Merge pull request #47625 from ant-design/master-merge-feature
chore: merge master into feature
2024-02-28 14:10:05 +08:00
栗嘉男
a466d3fc8d chore: merge master into feature 2024-02-28 13:29:43 +08:00
二货爱吃白萝卜
823acd2892
docs: v4 ended (#47613)
* docs: v4 ended

* docs: update datetime

* docs: fix typo

* Update docs/blog/v4-ood.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* docs: update datetime

* Update docs/blog/v4-ood.zh-CN.md

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* Update docs/blog/v4-ood.zh-CN.md

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

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-02-28 13:20:11 +08:00
lijianan
5276de61f7
type: optimization CP props type (#47621) 2024-02-28 11:53:01 +08:00
lijianan
271daafa39
feat: CP support Input.TextArea allowClear、autoComplete、className、classNames、style、styles (#47589)
* feat: CP support Input allowClear

* feat: CP support Input allowClear

* fix: fix

* fix: fix

* revert

* revert

* Update Input.tsx

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

* Update getAllowClear.tsx

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

* Update getAllowClear.tsx

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

* test: add test case

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-28 09:54:48 +08:00
MadCcc
fd1e08c94b
chore: add @babel/runtime into dependencies (#47587) 2024-02-28 09:53:56 +08:00
dependabot[bot]
2ed4e01298
chore(deps-dev): bump the dev-dependencies group with 3 updates (#47614)
---
updated-dependencies:
- dependency-name: "@types/react"
  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
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 22:24:27 +08:00
dependabot[bot]
170af6508d
chore(deps): update rc-picker requirement from ~4.1.4 to ~4.1.5 (#47615)
Updates the requirements on [rc-picker](https://github.com/react-component/picker) to permit the latest version.
- [Release notes](https://github.com/react-component/picker/releases)
- [Changelog](https://github.com/react-component/picker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-component/picker/compare/v4.1.4...v4.1.5)

---
updated-dependencies:
- dependency-name: rc-picker
  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-02-27 21:33:55 +08:00
二货爱吃白萝卜
01f923effe
fix: Compatible with v4 logic (#47612) 2024-02-27 19:11:46 +08:00
二货爱吃白萝卜
72ee4517f0
refactor: Use native css for measure css line ellipsis (#47597)
* chore: init

* chore: ellpsis check with native css

* docs: all the lines

* chore: move copied btn out

* chore: add dpes

* fix: logic order

* fix: ellipsis event

* test: update testcase

* chore: use native way

* chore: destructure

* chore: fix lint

* chore: fix lint

* chore: fix lint
2024-02-27 16:56:24 +08:00
lijianan
6c0d3e46c4
feat: CP support Input allowClear (#47602) 2024-02-27 10:25:35 +08:00
Yawen Xiao
c06dc8e960
type: styles should be optional for cardProps (#47601)
Co-authored-by: yawen.xiao <yawen.xiao@192.168.0.107>
2024-02-27 00:08:38 +08:00
dependabot[bot]
9c72ee3235
chore(deps-dev): update typedoc requirement from ^0.25.8 to ^0.25.9 (#47599)
Updates the requirements on [typedoc](https://github.com/TypeStrong/TypeDoc) to permit the latest version.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.8...v0.25.9)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 21:07:39 +08:00