Commit Graph

12906 Commits

Author SHA1 Message Date
偏右
6192403b2c
Update index.zh-CN.md 2020-12-24 17:30:03 +08:00
einq7
fa376f9c82
docs: prettier markdown (#28510) 2020-12-24 12:02:57 +08:00
chequerNoel
725244ee35
fix: Typo steps-desciption-max-width to steps-description-max-width (#28499) 2020-12-23 22:48:40 +08:00
二货机器人
1c5a3f433b
fix: Collapse header style (#28507) 2020-12-23 17:10:03 +08:00
二货机器人
7bef3090d8
docs: Fix drag sorter handler (#28475) 2020-12-22 16:46:52 +08:00
Sidemen19
f600026fde
fix: typo in example code (#28469) 2020-12-22 14:10:34 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
Filip Kukovec
0f87360d2f
feat: upgraded hr_HR locale (#28458)
* Upgraded hr_HR locale

* Update hr_HR.tsx

Disable no-template-curly-in-string lint error

* Update hr_HR.tsx

* Update hr_HR.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-12-21 18:26:16 +08:00
偏右
6a0e0d57f0
feat: support Steps responsive prop (#28459)
close #28409
2020-12-21 17:25:32 +08:00
偏右
8f1466a30f
fix: TextArea value get cut if ime mode (#28456)
close #27686
close #28417
close #27116
2020-12-21 16:22:43 +08:00
YanYuan
0721ef3cfb
fix: fix warning of transformFile prop for upload (#28455) 2020-12-21 15:29:19 +08:00
MoeCasts
8e79dc6057
fix: image 5px problem by set it display:block (#28439)
https://github.com/ant-design/ant-design/discussions/28434#discussioncomment-226935
2020-12-21 10:52:44 +08:00
Mirza Hashir Baig
ca65a985a9
docs: Fixed typo in documentation (#28421) 2020-12-18 18:19:16 +08:00
偏右
1b24bbea90
test(): fix Modal coverage (#28402) 2020-12-17 17:59:16 +08:00
Tom Xu
c00755f9ec Merge branch 'feature' into merge 2020-12-17 15:27:42 +08:00
二货机器人
55e0d13234
chore: Add demo tsx check (#28389)
* chore: Add demo tsx check

* chore: Prettier

* chore: Fix lint

* fix: Upload ts definition

* chore: Demo onlt

* docs: Fix demo

* chore: Add CI action

* chore: Use real name

* chore: fix ts define

* chore: fix more ts

* chore: fix more ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: Update all rest TS demo

* fix test case
2020-12-17 15:09:18 +08:00
Daniel
d598a1d498
fix: fix drawer wrong characters (#28382) 2020-12-16 16:01:26 +08:00
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
chore: merge master into feature
2020-12-16 15:24:20 +08:00
Andrey Zhukov
27df2d96a0
fix: PageHeader title as not required property (#28374) 2020-12-16 14:32:27 +08:00
偏右
80c2f3ee3e
fix: Menu title hover transition bug in Chrome (#28372)
close #28361
2020-12-15 20:22:15 +08:00
afc163
9948d2f3e6 docs: add FAQ about custom form control
close #27994
close #24373
2020-12-15 20:14:09 +08:00
二货机器人
d18e9b99d0
feat: Upload support maxCount (#28367)
* feat: Support maxCount

* docs: Add demo

* test: Add test case
2020-12-15 17:09:52 +08:00
二货机器人
e63856ba9c
docs: Remove Upload transformFile prop (#28365)
* chore: Remove `transformFile` in doc

* clean up

* update snapshot
2020-12-15 15:56:35 +08:00
偏右
a3a64dca73
fix: message.loading return hide type (#28362) 2020-12-15 14:52:17 +08:00
Maksim Nesterenko
d2c1310b10
fix(Tree): leaf-line should set relative position (#28354) 2020-12-15 10:24:49 +08:00
二货机器人
857cbe1b23
fix: Fixed columns z-index issue (#28346)
* fix: Fixed columns z-index issue

* fix lint
2020-12-14 16:04:23 +08:00
Kermit
b68ffc6068
docs: optimize trigger of Form.Item (#28197)
* docs: optimize trigger of Form.Item

* docs: update Form.Item
2020-12-14 11:54:06 +08:00
damon.chen
0059e54ac4
docs: fix AutoComplete allowClear description
Co-authored-by: chj_damon <chjdamon@gmail.com>
2020-12-14 11:10:55 +08:00
afc163
4255f0c1fa test: fix demo snapshot 2020-12-14 10:52:37 +08:00
afc163
7057556379 refactor: Transfer demo to hooks 2020-12-12 12:14:14 +08:00
vouis
c4bb71c599
feat: change type from ScrollLogicalPosition to Options (#28324) 2020-12-11 23:25:21 +08:00
Jack
e6254885bd
fix: titles of TransferProps type to ReactNode (#28326) 2020-12-11 23:23:49 +08:00
vouis
6426dbdfa4
feat: Form scrollToFirstError support ScrollLogicalPosition (#28272)
* feat: Form scrollToFirstError support ScrollOptions type

* feat: Form scrollToFirstError add boolean type

* Apply suggestions from code review

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-12-11 14:35:46 +08:00
arange
d372028476
docs: Update complex-form-control.md (#28311)
Fixing some typos and grammar issues.
2020-12-11 10:30:40 +08:00
偏右
32470b2b08
fix: improve message.then type (#28304)
close #28160
2020-12-11 09:39:58 +08:00
二货机器人
fe53bc6a3b
Merge pull request #28294 from ant-design/master
chore: Feature merge master
2020-12-10 15:09:36 +08:00
Germini
481335bbaa
chore: wave component isHidden function has not invaild hidden css attribute (#28291) 2020-12-10 12:16:06 +08:00
liuchao233
a8fbd224f7
fix: Image.PreviewGroup typescript definition (#28263) 2020-12-10 08:17:29 +08:00
偏右
474dce90dc
Merge pull request #28273 from ant-design/master
chore: merge master into feature
2020-12-09 17:54:36 +08:00
大猫
f4d29bf02c
chore: statisc suffix fontsize inherit from value style (#28223) 2020-12-09 17:13:27 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253)
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix eslint style

* chore: prettier code style

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
偏右
b2a441c967
style: fix Tree node hover bg of unselectable (#28269)
close #28217
2020-12-09 16:36:14 +08:00
aLIEzsss4
6ef5eb1665
docs: fix Form errorFields name (#28270) 2020-12-09 14:41:25 +08:00
偏右
50e8e7d9e1
feat: Table support expandable.columnWidth (#28249)
close https://github.com/ant-design/ant-design/issues/28147
2020-12-09 14:35:41 +08:00
Meowu
b3354d4581
fix: Table filter value type (#28220)
* fix: onChange event receives correct type of filters value.

* fix: related checkbox should be checked if any filters set as filterValue.

* fix: typing.
2020-12-09 14:34:49 +08:00
David Sichau
3562c7aaca
fix: TS definition for Tree (#28262) 2020-12-09 13:56:59 +08:00
Tom Xu
03909941b8
docs: fix tree api and improve other api (#28264) 2020-12-09 09:54:44 +08:00
偏右
5c9ec6c2d9
Merge pull request #28250 from ant-design/master
chore: merge master into feature
2020-12-08 14:17:24 +08:00
Kirill Barsukov
4fa4f4c49f
docs: Fixed typo in preview property (#28242)
There was a simple typo
2020-12-08 08:57:57 +08:00
二货机器人
600fc0a9fe
fix: Standalone Badge motion style (#28240)
* fix: badge motion style

* chore: Clean up related code

* test: Update test case
2020-12-07 21:23:42 +08:00
二货机器人
9cd4fab604
feat: Image add preview style (#28235)
* feat: Add preview mask

* feat: Preview support locale

* test: Update snapshot

* fix lint

* fix lint
2020-12-07 17:08:48 +08:00
liuchao233
f3ff21eca6
feat: Modal.method support afterClose (#28053)
* Modal.method support afterClose

* Update index.en-US.md

* Update index.zh-CN.md

* docs(dropdown): improve demo (#28032)

* Modal.method support afterClose

* add afterClose test case

* resolve conflix

* Update index.en-US.md

Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-12-07 13:44:06 +08:00
zombiej
97906a5ec3 docs: Add FAQ about normalize
close #28129
2020-12-07 11:09:01 +08:00
Tom Xu
5afeac8bb3
docs: use Space improve demo (#28224)
* docs: use Space improve demo

* Update demo.test.js.snap

* fix
2020-12-07 09:21:04 +08:00
jesse
e097830a23
style: Alert rtl (#28108)
* style: Alert rtl

* update

* icon space

* update

* update

* fix
2020-12-06 20:45:49 +08:00
偏右
76f724b058
fix: Tag cursor style (#28219)
close #28218
2020-12-05 23:58:12 +08:00
afc163
ea30b30d8a test(): fix Transfer snapshot 2020-12-05 23:52:40 +08:00
Eugene Matvejev
fa09208cda
refactor: review <Button/> defaultProps (#28211) 2020-12-05 23:08:30 +08:00
偏右
ebb6fcf6c5
fix: Layout overflow style for table sticky (#28176)
* fix: Layout overflow style for table sticky

close #28154

* fix: Layout content bigger width

https://segmentfault.com/a/1190000019498300

* Update index.less
2020-12-05 23:07:17 +08:00
desperado
e22e27dbae
fix: SelectionSelectFn selectedRows to T generic type (#28206)
close #28204
2020-12-04 19:47:30 +08:00
偏右
28d3d9038f
perf(📦): remove @ant-design/css-animation (#28201)
* perf(📦): remove @ant-design/css-animation

* fix test case

* fix test case
2020-12-04 19:36:16 +08:00
Eugene Matvejev
5e42ba482a
refactor: review <LoadingIcon /> simplify it a bit and drop dead function (#28207) 2020-12-04 19:35:27 +08:00
琚致远
d692d655c7
fix: typo in test (#28195) 2020-12-04 15:27:23 +08:00
yanguoyu
4790ef59a2
fix: 防止手动设置 selectedRowKeys 为 undefined 时,derivedSelectedKeys 为 undefined,导致 js crash。 (#28193)
* 1:防止手动设置 selectedRowKeys 为 undefined 时,derivedSelectedKeys 为 undefined,导致 js crash。

* fixed: 防止手动设置 selectedRowKeys 为 undefined 时,derivedSelectedKeys 为 undefined,导致 js crash。
2020-12-04 14:26:23 +08:00
張 盛偉
d12403a26d
refactor: add className in BreadcrumbItemProps (#28182)
* refactor: add className in BreadcrumbItemProps

* refactor: update docs
2020-12-04 09:37:04 +08:00
ZeroToOne
429d0ef625
style(🐛): Fix Steps progressDot style (#28126)
* fix(steps): fix horizontal progressDot steps style problem when current is 0

* style(steps): remove redundant css style

* style(steps): change item-icon background style when step item is process

* fix(steps): fix steps progressDot style
2020-12-03 20:37:46 +08:00
He Linming
9d216d7cef
feat: add showCount.formatter for TextArea (#28145)
* feat: add countFormatter for TextArea

closing #28105

* test: add unit test

* refactor: update api

* docs: fix api docs
2020-12-03 20:33:34 +08:00
偏右
912d5a6ee7
fix: Dropdown arrow style (#28181) 2020-12-03 20:25:12 +08:00
偏右
c20b7ba31e
fix: Dropdown click area (#28180)
close #28168
2020-12-03 20:25:01 +08:00
二货机器人
9178f871a2
Merge pull request #28177 from ant-design/master
chore: Feature merge master
2020-12-03 19:01:41 +08:00
二货机器人
af56eb0a15
fix: Table selection position (#28173) 2020-12-03 17:52:47 +08:00
二货机器人
ab42cd63d4
Merge pull request #28172 from ant-design/master
chore: Feature merge master
2020-12-03 17:52:13 +08:00
Johnny Lim
273ab186da
docs: fix typo (#28164) 2020-12-03 13:45:27 +08:00
Jase Pellerin
13f9285cc6
fix: Allow overlayInnerStyle to pass through (#27682)
Currently, the innerStyle is only passed if a color is provided which does not match the preset colors. This fix allows `overlayInnerStyle` to pass through regardless of the value of `color`.
2020-12-03 11:25:25 +08:00
ZeroToOne
08237bd6ae
feat: add onClick props to Message component (#28131) (#28148)
* feat(message): add onClick method to Message component (#28131)

* feat(message):  remove unnecessary onClick method implementation

* test(message): update onClick test

* feat(message): add event parameter
2020-12-03 10:58:11 +08:00
Jingsong Gao
706ec5cdb1
fix(Tree): fix tree drop indicator default direction (#28150) 2020-12-02 22:12:32 +08:00
Debiancc
ca5b47f674
fix: Add type of initialValue prop to Form.List (#28153)
* fix: Add type of initialValue prop to Form.List

* Update index.zh-CN.md

* Update index.en-US.md
2020-12-02 21:28:46 +08:00
Elaina Cherudim
52ceeafa7e
chore: optimize useModal performance - Do not trigger rerender of parent component (#28122) 2020-12-02 20:00:31 +08:00
einq7
6f0c65779c
fix: TextArea showCount style while using with Form (#28130) 2020-12-02 19:41:47 +08:00
骗你是小猫咪
a3aec7b057
test: skip List loading demo (#28133) 2020-12-02 13:56:18 +08:00
stygian-desolator
a45b8248cf
docs: set image preview false in placeholder demo (#28140) 2020-12-02 13:24:36 +08:00
Liming Jin
83e52a9555
docs: supplement Form.List errors (#28117) 2020-12-01 18:55:40 +08:00
Tom Xu
32a9ba52b8
chore: 🆙 upgrade react 17 (#27268)
#26136
2020-12-01 18:28:35 +08:00
Jarret Moses
4fad2ef958
fix: update CarouselRef goTo args (#28090) 2020-12-01 17:30:38 +08:00
Eugene Matvejev
dda1f2b09c
refactor: <Timeline/> move defaultProps into single destructuring (#28094) 2020-12-01 12:18:13 +08:00
Eugene Matvejev
2cc6b0ca05
refactor: optimize <Timeline/> bundle size (#28095)
* refactor: optimize <Timeline/> bundle size

* refactor: fix typo in <Timeline />

* refactor: fix typescript warning in <Timeline />

* Update Timeline.tsx

Co-authored-by: 偏右 <afc163@gmail.com>
2020-12-01 12:13:41 +08:00
Sam Marks
16bc4bcdab
fix: Collapse.Panel collapsible should be optional (#28092)
It looks like this was broken in https://github.com/ant-design/ant-design/pull/27790. According to `rc-collapse`, the `collapsible` prop inside Collapse.Panel is optional, so it should be optional here as well if we're just forwarding props directly to the child component.
2020-12-01 09:40:35 +08:00
二货机器人
6bb9701e23
Merge pull request #28081 from ant-design/feature
chore: merge feature into master, again
2020-11-30 18:09:33 +08:00
二货机器人
bb60e2ef58
Revert "feat(cascader): support onSearch callback (#28011)" (#28077)
This reverts commit cff73d1f08.
2020-11-30 17:22:55 +08:00
Eugene Molokov
1852e7553e
feat: add a focusTriggerAfterClose prop to Modal for passing down to rc-dialog (#27985)
* Add a focusTriggerAfterClose prop to Modal for passing down to rc-dialog

- set default value to true, similarly to rc-dialog
- add comments to the Modal docs. CN is google-translated though.

* Add a version number to docs

From code review suggestions

Co-authored-by: 偏右 <afc163@gmail.com>

Co-authored-by: Eugeny Molokov <eugeny.molokov@fastdev.se>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 16:57:33 +08:00
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
chore: merge feature into master
2020-11-30 16:17:12 +08:00
二货机器人
2b22743a9a
chore: Narrow selection width (#28073)
* chore: Narrow selection width

* chore: Adjust rtl style
2020-11-30 16:14:44 +08:00
骗你是小猫咪
18c6d6fedb
feat: Image add PreviewGroup component to support multiple images preview (#28069)
* feat: Image add PreviewGroup component to support multiple images preview

* demo and PreviewGroup type

* add demo snapshot
2020-11-30 15:54:54 +08:00
JuniorTour
e063a3a139
fix: hook modal not trigger onCancel (#28063) 2020-11-30 15:25:36 +08:00
二货机器人
3923288275
feat: bump rc-collapse version (#27790)
* refactor: RM rc-animate

* put rc-animate back

* clean up

* chore: Update snasphot

* feat: suport collapsible and deprecated disabled of Panel

* docs: remove disabled of Panel

* chore: bump rc-collapse to 3.1.0

* chore: update deprecated info

* clean up

* chore: update demo and remove rc-animate

* chore: update snapshot

Co-authored-by: Kermit <kermitlx@outlook.com>
2020-11-30 15:20:42 +08:00
Ahmet Simsek
79123e65cc
docs: refactor modal demo (#28060)
* Update basic.md

* Update basic.md

* Update basic.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 14:04:26 +08:00
二货机器人
7bea2380c5
chore: Bump tree & treeSelect version (#28068)
* chore: Bump version

* test: Update snapshot
2020-11-30 13:39:01 +08:00
GSBL
cff73d1f08
feat(cascader): support onSearch callback (#28011)
* feat(cascader): support onSearch callback

* fix(cascader): move onSearch into showSearch

* fix(cascader): rename onSearch to onChange

* fix(cascader): rename onSearch to onChange

* Update index.zh-CN.md

* Update index.en-US.md

Co-authored-by: rgbhuang <rgbhuang@tencent.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 13:21:15 +08:00
偏右
33b96d3461
perf(📦): reduce alert css size (#28067) 2020-11-30 13:07:38 +08:00
不吃猫的鱼
73a07d075e
fix: Cascader not found content should be disabled (#28062) 2020-11-30 11:31:22 +08:00
jesse
4b3aa350b8
feat: Add action in Alert and replace with flexbox layout (#25892)
* feat: Add action in Alert and replace with flexbox layout

* update

* update test

* doc

* Revert "update"

This reverts commit aef6e135a757341becdb01082238d48f7648ec5e.

* Update index.less

* Update index.less

* update test

* Update index.test.tsx.snap

* @alert-closable-padding-right

* Update index.less

* correct top of icon

* correct top of close icon

* fix @alert-closable-padding-right

* update

* doc

* Update components/alert/demo/action.md

Co-authored-by: 偏右 <afc163@gmail.com>

* Remove duplicate css

* Simplify styles of close-icon

* font size of close icon

* update test

* update test

* Remove unused less var

Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 11:04:56 +08:00
07akioni
35ee97dad4
refactor: tree drag behavior (#26462)
* refactor: Tree drag behavior

* fix: cov

* docs: Tree draggable, specify the difference compared with last version
2020-11-29 14:15:08 +08:00
陈帅
4f811cbe82
docs: add a little pro-compents advertising (#28043)
* docs: add a little pro-compents advertising

* docs: add a little pro-compents advertising
2020-11-27 18:29:21 +08:00
偏右
81fffbfe65
fix: Collapse using Table sticky (#28039)
close https://github.com/ant-design/ant-design/issues/28038
2020-11-27 17:11:37 +08:00
二货机器人
0c8a2eb4ae
fix: Use capture (#28037) 2020-11-27 15:53:51 +08:00
Tom Xu
25f1c232c2
docs(dropdown): improve demo (#28032) 2020-11-27 14:31:53 +08:00
Tom Xu
94f2ae9e87
feat: Space add wrap (#27910)
* feat: Space add wrap

* improve

* fix

* Update index.tsx

* change doc

* change docs

* change docs

* 😂

* improve

* change doc

* improve code

* Update Item.tsx
2020-11-27 13:40:40 +08:00
zombiej
8c9abdf317 docs: Add miss prop of Select 2020-11-27 11:34:04 +08:00
Siou
d18d675443
Fix/date picker locale (#28016)
* fix: data picker en_GB locale

* fix: data picker zh_TW locale
2020-11-26 16:51:42 +08:00
jer-sen
2f6d0d9a68
docs: update Modal doc (#28005)
* Typo and clarification for Modal.method closing

* Typo
2020-11-26 10:00:48 +08:00
xrkffgg
e1663d1fc2
style: optimize descriptions border in rtl (#28010) 2020-11-26 09:58:32 +08:00
二货机器人
20788d870c
fix: Badge should not do motion when appear (#28003)
* fix: Badge no need appear motion

* test: Update snapshot
2020-11-25 19:49:44 +08:00
xrkffgg
9db881ce91
refactor: improve mixins modal-mask (#27998) 2020-11-25 19:19:43 +08:00
二货机器人
e19d0e0357
fix: zeroWidth trigger sider not collapsible (#28000)
* test: Test driven

* fix: Hooks for reuse

* test: More test case
2020-11-25 17:28:17 +08:00
xrkffgg
0cec7ff982
fix: Steps vertical style in rtl (#27996) 2020-11-25 14:55:56 +08:00
偏右
05a82f2d48
fix: Menu custom icon style (#27983)
* fix: Menu custom icon style

close #27973

* fix snapshot
2020-11-25 14:31:51 +08:00
Charlie Jonas
fc4592bc06
docs: Added missing property documentation for "searchValue" on Select component (#27992) 2020-11-25 10:52:50 +08:00
偏右
323f99cbf2
fix: Search button style when customize less vars (#27986)
close #27965
2020-11-25 10:50:50 +08:00
Eugene Matvejev
3201693f34
chore: remove not need proxy-function in <Collapse /> (#27962)
* chore: remove not need proxy-function in <Collapse />

* [CodeFactor] Apply fixes to commit b2fa428

[ci skip] [skip ci]

* Update Collapse.tsx

Co-authored-by: codefactor-io <support@codefactor.io>
2020-11-25 10:50:22 +08:00
Eugene Matvejev
683eec118b
chore: make < TimelineItem /> a bit lighter, drop unneeded omit.js and defaultProps (#27961) 2020-11-24 20:19:35 +08:00
Eugene Matvejev
41a6c655bf
refactor: remove defaultProps from <Collapse /> and move logic to destruction, as rest of props for single source of truth (#27963) 2020-11-24 20:06:41 +08:00
偏右
0ca5e686d9
fix: Typography.Link copyable text default behavior (#27982)
close #27966
2020-11-24 20:05:49 +08:00
偏右
7c50bfb1ad
fix: Input.Search addonBefore style (#27960)
close #27829
2020-11-23 21:10:07 +08:00
偏右
7041989b7b
fix(🐛): Carousel throws error Unable to preventDefault inside passive event listener (#27957)
close #27927

https://github.com/akiran/react-slick/issues/1650
2020-11-23 18:47:21 +08:00
CodingYingYingYing
e0c19e4a3d
fix: 修改beforeUpload ts定义 (#27946)
Co-authored-by: zhoubingling.00 <zhoubingling.00@bytedance.com>
2020-11-23 13:14:54 +08:00
诸岳
709e048576 Merge branch 'master' into feature-branch-merge-master 2020-11-23 10:18:15 +08:00
陈帅
ec9111ed8d
fix: fix _internalItemRender transparent transmission problem (#27934) 2020-11-23 10:10:28 +08:00
Alexander Ionov
66f425c1ef
fix: CarouselRef type (#27935)
* CarouselRef type

* fix: CarouselRef type
2020-11-23 10:08:24 +08:00
诸岳
4317286c28
Merge pull request #27884 from ant-design/feat/statistic-suffix
feat: change statistic deciaml font size
2020-11-22 12:55:16 +08:00
xrkffgg
f4a69d3711
Merge pull request #27925 from ant-design/merge
chore: merge master into feature
2020-11-21 22:07:09 +08:00
He Linming
0ca5326176
feat: Support closeIcon of Modal.method (#27909)
* feat: Support closeIcon of Modal.method

close #27900

* style: update modal conform close style

* test: update unit test for close button of confirm modal

* docs: update api doc

* refactor: reuse modal close button

* test: update unit test

* feat: add closable api for ConfirmDialog

* chore: use default props

* Update default.less

Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-21 21:13:28 +08:00
Tom Xu
ea85335ca1
refactor: remove not use code (#27926) 2020-11-21 20:42:32 +08:00
Tom Xu
0676f07266 Merge branch 'feature' into merge 2020-11-21 19:50:41 +08:00
二货机器人
388edca10b
refactor: UploadList use rc-motion instead of rc-animate (#27923)
* chore: Update rc-motion version

* refactor: Move item into single file

* refactor: Use CSSMotion of progress bar

* chore: part style it

* chore: slit style of pic card

* chore: RM count-x

* support appendAction back

* chore: Style smooth

* fix progress makes shaking

* docs: clean up demo

* test: Update snapshot

* test: fix test case

* fix: lint

* test: Update snapshot

* test: coverage

* clean up
2020-11-21 19:00:11 +08:00
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts (#27920)
ref.ts remove
2020-11-21 15:40:06 +08:00
Matt Wilkinson
d0ed231dba
docs: fix typo on Component Overview docs (#27919)
* fix recommend typo

* fix: recommend typo

* fix: revert space added to pass Semantic check
2020-11-21 08:29:38 +08:00
xrkffgg
6412140cae
fix: RangePicker panel style & picker 2.4.0 (#27894)
* fix: RangePicker panel style & picker 2.4.0

* add snap & rtl

* add

* fix
2020-11-21 00:33:21 +08:00
陈帅
95ce54ca79
feat: FormItem support _internalItemRender (#27881)
* feat: formitem support _internalItemRender

* add mark

* up rc-field-form

* fix ts error

* Update components/form/FormItemInput.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* update notes

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-20 21:43:43 +08:00
Tom Xu
dfdea4c347 Revert "refactor: input remove not use code (#27895)"
This reverts commit d5b63f8a61.
2020-11-20 16:42:18 +08:00
Tom Xu
d5b63f8a61
refactor: input remove not use code (#27895) 2020-11-20 14:13:00 +08:00
二货机器人
093a458026
feat: Support label & content style of Desc (#27897)
* feat: Support label & content style of Desc

* test: Update snasphot

* docs: fix desc
2020-11-20 13:41:58 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf (#27864) 2020-11-20 12:11:50 +08:00
Tom Xu
d4e8ac4499 fix: texterea test 2020-11-20 11:01:10 +08:00
Tom Xu
a9602b6d71 Merge branch 'feature' into merge-feature 2020-11-20 10:15:53 +08:00
Tom Xu
986fa9000f
refactor: AutoComplete dataSource prop type (#27892) 2020-11-20 10:11:58 +08:00
ElsaOOo
c7d591e9ab
fix: AutoComplete dataSource prop type error (#27870)
Co-authored-by: jingjing.ye <jingjing.ye@datayes.com>
2020-11-20 09:33:35 +08:00
Tom Xu
b3d0f1d2c6
refactor(checkbox): rewrite with hook (#27739)
* refactor(checkbox): rewrite with hook

* Update index.test.js.snap

* Update Group.tsx
2020-11-20 08:58:14 +08:00
Tom Xu
050185bce1
refactor(layout.sider): rewrite with hook (#27719)
* refactor(sider): rewrite with hook

* Update layout.tsx

* Update layout.tsx
2020-11-20 08:56:12 +08:00
兼续
310c16bf06 feat: change statistic deciaml font size 2020-11-19 19:07:53 +08:00
xrkffgg
1f935803f8
fix: Tree switcher icon in rtl (#27876)
* fix: Tree switcher icon in rtl

* remove
2020-11-19 17:20:32 +08:00
二货机器人
8e3c828c9f
feat: Form.List support initialValue (#27872)
* feat: upport initialValue List

* docs: Update doc
2020-11-19 14:29:57 +08:00
偏右
db49d1174c
style(💄): fix Switch loading style (#27860)
close #27858
2020-11-18 19:01:56 +08:00
二货机器人
507b596926
refactor: Replace Badge with rc-motion (#27848)
* refactor: Replace Badge with rc-motion

* fix: Cache for hidden

* fix: Dot style

* revert demo

* fix demo snapshot

* test: Update snapshot

* test: Update snapshot
2020-11-18 18:32:00 +08:00
偏右
6836414300
style(💄): optimize Skeleton color (#27836)
* style(💄): optimize Skeleton color

* Update package.json
2020-11-18 18:07:49 +08:00
二货机器人
4703001e15
Revert "fix(Select): export SelectInterface to avoid ts error (#27838)" (#27857)
This reverts commit bc566c0731.
2020-11-18 17:34:30 +08:00
二货机器人
5ea58857f9
test: Update snapshot (#27854)
* chore: Update badge snapshot

* test: Update snapshot
2020-11-18 17:23:46 +08:00
Joseph Burton
e3a013f6cf
refactor: remove duplicate deconstruction in components/form/Form.tsx (#27810)
* refactor: make the code more concise

* Update Form.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-11-18 15:29:26 +08:00
偏右
fa7cb53239
chore: update comment about break point
close https://github.com/ant-design/ant-design/issues/27843
2020-11-18 14:28:52 +08:00
Dave
4aa06ca28b
feat(type): export ImageProps interface (#27846) 2020-11-18 13:48:30 +08:00
liuchao233
c04e51048d
fix: Spin render 0 (#27839) 2020-11-18 11:59:29 +08:00
Tom Xu
30372ffad3
refactor(textarea): rewirte with hook (#27693)
* refactor(textarea): rewirte with hook

* Update TextArea.tsx

* Update TextArea.tsx

* Update TextArea.tsx

* Update ClearableLabeledInput.tsx

* fix

* improve

* Update TextArea.tsx
2020-11-18 11:27:58 +08:00
Tom Xu
44e41b5ced
refactor(trans-button): rewrite with hook (#27743)
* refactor(trans-button): rewrite with hook

* Update Base.tsx

* Update util.test.js

* Update transButton.tsx

* Update transButton.tsx

* Update transButton.tsx

* Update util.test.js
2020-11-18 11:20:31 +08:00
二货机器人
b8861dc483
refactor: Replace BackTop with rc-motion (#27840) 2020-11-17 23:03:07 +08:00
pd
bc566c0731
fix(Select): export SelectInterface to avoid ts error (#27838) 2020-11-17 22:05:32 +08:00
偏右
c464f61f39
Merge pull request #27822 from ant-design/master
chore: merge master into feature
2020-11-17 13:03:46 +08:00
二货机器人
1a8bb04bf8
chore: Use rc-util composeRef (#27821) 2020-11-17 12:01:02 +08:00
wf-francescoalbanese
696396a62f
refactor: make autosize true by default (#27814)
Made `autoSize = true` by default deconstructing it from props, rather than explicitly checking if it's undefined at render times.
2020-11-17 11:02:59 +08:00
Eugene Matvejev
1ab93a3cf4
refactor: Radio.Group defaultProps (#27807) 2020-11-17 11:01:05 +08:00
Tom Xu
572601fb4b
docs(cascader): change demo to hook (#27745) 2020-11-17 11:00:06 +08:00
afc163
a60ce663fe docs(📖): improve Menu doc
close #27820
2020-11-17 10:59:08 +08:00
二货机器人
92cefa8aa6
Merge pull request #27805 from atzcl/master
docs(TreeSelect): add onDropdownVisibleChange api description
2020-11-17 10:22:41 +08:00
Eugene Matvejev
21775482ab
refactor: improve card/Grid to save some bundle size after transpilation (#27804)
* improve card/Grid to save some space in transpile

* fix tslint error
2020-11-16 22:16:33 +08:00
atzcl
8e7c5b5e0a docs(TreeSelect): add onDropdownVisibleChange api description 2020-11-16 21:28:03 +08:00
偏右
f4c7058bd9
fix: Modal.confirm locale missing (#27797)
* fix: Modal.confirm locale missing

* fix snapshot

* refactor
2020-11-16 20:21:39 +08:00
Tom Xu
ef77539920
refactor(search): use context (#27657)
* refactor(search): use context

* Update Search.tsx
2020-11-16 19:18:48 +08:00
偏右
e0c26b4ac1
style(💄): fix Button and Form loading spin animation (#27794) 2020-11-16 18:05:00 +08:00
Hossein Mohammadi
4b1000fb7f
fix: React 17 findDOMNode is deprecated (#27755)
* fix: use ref instead of findDOMNode

* chore: use fillRef in setAndForwardRef

* chore: use rc-util fillRef instead

* chore: use support ref

* test: removed empty class

* chore: use composeRef instead of setAndForwardRef
2020-11-16 16:46:46 +08:00
zombiej
e6e74564a1 update snasphot 2020-11-16 16:39:58 +08:00
zombiej
7af0cb0d9f chore: Feature merge master 2020-11-16 16:17:42 +08:00
youmoo
56b3c7539f
docs: fix typo in demo (#27781) 2020-11-16 09:27:02 +08:00
骗你是小猫咪
3f126f116f
test: skip tree virtual-scroll render (#27771)
* test: skip tree virtual-scroll render

* test: remove branches-ignore, and use head ref to fix when merged
2020-11-14 21:24:37 +08:00
Shengnan
9bcd511ae6
fix(select): tags mode white space wrapping issue (#27726)
Co-authored-by: baxtergu <gu.shengnan@iwhalecloud.com>
2020-11-14 16:30:13 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
wf-erikslokharts
478f611a16
chore: refactor LoadingIcon.tsx (#27765) 2020-11-14 00:13:48 +08:00
Eugene Matvejev
d1d215e222
chore: improve code style and perf (#27760) 2020-11-13 19:37:23 +08:00
Eugene Matvejev
9913062d42
small cleanup in button.tsx (#27759) 2020-11-13 19:26:48 +08:00
LeoYang
520407925a
docs(date-picker): modify datepicker select-in-range demo (#27751)
* feat: modify datepicker select-in-range demo

* fix: lint
2020-11-13 17:05:16 +08:00
afc163
7f8957eb9a docs(📖): improve useModal FAQ 2020-11-13 16:51:55 +08:00
叶枫
1155d44321
fix: checked 非必须 (#27717)
* fix: checked 非必须

* docs: desc

* fix: 😶

* Update CheckableTag.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-13 12:05:20 +08:00
Tom Xu
90872cf3bd
docs(select): change demo to hook (#27736) 2020-11-13 09:33:57 +08:00
xrkffgg
c80524f475
fix: Typography.Link disabled hover style (#27734) 2020-11-13 09:06:35 +08:00
Shivam Modi
3d04e5d3fb
docs: fixed nested ternary operator in Form (#27724) 2020-11-12 23:20:13 +08:00
einq7
652374ff4c
fix: DateRangePicker hover effect overflow (#27731)
* fix: DateRangePicker hover effect overflow

* fix: update rtl style
2020-11-12 23:11:21 +08:00
Tom Xu
57246c518f
docs(grid): fix api table (#27723) 2020-11-12 19:55:50 +08:00
Tom Xu
7b6bb4244d
docs(radio): change demo to hook (#27722) 2020-11-12 19:54:57 +08:00
Tom Xu
5b7811f2ee Merge branch 'feature' into merge 2020-11-12 15:24:00 +08:00
zombiej
8d1ed2822b docs: Remove useless code 2020-11-12 11:32:10 +08:00
Shivam Modi
5818fdb1a2
fix Specific Note for option other for Gender in Form (#27704) 2020-11-12 11:30:56 +08:00
xrkffgg
9c009f9bdb
style: add @radio-border-width (#27703) 2020-11-11 23:44:49 +08:00
Tom Xu
c3f6a38c65
docs(carousel): change demo to hook (#27698) 2020-11-11 20:13:36 +08:00