Commit Graph

12704 Commits

Author SHA1 Message Date
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
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
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
偏右
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
二货机器人
af56eb0a15
fix: Table selection position (#28173) 2020-12-03 17:52:47 +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
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