MadCcc
a9bc316b80
fix: ellipsis should display tooltip if rows larger than 1 ( #33875 )
* fix: ellipsis should display tooltip if rows larger than 1
* test: add test case
3 years ago
tangjinzhou
eb45dbb4db
fix: block not work when small size ( #33878 )
https://github.com/vueComponent/ant-design-vue/issues/5219
3 years ago
MadCcc
2d66c7ecc6
fix: tooltip should work with loading switch ( #33860 )
* fix: tooltip should work with loading switch
* fix: only works for switch
* chore: code clean
3 years ago
黑雨
5a28417c58
feat: notification placement support 'top'/'bottom' ( #33871 )
3 years ago
Di Wu
9fe57c654a
fix: Clear timer of delayed loading after Button is unmounted ( #33858 )
* fix: Clear delay loading timer after Button is unmounted
* [CodeFactor] Apply fixes to commit 16cfb89
[ci skip] [skip ci]
* Change arrow function style in test case
Co-authored-by: codefactor-io <support@codefactor.io>
3 years ago
Cole
dc019dca56
fix: upload button position flashes when it changes from hidden to displayed ( #33820 )
* fix: fix upload button position flashes when it changes from hidden to displayed (#33819 )
* fix: typo in upload
Co-authored-by: chenqiufan <chenqiufan@shiqiao.com>
3 years ago
afc163
578aaad7f2
test: fix lint
3 years ago
Eliot Sanford
a65ba8aa8a
docs: update sentence structure in the FAQ section ( #33816 )
3 years ago
Di Wu
fe23374871
fix: Invalid hook dependency array in Sider and Row ( #33804 )
3 years ago
MadCcc
9cf0dca8fc
test: fix cascader test coverage ( #33802 )
3 years ago
afc163
5d2994ec12
style: Cascader loading icon ( #33799 )
3 years ago
王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip ( #33772 )
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
3 years ago
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>
3 years ago
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
3 years ago
MadCcc
d777a5430c
fix: update prevValue of checkbox if value changed ( #33753 )
3 years ago
dengqing
30086db63f
docs: ✏️ add note comment ( #33771 )
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
3 years ago
afc163
85c96251d3
fix: Tag color in dark theme ( #33751 )
* docs: update dark theme doc
* fix: dark tag theme
3 years ago
afc163
62eac5c830
chore: update Cacasder demo and remove array-tree-filter ( #33754 )
* chore: upgrade rc-cacasder
* update snapshot
3 years ago
MadCcc
8b4abbb1f5
feat: border color with transparency ( #33506 )
* feat: border color with transparency
* feat: update progess remain color with rgba(0, 0, 0, 0.06)
* feat: progress remaining color
3 years ago
二货机器人
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
3 years ago
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
3 years ago
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
3 years ago
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