Commit Graph

21538 Commits

Author SHA1 Message Date
vagusX
ccd71583b7
docs: add changelog 4.18.4 (#33748)
Co-authored-by: afc163 <afc163@gmail.com>
2022-01-18 22:22:48 +08:00
二货机器人
151085b058
fix: TreeSelect not show hightlight with keyboard (#33755) 2022-01-18 20:21:12 +08:00
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
2022-01-18 18:19:42 +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
afc163
2ae15a6de2 test: fix lint 2022-01-18 12:11:14 +08:00
afc163
b75bfd071d docs: remove v4 release qrcode 2022-01-18 11:31:07 +08:00
github-actions[bot]
5a93cc024d
chore: auto merge branchs (#33745)
chore: sync master into feature
2022-01-18 03:16:08 +00: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
github-actions[bot]
7d0806ba32
chore: auto merge branchs (#33707)
branch: merge master into feature
2022-01-14 03:53:35 +00: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
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