Commit Graph

21443 Commits

Author SHA1 Message Date
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
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
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
2724635499
629caccaae
fix: The current change of pagination triggers onChange (#33411)
* fix: table pagination onChange error (#33374)

* test: add  test case for this (#33374)
2021-12-27 21:59:16 +08:00
dengqing
4f4e2f800a
Docs: fix fieldNames options typo (#33241)
* docs: tree-select fieldNames error

* docs: fix docs error

* fix: docs typo

* docs: fix fieldNames
2021-12-27 19:05:22 +08:00
MadCcc
1d738d1902 fix: not allow setState in Popconfirm if unmounted 2021-12-27 18:06:46 +08:00
二货机器人
41ac1f0c1a
chore: 4.18.0 changelog (#33424) 2021-12-27 17:58:45 +08:00
github-actions[bot]
24458eb54e
chore: auto merge branchs (#33423)
chore: master merge feature
2021-12-27 04:03:10 +00:00
github-actions[bot]
b3cc1e5276
chore: auto merge branchs (#33422)
chore: feature merge master
2021-12-27 03:30:41 +00:00
zombiej
7ae451729f test: update snapshot 2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1 Merge remote-tracking branch 'origin/master' into feature-merge-master 2021-12-27 10:45:42 +08:00
Nmaxwiver
73ac1b1aaa
docs: Update practical-projects.zh-CN.md (#33419) 2021-12-27 10:03:17 +08:00
renovate[bot]
7f09f0a604
chore(deps): update dependency scrollama to v3 (#33418)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-26 22:58:31 +08:00
二货机器人
9c086c5328
fix: Skeleton missing style (#33405) 2021-12-24 14:23:32 +08:00
二货机器人
f1e0c9c1d2
chore: Internal Menu interface for ProLayout usage (#33399)
* test: Update snapshot

* chore: disable tooltip

* chore: rename
2021-12-24 10:57:35 +08:00