yanm1ng
54ef44be97
docs(table): upgrade react-sortable-hoc usage ( #33729 )
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
3 years ago
Di Wu
f53e615518
fix: Invalid memoized context value in LocaleProvider ( #33723 )
* fix: Invalid memoized context value in LocaleProvider
* Add button type in test case.
* fix: Invalid memoized context value in Anchor
3 years ago
MadCcc
f81e392d7e
docs: add controlled preview demo for Image ( #33727 )
* docs: add controlled preview demo for Image
* test: update snapshot
* test: fix lint error
3 years ago
PlayerWho
e38c9c5106
fix: <Icon component={SyncOutlined} spin /> shake issue. ( #33726 )
3 years ago
toSayNothing
5f9e3a8415
fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical ( fix #33681 ) ( #33716 )
* Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix #33681 )
* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681
* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681
3 years ago
afc163
80e7cc0afd
fix: <Icon component={HomeOutlined} /> align issue ( #33709 )
* fix: <Icon component={HomeOutlined} /> align issue
close #33703
* update snapshot
3 years ago
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>
3 years ago
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider ( #33705 )
close #33691
3 years ago
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
3 years ago
whwangms
1c38ef941d
fix: remove input showCount attribute from parent component ( #33686 )
3 years ago
zhenfan.yu
319d8f02ec
fix: Image 图片底部空白 #30825 ( #33631 )
3 years ago
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
3 years ago
afc163
7a3f7ba58c
test: improve layout demo ( #33653 )
* test: improve layout demo
* test: improve layout demo
* update snapshot
3 years ago
uchanlee
5fb13e9681
feat: add skeleton input block ( #33672 )
* feat: add skeleton input block
* update: skeleton shapshot
3 years ago
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
3 years ago
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>
3 years ago
二货机器人
18296d1c46
refactor: opt for typography Tooltip perf ( #33669 )
3 years ago
qin20
fe57135e35
feat: support custom Space children key ( #33607 )
close #33331
Co-authored-by: 秦缘斌 <qinyuanbin@corp.netease.com>
3 years ago
二货机器人
ec5b33e949
fix: Form.Item shaking when `help` is empty string ( #33644 )
* fix: empty help takes the line
* test: test case
3 years ago
Shanjie Chen
6e17649e48
docs(TreeSelect): add one missing field ( #33619 )
3 years ago
afc163
7d0193e945
style: remove svg reset styles ( #33579 )
see reason: 004d58b2f2
close #33573
3 years ago
Long Hao (龙濠)
5ba83cd2ec
fix: CardGridProps should expose Div Properties like onClick #33264 ( #33563 )
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
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
3 years ago
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>
3 years ago
Wuif
cf5eac1a8c
fix: PageHeader state update error ( #33546 )
3 years ago
Peach
970dd8cc6c
docs: correct react-router usage for breadcrumb ( #33551 )
3 years ago
afc163
7caa03e2ef
docs: fix update demo
3 years ago
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 已提供或无须提供
3 years ago
afc163
a801933196
fix: Select tag margin issue when using tagRender ( #33539 )
close #33531
3 years ago
afc163
a4d139687a
fix: image demo test in argo-ci ( #33523 )
close #33512
3 years ago
Xi Ming
659571edae
fix missing words in commets ( #33514 )
Lol
3 years ago
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale ( #33511 )
3 years ago
afc163
c0d2c7e8a4
chore: remove whitespace
3 years ago
二货机器人
be231f9fb5
feat: Merge TimePicker disabledXXX into disabledTime ( #33503 )
* feat: merge disabledXXX into disabledTime
* chore: fix ts
3 years ago
afc163
0976e9e6a4
test: add test case for #33487 ( #33492 )
3 years ago
afc163
9ec2709b16
Revert "fix: The current change of pagination triggers onChange ( #33411 )" ( #33489 )
This reverts commit 629caccaae
.
3 years ago
afc163
fb59bd2a47
docs: improve Cascader API documentation ( #33484 )
close #33477
3 years ago
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
3 years ago
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
3 years ago
Garrick Crouch
d53e16fe76
docs: Update index.en-US.md ( #33464 )
provide correct hash link for row selection docs to selection config anchor tag
3 years ago
二货机器人
0c621c4832
fix: input not support number value ( #33462 )
3 years ago
MadCcc
6d098783fc
test: add test for react memory leak warning in Popconfirm
3 years ago
chen-jingjie
c6188fd388
fix(Divider): with text dashed border color error ( #33452 )
3 years ago
MadCcc
19e4b578d9
chore: revert import order change
3 years ago
MadCcc
727e394d75
feat: add useMountedRef hook
3 years ago
zombiej
a90ad063af
test: Update snapshot
3 years ago
guhao.zeng
56c675cd52
fix: Dropdown button destroyPopupOnHide prop not working #33433 ( #33442 )
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
2724635499
629caccaae
fix: The current change of pagination triggers onChange ( #33411 )
* fix: table pagination onChange error (#33374 )
* test: add test case for this (#33374 )
3 years ago
dengqing
4f4e2f800a
Docs: fix fieldNames options typo ( #33241 )
* docs: tree-select fieldNames error
* docs: fix docs error
* fix: docs typo
* docs: fix fieldNames
3 years ago