Commit Graph

11839 Commits

Author SHA1 Message Date
xrkffgg
62fb03527c
docs: fix missing (#25053) 2020-06-17 17:08:47 +08:00
xrkffgg
7392c7491a
docs: remove unnecessary (#25026)
* docs: remove unnecessary

* fix: div
2020-06-17 14:48:26 +08:00
二货机器人
dc4b420d51
fix: Search crash in AutoComplete (#25049) 2020-06-17 13:35:12 +08:00
xrkffgg
395c0c8bc9
docs: reduce dropdown demo (#25005) 2020-06-17 12:41:53 +08:00
xrkffgg
ff0c00d624
docs: reduce layout demo (#25003) 2020-06-17 11:51:43 +08:00
xrkffgg
ce54cee482
docs: reduce affix demo (#25004)
* docs: reduce affix demo

* fix
2020-06-17 11:51:06 +08:00
二手掉包工程师
39fe6fdcb6
refactor: refine some typos (#25036) 2020-06-17 10:58:24 +08:00
zoomdong
1de1ce7504
feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035)
* feat: update rc-picker@1.7.1

* delete

* add
2020-06-17 09:20:23 +08:00
07akioni
8dc16037d0
fix: nested unbordered table inside a bordered table has border. (#24995)
* fix: nested unbordered table inside a bordered table has border.

* docs: debug nested bordered table

* test: update snapshot

* fix: nested table border overlap

* test: update snapshot
2020-06-16 20:57:09 +08:00
二手掉包工程师
e54df4a41e
refactor: rewrite Password with hooks (#25012)
* refactor: rewrite Password with hooks

* refactor: remove state

* refactor:fix lint

* refactor:fix lint

* test: add size case
2020-06-16 19:49:08 +08:00
07akioni
8906dfb549
feat: showNow on timepicker and datetimepicker (#25032) 2020-06-16 18:59:48 +08:00
二货机器人
1ef7e4e296
feat: export Tabs addIcon (#25006)
* feat: export Tabs addIcon

* update snapshot
2020-06-16 17:54:53 +08:00
Harutaka Kawamura
87875eeb8a
fix: allow selecting only value on double click on Descriptions.Item (#24983)
* Wrap children with div

* Add display: inline

* Revert changes

* Wrap content by div

* Revert "Wrap content by div"

This reverts commit 90e827af1b.

* Insert invisible space

* Insert <i> before <span> for content

* Use @afc163's approach
2020-06-16 14:22:58 +08:00
07akioni
6899c327c7
fix: List label text not start aligned in safari (#25018) 2020-06-16 13:35:21 +08:00
偏右
65355a3855
Merge pull request #25016 from ant-design/master
chore: Feature merge master
2020-06-16 13:06:51 +08:00
二手掉包工程师
50401d0c4d
test(Search): remove useless async (#25017) 2020-06-16 11:51:01 +08:00
07akioni
e2337e0021
fix: reduce table filter dropdown max-height (#25001) 2020-06-16 11:27:08 +08:00
07akioni
298d903630
fix: List.Item.Meta width overflow (#24992)
* fix: List.Item.Meta width overflow

* refactor: not hide overflow on list-item-content
2020-06-16 11:17:58 +08:00
偏右
351c842015
fix: PageHeader tabs broken style since 4.3.0 (#24991)
close #24989
2020-06-15 21:34:42 +08:00
Martin Cermak
638a37832b docs: Table sorting with handle using react-sortable-hoc 2020-06-15 18:37:20 +08:00
hicrystal
0b1e85452b
feat: Add modal style parameter (#24773)
* add some paramters in default.less

* Update components/style/themes/default.less

Co-authored-by: Amumu <yoyo837@hotmail.com>

* change parameter in compact.less

Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-06-15 17:53:30 +08:00
Jurriaan BW
4347eda0fe
fixed typedef of Slider value (#24652) 2020-06-15 17:50:36 +08:00
xrkffgg
d8482546ed
fix: sub menu background when dark compact (#24997) 2020-06-15 17:16:03 +08:00
07akioni
520fbca0f4
refactor: Reduce Button CSS size (#24996)
* refactor: reduce button css size

* refactor: remove redundant button .less code
2020-06-15 16:00:15 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
chore: merge master into feature
2020-06-14 23:29:07 +08:00
二货机器人
0f46173410
fix: Form.validateTrigger not work (#24979)
* fix: Merged validateTrigger

* test case
2020-06-14 14:15:17 +08:00
Ashkan Pourghasem
cc12109d46
feat: Implement centered prop in Tabs (#24958)
* Implement centered in Tabs along with its tests and docs

* Fix build error

* Add Chinese translations and remove test case

Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
2020-06-14 13:42:44 +08:00
zoomdong
77ddbfc525
feat: update pagination@2.3.0 support onChange called when pageSize change (#24964)
* feat: update pagination@2.5.0 and add test case to relative component

* fix: lint

* delete

* feat: add test case for pagination

* adjust test case
2020-06-13 14:26:29 +08:00
Kermit Xuan
294fc8a7ea
chore: replace textarea with rc-textarea (#24966) 2020-06-13 14:24:56 +08:00
hehe
ae49280ca0
chore: rm incorrect table props (emptyText) (#24948) 2020-06-13 02:29:20 +08:00
二手掉包工程师
544f407dd1
chore: add displayName Search name (#24965) 2020-06-12 23:32:06 +08:00
Kermit Xuan
e5348e77c2
feat: Mentions support autoSize (#24961)
close #17746
2020-06-12 23:26:30 +08:00
samir elsharkawy
64b7b551e2
feat: Improve fr_FR localisations (#24962)
- Add missing `Table` fields
- Add `PageHeader`
- Update one field in `Transfer` to stay consistent
- Make all `Text` localisation upper case to stay consistent
2020-06-12 23:22:45 +08:00
zefeng
02021836e1
chore: fix tabs-demo style in compact mode (#24922) 2020-06-12 23:17:45 +08:00
zoomdong
abebd55f0e
feat: add Skeleton-Image (#24805)
* feat: add Skeleton-Image

* feat: add docs

* fix: adjust skeleton

* feat: adjust Image Component

* feat: rebase

* feat: adjust style

* fix: lint

* feat: remove size

* feat: delete md

* feat: fix style
2020-06-12 22:44:32 +08:00
二货机器人
8a2ccae477
fix: Table shouldCellUpdate (#24963) 2020-06-12 22:14:42 +08:00
二手掉包工程师
f7934f5df2
refactor: rewrite Search with hook (#24901)
* wip: rewrite Search with hook

* fix: use forwardRef

* fix: use forwardRef

* test: add prevent test

* test: refine code
2020-06-12 18:50:36 +08:00
xrkffgg
6fb38c342f
fix: add modal confirm default icon (#24956) 2020-06-12 18:11:42 +08:00
偏右
31a9fffeac
fix: List grid not working in React.Fragment or wrapped List.Item (#24955)
* fix: List grid not working for Fragment or wrapping List.Item

close #24553
close #24828

* remove unused code

* no need extra wrap div for List without grid prop
2020-06-12 18:11:29 +08:00
07akioni
f6c8f81484
fix: shoundn't keep table filterDropdown inner status in controlled mode (#24952)
* fix: shoundn't keep table filterDropdown inner status in controlled mode

* chore: remove useless code in table.filter.test
2020-06-12 18:05:46 +08:00
sosohime
905ddfc2c7
Avatar falling back to children on image error (#24944)
Co-authored-by: 贺业晟 <heyesheng@bytedance.com>
2020-06-12 15:26:40 +08:00
07akioni
0879bd5df3
feat: remove content max-width on dot-step (#24907) 2020-06-12 15:02:31 +08:00
偏右
b2764a08c8
refactor: move Result children to end (#24945) 2020-06-12 13:40:36 +08:00
07akioni
ec87ea408b
fix: getTargetContainer is not omit in Drawer (#24938) 2020-06-12 10:39:52 +08:00
zoomdong
e129b0aae9
refactor(avatar): rewrite with hook (#24925)
* refactor Avatar

* add snapshot

* fix: lint
2020-06-12 10:36:53 +08:00
Miclle Zheng
3d51c801e6
Upload support patch method (#24936) 2020-06-12 10:31:07 +08:00
二货机器人
ada59b9d37
fix: Field id (#24929) 2020-06-11 22:25:58 +08:00
二货机器人
83b028c7fe
fix: Tabs dropdown overflow (#24928) 2020-06-11 22:08:12 +08:00
xrkffgg
2331ed0b39
docs: reduce typography demo (#24915) 2020-06-11 21:20:08 +08:00
07akioni
718f362aea
docs: remove combobox related descriptions of Select (#24923) 2020-06-11 21:19:58 +08:00
07akioni
6cc16fb7f5
docs: adapt table edit-rows demo's style to 4.0 (#24926) 2020-06-11 21:18:18 +08:00
xrkffgg
7a5939fa37
feat: add @rate-star-hover-scale (#24917) 2020-06-11 20:51:55 +08:00
偏右
86e4cd1c0f
add test case to Select (#24912) 2020-06-11 18:01:45 +08:00
xrkffgg
cb544f7feb
docs: reduce button demo (#24908) 2020-06-11 15:24:24 +08:00
xrkffgg
f37f471373
feat: expand rate character (#24903)
* feat: expand rate character

* fix: demo

* fix: snap

* Update components/rate/index.zh-CN.md

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

* fix

Co-authored-by: 偏右 <afc163@gmail.com>
2020-06-11 14:11:21 +08:00
xrkffgg
aa6c0a19c8
feat: add radio optionType api to set radio option type (#24809)
* feat: radio component

* docs: update md

* fix: snap

* test components

* fix: use optionType

* fix name

* add warning

* fix
2020-06-11 13:21:54 +08:00
zombiej
07a8ce1976 snapshot 2020-06-11 11:09:40 +08:00
zombiej
28ca1afa17 update snapshot 2020-06-11 10:59:46 +08:00
zombiej
cbeecdc41f merge master 2020-06-11 10:38:50 +08:00
xrkffgg
312e4b24bc
feat: add closeIcon customize tag close (#24885)
* feat: add closeIcon customize tag close

* docs fix

* update snap

* fix: css name
2020-06-10 16:07:29 +08:00
Hanz Luo
8af5e65467
style: optimize comment actions style (#24869) 2020-06-10 12:44:19 +08:00
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs (#24881) 2020-06-10 11:12:31 +08:00
nitinknolder
b2c359cb34
fix: Add interface for Option props. (#24870)
* nitinknolder:export option props

* Add interface for option props in select component

* resolve pr comment
2020-06-10 11:00:01 +08:00
zoomdong
9a6c2f667a
docs: fix typo of Typography (#24883)
* docs:typo of Typography

* update snap
2020-06-10 10:06:17 +08:00
xrkffgg
d380a8d3e4
style: add @divider-orientation-margin less (#24877)
* style: add `@divider-text-left-width` less

* fix: name
2020-06-10 09:37:48 +08:00
zoomdong
6619c14579
docs: refine typo of Skeleton (#24878)
* fix: docs of Skeleton

* fix: typo
2020-06-09 23:22:28 +08:00
Neto Braghetto
8957d37bfd
feat: add Table onChange an action param (#24697)
* Working on tests

* created TableAction type

* changed TableActions to tuple

* removed chinese documentation line

* refactor TableActions

* fix documentation

* Moved action into extra param

* minor doc change
2020-06-09 21:41:11 +08:00
二货机器人
8e6667880f
fix: Tabs shaking of content (#24873)
* fix: Tabs shaking when component auto size

* update test case

* update snapshot
2020-06-09 21:01:58 +08:00
Pubudu Kodikara
c72c773e67
fix: export CardInterface from Card resolves #24864 (#24866) 2020-06-09 19:54:59 +08:00
07akioni
a0893fcd0b
refactor: reduce CSS size (#24846)
* refactor: reduce button css size

* refactor: remove redundant button .less code
2020-06-09 19:39:37 +08:00
二货机器人
a9a651ffd5
fix: Form List warning (#24867)
* fix: Form List warning

* clean reaf
2020-06-09 18:10:43 +08:00
xrkffgg
4c39678ac8
feat: 🆕 Cascader expandIcon (#24865)
* feat: cascader expandIcon

* fix: snap
2020-06-09 17:31:19 +08:00
xrkffgg
4e2118cad0
docs: update picker placeholder (#24861) 2020-06-09 13:07:39 +08:00
eenlars
7f48f7336c
docs: Update placeholder type for Rangepicker (#24853)
* Update placeholder possibilities for Rangepicker

A rangepicker needs two placeholder fields instead of one. It is an array of two strings.
2020-06-09 12:51:34 +08:00
二货机器人
d6d3de8a1b
fix: table multiple sorter (#24852)
* fix sort callback

* add test case
2020-06-08 22:45:53 +08:00
David Sichau
af5ff52a27
fixed code that increased package size if tree shaking is disabled (#24847) 2020-06-08 22:11:25 +08:00
zombiej
b2f3596f7d docs: Update mobile position of tabs
close #24831
2020-06-08 20:51:44 +08:00
偏右
5c18fbdb66
feat: 🆕 support Drawer closeIcon (#24842)
* feat: 🆕 support Drawer closeIcon

close #19283
close #19153

* add test case

* update docs
2020-06-08 19:24:29 +08:00
偏右
25f19771ea
Merge pull request #24839 from ant-design/master
chore: merge master into feature
2020-06-08 18:33:02 +08:00
偏右
637aa09bc5
chore: fix some eslint problems (#24836)
* 💄 fix lint

* 💄 fix lint
2020-06-08 18:01:50 +08:00
二货机器人
1eb702b166
fix: steps nav active line height, 3px -> 2px (#24829)
Co-authored-by: 愚道 <tingzhao.ytz@antfin.com>
2020-06-08 16:33:37 +08:00
07akioni
1fdccc9c73
feat: cascader dropdown-render prop (#24812)
* feat: cascader dropdown-render prop

* fix: update Cascader dropdownRender type annotation

* fix: set rc-cascader semver from ^ to ~

* docs: fix coding style in cascader/custom-dropdown
2020-06-08 16:19:28 +08:00
07akioni
fcfd080f0a
chore: change the style of ghost collapse & demo modified (#24762)
* refactor: reduce content padding in ghost collapse

* doc: remove the wrapper outside ghost collapse

Designer want the demo differs from other demos

* refactor: remove redundant .less code in collapse
2020-06-08 16:19:05 +08:00
xrkffgg
7071ac7f6e
fix: rewrite drag table demo (#24824) 2020-06-08 15:28:28 +08:00
07akioni
ece5c03526
doc: select dropdownRender no longer accepts props (#24814) 2020-06-08 13:54:53 +08:00
偏右
69db6faebe
Add test cases for Notification (#24808) 2020-06-07 21:47:07 +08:00
偏右
965fce5d0b
fix: Menu SubMenu scroll problem (#24806)
close #24064
close #24800
2020-06-07 20:57:43 +08:00
陈帅
30217ade3f
fix: Drawer cannot open (#24802)
* bugfix: fix drawer getContainer is null error

* add test
2020-06-07 19:05:44 +08:00
zoomdong
6129d3a1eb
fix: typo on skeleton element (#24792) 2020-06-06 23:07:11 +08:00
Jaewook Ahn
ce0505561a
Add ko_KR localizations for Form (#24783) 2020-06-06 16:08:20 +08:00
偏右
5e1be364c4
fix: TimePicker.RangePicker bordred when has className (#24781)
* fix: TimePicker.RangePicker don't support bordred={false}

when has className

close #24768

* fix snapshot
2020-06-06 15:26:51 +08:00
偏右
e3a7635a2a
fix: Statistic don't work with Tooltip (#24782)
close #24774
2020-06-06 15:25:47 +08:00
zoomdong
e508ee778d
fix: bugs on pageSize change in List (#24514)
* fix: bugs on pageSize change in List

* fix: update pagination props

* fix: delete console

* fix: lint

* feat: add test case

* feat: test case

* feat: add test case

* fix: update

* adjust

* fix: lint

* feat: adjust code

* fix: lint

* feat: add test case

* feat: complete test case
2020-06-06 15:09:59 +08:00
afc163
4b239d65c0 fix snapshot 2020-06-06 14:53:27 +08:00
afc163
019eeec3ce fix: TimePicker.RangePicker don't support bordred={false}
when has className

close #24768
2020-06-06 14:37:08 +08:00
偏右
584f9fd907
🗑️ remove Tag afterClose from docs (#24779) 2020-06-06 14:14:30 +08:00
afc163
e09ce6284e 🎬 update DatePicker and TimePicker demo 2020-06-06 14:01:29 +08:00
xrkffgg
955fa520f1
fix: badge offset in rtl (#24724)
* fix: badge offset in rtl

* fix: update snap

* add test

* fix: offset

* fix: snap
2020-06-06 13:20:09 +08:00
wendellhu
4512d467ab
feat: dropdown support arrow (#23869)
* feat: dropdown support arrow prop

close #22758

* test: update snapshot

* fix: fix dropdown cls names

* test: update snapshot

* test: update snapshot

* doc: update demo

* test: update demo snapshot

* demo

* fix: snapshot
2020-06-05 20:12:18 +08:00
偏右
e361b30ded
refactor: Card demo and code (#24764)
* 🎬 update Card demo

* refactor card code

* 🎬 update Tabs demo

* update snapshot
2020-06-05 20:11:25 +08:00