王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip ( #33772 )
...
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-01-20 19:23:14 +08:00
Long Hao (龙濠)
3c76de74ce
fix: Get ref of Card component #33730 ( #33784 )
...
* fix: Get ref of Card component #33730
* add test to the card ref
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-01-20 18:05:36 +08:00
MadCcc
d777a5430c
fix: update prevValue of checkbox if value changed ( #33753 )
2022-01-20 10:15:42 +08:00
dengqing
30086db63f
docs: ✏️ add note comment ( #33771 )
...
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-01-19 19:05:25 +08:00
afc163
85c96251d3
fix: Tag color in dark theme ( #33751 )
...
* docs: update dark theme doc
* fix: dark tag theme
2022-01-19 15:38:48 +08:00
afc163
62eac5c830
chore: update Cacasder demo and remove array-tree-filter ( #33754 )
...
* chore: upgrade rc-cacasder
* update snapshot
2022-01-19 11:39:39 +08:00
二货机器人
395c549049
fix: Typography error on context ellipsis ( #33725 )
...
* chore: init measure
* chore: out of space
* refactor: Multiple render
* chore: auto cut
* feat: render split
* fix: ellipsis logic of suffix
* fix: ref missing
* fix: Tooltip missing
* test: snapshot
* chore: opt for textarea
* test: back part of ellipsis
* chore: back of ellipsis logic
* ellipsis logic
* fix: init ellipsis measure
* fix: ellipsis event
* chore: clean up
* test: Update snapshot
* fix: test
* test: Update snapshot
* chore: lazy ellipsis
* fix: check css ellipsis logic
* test: Update snapshot
* test: back of coverage
* chore: clean up
* test: ignore else
* test: clean up
2022-01-18 14:13:41 +08:00
VIREAK KEOSOKVIBOL
121937186b
fix: some incorrect translation for km_KH ( #33738 )
...
* Add km_KH locale to component
* Add test and docs
* Fix typo
* Add test snapshot
* Fix translation
* Add test
2022-01-17 15:13:59 +08:00
zhenfan.yu
0092253460
fix Input及相关组件设置 hidden 时展示问题 ( #33735 )
...
* fix: Image 图片底部空白 #30825
* feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏
* fix: lint
* fix: test
* fix: test ui
2022-01-15 22:08:19 +08:00
yanm1ng
54ef44be97
docs(table): upgrade react-sortable-hoc usage ( #33729 )
...
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
2022-01-14 18:50:02 +08:00
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
2022-01-14 18:34:27 +08:00
MadCcc
f81e392d7e
docs: add controlled preview demo for Image ( #33727 )
...
* docs: add controlled preview demo for Image
* test: update snapshot
* test: fix lint error
2022-01-14 18:24:08 +08:00
PlayerWho
e38c9c5106
fix: <Icon component={SyncOutlined} spin /> shake issue. ( #33726 )
2022-01-14 15:57:24 +08:00
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
2022-01-14 13:53:08 +08:00
afc163
80e7cc0afd
fix: <Icon component={HomeOutlined} /> align issue ( #33709 )
...
* fix: <Icon component={HomeOutlined} /> align issue
close #33703
* update snapshot
2022-01-13 20:32:09 +08:00
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
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
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
二货机器人
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
Shanjie Chen
6e17649e48
docs(TreeSelect): add one missing field ( #33619 )
2022-01-10 09:41:57 +08: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
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
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
afc163
a4d139687a
fix: image demo test in argo-ci ( #33523 )
...
close #33512
2022-01-02 15:16:21 +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
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
fb59bd2a47
docs: improve Cascader API documentation ( #33484 )
...
close #33477
2021-12-30 11:38:48 +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