Commit Graph

12697 Commits

Author SHA1 Message Date
偏右
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
陈帅
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