Commit Graph

21555 Commits

Author SHA1 Message Date
qin20
fe57135e35
feat: support custom Space children key (#33607)
close #33331

Co-authored-by: 秦缘斌 <qinyuanbin@corp.netease.com>
2022-01-10 18:11:06 +08:00
xrkffgg
b18c09cf32
docs: add changelog 4.18.3 (#33639)
* docs: add changelog 4.18.3

* docs: add

* docs: add

* docs: add user

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

* docs: add

Co-authored-by: afc163 <afc163@gmail.com>
2022-01-10 16:48:17 +08:00
二货机器人
ec5b33e949
fix: Form.Item shaking when help is empty string (#33644)
* fix: empty help takes the line

* test: test case
2022-01-10 15:58:53 +08:00
MadCcc
34f2978437
feat: menu support home & end key (#33642) 2022-01-10 14:45:51 +08:00
Long Hao (龙濠)
6fd5d2adf3
fix: table tree hover error #33453 (#33638)
* fix: fix the table tree hover error #33453

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-01-10 14:05:00 +08:00
Shanjie Chen
6e17649e48
docs(TreeSelect): add one missing field (#33619) 2022-01-10 09:41:57 +08:00
NothingToDo
4ebc61fb81
fix: Table emptynode fixed display (#33610) 2022-01-10 09:39:59 +08:00
renovate[bot]
690e288f21
chore(deps): update dependency concurrently to v7 (#33630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 09:38:50 +08:00
Amumu
e38bead31f
chore: classnames now provides its own type definitions, so we do not need a stub types definition (#33612) 2022-01-07 18:24:18 +08:00
github-actions[bot]
172dfc9aeb
chore: auto merge branchs (#33611)
chore: merge master to feature
2022-01-07 08:16:31 +00:00
afc163
7d0193e945
style: remove svg reset styles (#33579)
see reason: 004d58b2f2

close #33573
2022-01-06 15:01:16 +08:00
Long Hao (龙濠)
5ba83cd2ec
fix: CardGridProps should expose Div Properties like onClick #33264 (#33563)
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-01-05 19:53:58 +08:00
uchanlee
8ebb4a3d23
fix: Upload types for pass generic (#33543)
* fix: Upload types for pass generic

* fix: Upload type

* refactor: Upload type

* feat: add Upload type test case
2022-01-05 19:15:28 +08:00
afc163
9a6ae9bb82
perf: upgrade rc-table (#33554) 2022-01-05 13:35:53 +08:00
Jason Miller
36a5485870
fix: Avoid mutating Event properties that are supposed to be getters (#33536)
* Avoid mutating Event properties that are supposed to be getters

React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects.

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2022-01-04 22:41:12 +08:00
Wuif
cf5eac1a8c
fix: PageHeader state update error (#33546) 2022-01-04 22:28:09 +08:00
Peach
ef51e4eb78
docs: correct semicolon in upload demo (#33544) (#33553) 2022-01-04 21:45:41 +08:00
xrkffgg
b8ec712dd3
ci: update verify-files-modify (#33552) 2022-01-04 21:45:32 +08:00
Peach
970dd8cc6c
docs: correct react-router usage for breadcrumb (#33551) 2022-01-04 21:45:05 +08:00
afc163
7caa03e2ef docs: fix update demo 2022-01-04 21:44:08 +08:00
Ryan Lee
a29154e67a
docs: update upload-png-only demo (#33544)
[[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md)]

### 🤔 这个变动的性质是?

- [ ] 新特性提交
- [ ] 日常 bug 修复
- [ ] 站点、文档改进
- [x] 演示代码改进
- [ ] 组件样式/交互改进
- [ ] TypeScript 定义更新
- [ ] 包体积优化
- [ ] 性能优化
- [ ] 功能增强
- [ ] 国际化改进
- [ ] 重构
- [ ] 代码风格优化
- [ ] 测试用例
- [ ] 分支合并
- [ ] 其他改动(是关于什么的改动?)

### 🔗 相关 Issue

无

### 💡 需求背景和解决方案

无

### 📝 更新日志

| 语言    | 更新描述 |
| ------- | -------- |
| 🇺🇸 英文 |          |
| 🇨🇳 中文 |          |

### ☑️ 请求合并前的自查清单

⚠️ 请自检并全部**勾选全部选项**。⚠️

- [x] 文档已补充或无须补充
- [x] 代码演示已提供或无须提供
- [x] TypeScript 定义已补充或无须补充
- [x] Changelog 已提供或无须提供
2022-01-04 19:52:16 +08:00
afc163
a801933196
fix: Select tag margin issue when using tagRender (#33539)
close #33531
2022-01-04 15:11:04 +08:00
Pablo Recalde
a559742e21
Update README-sp_MX.md (#33535)
The other title doesn't make sense. "Medio ambiente" is the environment, as in environmental pollution, nothing to do with computers.
2022-01-04 10:48:33 +08:00
afc163
a4d139687a
fix: image demo test in argo-ci (#33523)
close #33512
2022-01-02 15:16:21 +08:00
renovate[bot]
8ed607d550
chore(deps): update dependency eslint-plugin-unicorn to v40 (#33520)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-02 13:01:15 +08:00
Xi Ming
659571edae
fix missing words in commets (#33514)
Lol
2022-01-02 12:59:40 +08:00
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale (#33511) 2021-12-31 16:56:21 +08:00
afc163
c0d2c7e8a4 chore: remove whitespace 2021-12-31 16:54:15 +08:00
二货机器人
be231f9fb5
feat: Merge TimePicker disabledXXX into disabledTime (#33503)
* feat: merge disabledXXX into disabledTime

* chore: fix ts
2021-12-31 11:28:02 +08:00
afc163
0976e9e6a4
test: add test case for #33487 (#33492) 2021-12-31 10:44:16 +08:00
afc163
e94f467209
docs: release 4.18.2 (#33491) 2021-12-30 15:20:15 +08:00
afc163
9ec2709b16
Revert "fix: The current change of pagination triggers onChange (#33411)" (#33489)
This reverts commit 629caccaae.
2021-12-30 15:15:00 +08:00
afc163
150bd23d53 docs: improve changelog 2021-12-30 11:46:17 +08:00
github-actions[bot]
b05aa89908
chore: auto merge branchs (#33485)
chore: feature merge master
2021-12-30 03:40:48 +00:00
afc163
fb59bd2a47
docs: improve Cascader API documentation (#33484)
close #33477
2021-12-30 11:38:48 +08:00
二货机器人
3913fd51fb
docs: 4.18.1 changelog (#33476)
* docs: 4.18.1 changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2021-12-29 21:03:29 +08:00
MadCcc
7df1d52dee
Merge pull request #33432 from MadCcc/dev
fix: not allow setState in Popconfirm if unmounted
2021-12-29 17:49:15 +08:00
MadCcc
3effa51572 refactor: refactor useMounted to useDestroyed 2021-12-29 17:10:16 +08:00
MadCcc
285e2bd9ea refactor: refactor useMountedRef to useMounted 2021-12-29 14:42:00 +08:00
Garrick Crouch
d53e16fe76
docs: Update index.en-US.md (#33464)
provide correct hash link for row selection docs to selection config anchor tag
2021-12-29 11:44:59 +08:00
二货机器人
0c621c4832
fix: input not support number value (#33462) 2021-12-29 11:32:49 +08:00
MadCcc
6d098783fc test: add test for react memory leak warning in Popconfirm 2021-12-29 11:31:50 +08:00
chen-jingjie
c6188fd388
fix(Divider): with text dashed border color error (#33452) 2021-12-28 19:40:33 +08:00
MadCcc
19e4b578d9 chore: revert import order change 2021-12-28 17:23:43 +08:00
MadCcc
727e394d75 feat: add useMountedRef hook 2021-12-28 17:21:00 +08:00
zombiej
a90ad063af test: Update snapshot 2021-12-28 16:17:37 +08:00
afc163
80389747c7 docs: update changelog 2021-12-28 14:21:14 +08:00
guhao.zeng
56c675cd52
fix: Dropdown button destroyPopupOnHide prop not working #33433 (#33442)
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2021-12-28 13:48:23 +08:00
WeijieChen
3324bb2f59
docs: fix version error (#33443)
Co-authored-by: machixian <machixian@myweimai.com>
2021-12-28 13:29:43 +08:00
麦谷
67bf8903fb
docs: Update use-in-typescript.zh-CN.md (#33434)
这里有点不对
/* src/App.ts */
应该是
/* src/App.tsx */
执行npx create-react-app my-project-name --template typescript后也只有App.tsx文件
2021-12-28 10:52:16 +08:00