Commit Graph

8828 Commits

Author SHA1 Message Date
陈帅
8a4857d91f better ts type 2019-03-28 18:57:13 +08:00
陈帅
e9df687df5 better ts type 2019-03-28 18:55:52 +08:00
wangxing
44ad6b0c07 fix-15699 2019-03-28 17:04:26 +08:00
Dana Janoskova
a543c7db6a add default html type + fix switch 2019-03-28 09:58:37 +01:00
babycannotsay
c3a6e47cc3
fix prop 'onLoaded' of TreeProps
set onLoaded to onLoad in order to be same as rc-tree
2019-03-28 16:20:59 +08:00
afc163
47084696b9
Fix snapshot 2019-03-28 12:25:44 +08:00
afc163
acd1123df9
🐛 Fix Spin style when indicator is Icon
close #15693
2019-03-28 12:20:12 +08:00
zy410419243
ae8b52c290 fix: MenuItem should not render Tooltip when inlineCollapsed is false 2019-03-28 10:55:26 +08:00
Ferdi Koomen
c6d044f744 - Fix for changes in @types/react (see issue #15700) 2019-03-27 22:28:59 +01:00
偏右
f5746ae8ba
Merge pull request #15690 from ant-design/fix-tag-wrap
Revert tag wrap style
2019-03-27 18:39:02 +08:00
afc163
7105cbb552
🐛 revert tag wrap style
revert for https://github.com/ant-design/ant-design/pull/15526#issuecomment-477043058
2019-03-27 17:46:54 +08:00
jljsj33
eecf0a61bf support level 2 breadcrumb 2019-03-27 17:46:51 +08:00
偏右
bebbbe20f1
Merge pull request #15671 from levkovich2806/patch-1
Update index.en-US.md
2019-03-27 10:37:11 +08:00
Sergey Levkovich
0975eac8bf
Update index.en-US.md 2019-03-27 00:44:29 +03:00
afc163
e3559ffb32
🐛 Fix clear icon style in Input/Input.Search
close #15237
2019-03-26 22:40:10 +08:00
afc163
9f3ef09717
Fix demo snapshot 2019-03-26 22:40:10 +08:00
afc163
3a26573394
📝 Optimize prefix/suffix demo 2019-03-26 22:40:10 +08:00
偏右
a3cfbb1a94
Merge pull request #15654 from ant-design/test-focus-auto-complete
Add test case for AutoComplete
2019-03-26 22:38:30 +08:00
Sergey Levkovich
ae16e4df61
Update index.en-US.md
Add commas in object
2019-03-26 16:56:42 +03:00
Andrés
fa69687733
Fix minor misspelling in less template comment 2019-03-26 10:39:16 +01:00
afc163
94db815765
Add test case for AutoComplete 2019-03-26 15:33:33 +08:00
偏右
e752ec3414
Merge pull request #15638 from ant-design/master
Merge master to feature
2019-03-26 14:34:17 +08:00
偏右
f4a92d0997
Merge pull request #15541 from easyops-cn/add-radio-button-checked-bg
refactor: add @radio-button-checked-bg
2019-03-26 13:41:29 +08:00
afc163
f486c4e7e0
📝 Optimize Form TypeScript usage, #15642 2019-03-26 12:27:49 +08:00
afc163
a462c2ddf4
Fix react-dnd demo broken in react 15 2019-03-26 12:27:32 +08:00
zy410419243
c1bfa0d901 fix: conflicts 2019-03-25 21:48:18 +08:00
zy410419243
1e3efc4069 chore: remove unexpected mock restore 2019-03-25 21:48:18 +08:00
zy410419243
d1ed127030 pref: add missing mockRestore 2019-03-25 21:48:18 +08:00
zy410419243
355d58b0fa chore: update description 2019-03-25 21:48:18 +08:00
zy410419243
cdfdb2fa50 Revert "chore: remove unreachable code"
This reverts commit b438566fe315c424665a6d498cc60a6517ea238a.
2019-03-25 21:48:18 +08:00
zy410419243
acaff8dea2 pref: clearInterval should not be called before unmount 2019-03-25 21:48:18 +08:00
zy410419243
2ee56a9c4a pref: spy on clearInterval for Upload & check actions for Card 2019-03-25 21:48:18 +08:00
zy410419243
337e0285ec chore: remove useless test cases 2019-03-25 21:48:18 +08:00
zy410419243
86f5255c3e chore(Mention): skip react 15 2019-03-25 21:48:18 +08:00
zy410419243
af6716a2c7 pref(Mention): check Mention.Nav 2019-03-25 21:48:18 +08:00
zy410419243
2aca6fc51a pref(Menu): instance() => simulate 2019-03-25 21:48:18 +08:00
zy410419243
6571a29a55 pref: instance() => simulate, for Card 2019-03-25 21:48:18 +08:00
zy410419243
0c8e12661d chore: remove unreachable code for Card 2019-03-25 21:48:18 +08:00
zy410419243
a20536f850 chore: update type of Header 2019-03-25 21:48:18 +08:00
zy410419243
19dc14af5c refactor: abstract common method for comparison 2019-03-25 21:48:18 +08:00
zy410419243
cfe531a54a pref: use simulate function to replace calling functions in class 2019-03-25 21:48:18 +08:00
zy410419243
0d932f79b8 chore: remove any 2019-03-25 21:48:18 +08:00
zy410419243
cc8d8b05aa pref: call setProps rathor than componentDidUpdate 2019-03-25 21:48:18 +08:00
zy410419243
64b6197441 test: update cases for Mention 2019-03-25 21:48:18 +08:00
zy410419243
8eec4a801a chore: remove eslint-disable => add function name 2019-03-25 21:48:18 +08:00
zy410419243
316250936c test: update cases for Transfer 2019-03-25 21:48:18 +08:00
zy410419243
a5016a2a1f test: update cases for Affix 2019-03-25 21:48:18 +08:00
zy410419243
c289be6a8a test: update cases for Upload 2019-03-25 21:48:18 +08:00
zy410419243
53b9fd5204 test: update cases for Card 2019-03-25 21:48:17 +08:00
zy410419243
5e1531e50d test: update cases for Menu 2019-03-25 21:48:17 +08:00
zy410419243
ebbf07e233 chore: remove unreachable code 2019-03-25 21:47:25 +08:00
zy410419243
d17a5c49e5 test: update cases for Wave 2019-03-25 21:47:24 +08:00
zy410419243
375135b3fd test: update cases for Calendar.Header 2019-03-25 21:47:24 +08:00
偏右
788292ce51
Merge pull request #15625 from zy410419243/issue-15614
fix(Menu): remove unexpected re-render, which causes flash and shake when collapsed
2019-03-25 21:41:47 +08:00
afc163
14c1e68088
🐛 Fix Upload border jumping issue in Chrome
close #15634
2019-03-25 19:15:48 +08:00
zy410419243
5362d57265 test: update case 2019-03-25 19:07:22 +08:00
zy410419243
9dec5ecedc chore: remove useless context from Menu.Item 2019-03-25 18:37:15 +08:00
zy410419243
ad54d23a44 fix(Menu): remove unexpected re-render, which causes flash and shake when collapsed 2019-03-25 13:58:57 +08:00
偏右
f3a07ac7ad
🐛 Fix disabled and selected date cell style of DatePicker (#15608)
close #15580
2019-03-24 19:50:58 +08:00
orzorzorzorz
1e8d3ce40d feat: support gradient line for Progress (#15524)
* try: init gradient line demo

* demo(Progress): update instructions

* chore: adjust default color

* test: update case and snapshots

* docs: update description for strokeColor

* docs: update for more in written

* test: correct type of Progress

* pref: support percent for strokeColor

* test: update snapshots

* test: update case

* pref: sort key for gradients

* fix: lgtm problem

* refactor: update output of sortGradient to string

* chore: make traversal more elegant
2019-03-24 17:05:24 +08:00
Hsuan Lee
baa5a7971f refactor(form-item): move ant-form-item-no-colon selector position (#15592)
* refactor(form-item): better `ant-form-item-no-colon` selector position

fix: fix lint

close #15585

* chore: update snap
2019-03-24 17:03:52 +08:00
杨小事er
a6a5e068eb fix(Input): fix password prop action (#15598)
* fix(Input): fix password prop action

* fix(InputPassword): add assert action is non-null
2019-03-24 16:21:48 +08:00
诸岳
6ae2ee4e31 Merge branch 'master' into feature 2019-03-24 08:41:22 +08:00
zefeng
d0a1196e63 remove useless param in tree doc (#15591) 2019-03-23 12:19:36 +08:00
偏右
9e0aa5cb94 🐛 Fix empty missing when Table is loading (#15583)
close #15582
2019-03-22 16:21:58 +08:00
偏右
7c7c61976a 🐛 Fix Select notFound align issue (#15570)
close #15567

close #14422 again
2019-03-22 11:35:40 +08:00
Bestie
267ad3402c modify interface ListLocale.emptyText from text to ReactNode (#15571) 2019-03-21 22:18:58 +08:00
DiamondYuan
4eb33eb149 fix: set min-width instead of width (#15547)
* fix: set min-width instead of width

* test: updte snapshots
2019-03-21 11:31:58 +08:00
Marcio Pamplona
4ad71cb3af Included pt_PT table sort title description (#15551) 2019-03-21 10:12:57 +08:00
偏右
4da56cd06c Refactor Avatar scale calculate logic (#15503)
* 🐛 Refactor Avatar scale calculate logic

close #15351

close #15468

*  Fix infinite loop

* 🐛 Fix avatar size change logic

*  Fix snapshot

*  Add test cases for Avatar setScale

* 🐛 getBoundingClientRect => offsetWidth

*  Fix snapshot
2019-03-21 10:07:56 +08:00
偏右
06745a6548 🐛 Fix notification icon color (#15530)
close #15512
2019-03-20 18:37:56 +08:00
afc163
f95d8e616d
Remove core-js from devDeps 2019-03-20 18:32:39 +08:00
DiamondYuan
addc7bd266 feat: Improve Empty component again (#15487)
* feat: rewrite component empty

* refactor: use static variable

* refactor: extraction function for component empty

* docs: update docs and demo

* feature: image add image style prop

* docs: update doc of component empty

* docs: add since comment to imageStyle prop

* test: update snapshots

* style: use number in style

* docs: update docs of component empty

* docs: update doc of component empty

* test: fix test broken

* docs: update docs for empty component

* refactor: rewrite empty component

* docs: update doc of component empty

* doc: change image size
2019-03-20 17:45:35 +08:00
William Cai
57c20e3622 refactor: add @radio-button-checked-bg 2019-03-20 16:46:23 +08:00
kapiroska
73c4bd6c3d Long Tag component is wrapped if it is longer than screen size 2019-03-19 17:15:55 +02:00
偏右
f5f81820cd
Merge pull request #15515 from easyops-cn/add-select-dropdown-menu-item-selected-font-weight
refactor: add @select-item-selected-font-weight
2019-03-19 18:38:01 +08:00
zombieJ
0dadee3233
revert input (#15516) 2019-03-19 18:33:31 +08:00
William Cai
15781d706a refactor: add @select-item-selected-font-weight 2019-03-19 18:09:11 +08:00
Cong Zhang
bc4303b98a Allow font-feature-settings to be customizable 2019-03-19 15:03:52 +08:00
偏右
810f2b21f0
Merge pull request #15502 from ant-design/fix-doc
Optimize some docs
2019-03-19 11:56:21 +08:00
afc163
bd27b6b836
📝 Optimize some docs 2019-03-19 11:44:00 +08:00
偏右
ac39baf4f1
Update index.en-US.md 2019-03-19 10:50:36 +08:00
Denis
eacf35dbad Modal footer bg (#15469)
* Add less variable @modal-footer-bg

* Fix less variable @modal-footer-bg

* Update components/style/themes/default.less

Co-Authored-By: shumkovdenis <shumkovdenis@gmail.com>
2019-03-18 23:56:40 +08:00
willc001
3a2e1abfa7 refector: add @form-explain-font-size (#15488) 2019-03-18 18:44:08 +08:00
afc163
18d070d2d4
🆙 upgrade es6-shim version 2019-03-18 15:34:33 +08:00
zombieJ
96206ade58
adjust table editable row demo (#15475)
* adjust demo

* rm only
2019-03-18 15:28:42 +08:00
Denis
360eefc7d5 Add less variable @modal-body-padding (#15476) 2019-03-18 15:07:14 +08:00
DiamondYuan
972840e74d feat: Improve Empty component (#15444)
* feat: empty support imageSize prop

* docs: update demo for empty component

* docs: update docs for empty component

* test: update snapshot of empty component demo

* feat: empty component support use simple image

* docs: update demo for component empty

* docs: update doc for empyt component

* docs: add absence of a space for demo of empty component
2019-03-18 12:01:38 +08:00
Aleksandr Chernokondratenko
357e79cf48 Fix checking if file is image or not in the UploadList (#15412)
* Fix checking if file is image or not in the UploadList

* Fix type

* Add correct checking if file is image or not

* Change startWith to indexOf, update test

* Increase delay in test to pass CI

* Update test
2019-03-18 10:47:17 +08:00
ZYSzys
554fdd4a3c script: cleanup & reduce useless prettier files (#15467) 2019-03-18 10:46:17 +08:00
Rick Zhou
b1ec61a2da another try of fixing tab style (#15458)
* another try of fixing tab style

* fix card mode tab bottom line animation

#15299
#15297
#15234
2019-03-18 10:41:44 +08:00
DiamondYuan
3387ba181d fix: Typescript definition update for List component (#15462) 2019-03-17 14:25:34 +08:00
杨小事er
68c6982d89 feat(Menu): add overflowedIndicator prop (#15459) 2019-03-17 14:21:03 +08:00
whinc
115db9df70 docs: add 'sortDirections' description to Table component (#15461) 2019-03-17 14:20:13 +08:00
Sam Kirkland
5d96ba6400 English translation for notFoundContent (#15453) 2019-03-16 14:27:23 +08:00
ztplz
b40c0d3db3 Update DatePicker docs (#15092) 2019-03-16 14:00:44 +08:00
DiamondYuan
c99b2a7720 fix: export ConfigProviderProps interface 2019-03-16 09:48:21 +08:00
偏右
1bb7d6c301
Merge pull request #15409 from zy410419243/issue-15321
fix: bad position of collapsible submenu in sider when collapsed
2019-03-15 19:01:49 +08:00
偏右
785820e1a8
Merge pull request #15420 from akaguny/patch-1
docs(tabs): onTabClick description
2019-03-15 19:01:30 +08:00
偏右
59a6d49332
Update index.en-US.md 2019-03-15 19:01:20 +08:00