Commit Graph

21572 Commits

Author SHA1 Message Date
hydraZty
aecf52e4b0
fix: Input can not be hidden when prefix is set (#33706)
* fix: Input can not be hidden when prefix is set

* test: jest case for #33692

Co-authored-by: hydraZty <hydra_zty@163.com>
2022-01-13 16:23:27 +08:00
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider (#33705)
close #33691
2022-01-13 13:50:18 +08:00
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center (#33658)
* feat: add pointAtCenter prop for dropdown

* feat: dropdown support arrow pointing at center

* chore: code clean

* chore: use getPlacements in tooltip

* feat: dropdown support 'top' and 'bottom'

* chore: update snapshot

* chore: move placements to util folder

* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated

* test: update snapshot

* test: add test for topCenter and bottomCenter
2022-01-13 13:34:34 +08:00
ZhouZhen
a8495bad24
ci: preview-deploy download add run_id (#33680) 2022-01-13 00:09:09 +08:00
xrkffgg
5c7d29d5a5
ci: simple files check actions 2022-01-12 23:55:01 +08:00
whwangms
1c38ef941d
fix: remove input showCount attribute from parent component (#33686) 2022-01-12 23:03:23 +08:00
zhenfan.yu
319d8f02ec
fix: Image 图片底部空白 #30825 (#33631) 2022-01-12 23:01:56 +08:00
MadCcc
29f68f9e28
fix: checkbox group support options other than string (#33678)
* fix: checkbox group support options other than string

* docs: update checkbox docs

* fix: radio group support value other than string

* fix: only support number and string

* docs: update group options type
2022-01-12 22:57:43 +08:00
afc163
7a3f7ba58c
test: improve layout demo (#33653)
* test: improve layout demo

* test: improve layout demo

* update snapshot
2022-01-12 10:40:24 +08:00
uchanlee
5fb13e9681
feat: add skeleton input block (#33672)
* feat: add skeleton input block

* update: skeleton shapshot
2022-01-11 15:12:03 +08:00
Dan Greene
a39ddcf798
feat: resolves issue 33572 re aria-sort on tables (#33603)
* feat: resolves issue 33572 re aria-sort on tables

* fixing snapshots

* removing code that can't be hit anyway
2022-01-11 13:18:42 +08:00
dimbslmh
10c3ec6b5c
fix: Warning: Encountered two children with the same key, 'seperator' (#33649)
* fix: Warning: Encountered two children with the same key, 'seperator' #33183

* eslint-disable-next-line react/no-array-index-key

Co-authored-by: dimbslmh <dimsbslmh@gmail.com>
2022-01-11 13:18:17 +08:00
二货机器人
18296d1c46
refactor: opt for typography Tooltip perf (#33669) 2022-01-11 12:04:50 +08:00
github-actions[bot]
44d8e382ba
chore: auto merge branchs (#33652)
branch: merge master into feature
2022-01-11 03:31:21 +00:00
afc163
35aaa49968
docs: improve changelog of 4.18.3 (#33668) 2022-01-11 11:27:35 +08:00
zombiej
98b2df4175 docs: fix changelog page build issue 2022-01-11 10:55:58 +08:00
陈帅
0eedd0ba7e
docs: add ProComponents cards (#33647)
* merge

* merge

* docs: add ProComponents cards

Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2022-01-11 10:51:45 +08:00
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