Commit Graph

12673 Commits

Author SHA1 Message Date
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