Commit Graph

6460 Commits

Author SHA1 Message Date
niko
675c1c1b8c
List not display NoData when loading state & customize Spin indicator. #8647 #8659 (#8702)
* List not display NoData when loading state & customize Spin indicator. #8647 #8659

* fixed ci warning

* fix: empty block
2017-12-29 10:09:18 +08:00
Wei Zhu
18ba398f95 docs: Improve LocalProvider document
Close #8691
2017-12-28 17:17:24 +08:00
Wei Zhu
2026b80ae2 Merge branch 'master' into feature-3.1 2017-12-28 16:31:25 +08:00
Wei Zhu
f89254537e Document destroyOnClose in Chinese 2017-12-28 16:26:03 +08:00
afc163
abf9717eab Large component should has larger font size
14px => 16px
2017-12-28 15:41:48 +08:00
Rohan Malhotra
6f3f17bb06 removed unnecessary whitespace 2017-12-28 12:49:54 +05:30
Rohan Malhotra
c6a1861887 updated rc-dialog and docs for destroyOnClose 2017-12-28 12:49:33 +05:30
Claudio Restifo
f17ac47547 Minor typo in dropdown API - [contentMenu] (#8767)
I suspect there's a typo in the page:

in the `trigger` API description is listed as 3rd option:
```
contentMenu
```
I suspect you meant
```
contextMenu
```

If so this PR is just fixing this minor overlook.
2017-12-28 14:09:39 +08:00
afc163
67df1cd979 Fix test case 2017-12-28 13:20:12 +08:00
afc163
8fb285fce9 Move maxHeight code into anchor, close #8606 2017-12-28 13:20:12 +08:00
Wei Zhu
98ec9100c3 Update Input types 2017-12-28 10:51:12 +08:00
delesseps
8cdf9ea97a Add onKeyUp TypeScript definition to Input component (#8705)
* Add onKeyUp support to Input component

* Update snapshot

* Allow other pros to handle onKeyUp
2017-12-28 09:27:11 +08:00
afc163
95ede5d149 update design instruction of timeline 2017-12-27 17:54:12 +08:00
afc163
6afb853161 Fix menu collapse animation broken by #8475
change another way to fix #8475
2017-12-27 16:46:00 +08:00
afc163
1c557f43a8 Fix extra padding in Table small with fixed columns, close #8724 2017-12-27 12:20:04 +08:00
afc163
5241497642 Fix Checkbox.Group align issue in Form
close #8739

also fix style prop of Checkbox.Group
2017-12-27 10:18:48 +08:00
Canwen Xu
603cb9e33d Add responsive for BackTop (#8719) 2017-12-24 20:31:33 +08:00
Joe Hsu
a1fafb5b72 fix ant-spin-container overflow resizing (#8602) 2017-12-23 15:00:47 +08:00
afc163
6efebb5bfa patch for 8494d460 2017-12-22 19:28:22 +08:00
afc163
8494d46038 Fix select align issue in chrome 2017-12-22 18:11:29 +08:00
afc163
e1cea9e4e4 Tweak form feedback icon position 2017-12-22 17:35:55 +08:00
nikogu
7814502fcf update snapshots 2017-12-22 17:31:09 +08:00
nikogu
a74ce6873e Merge branch 'master' into feature-3.1 2017-12-22 17:16:05 +08:00
afc163
8ba0b87dcd Fix button align in chrome 2017-12-22 16:47:12 +08:00
徐坤龙
b06ea2404f Add React.SFC type for Form.create return value #8672 (#8675)
* Add React.SFC type for Form.create return value

* Restore indented.Fixed #8672

* Commit for lint

* Commit for lint
2017-12-22 16:05:06 +08:00
afc163
24f0359e2d Fix some form components align 2017-12-22 15:22:22 +08:00
afc163
525efb8c76 Fix form item height problem
close #8701

revert fix of #6097 cause it does not exist in 3.x
2017-12-22 11:48:07 +08:00
nikogu
5252de9209 Merge branch 'master' into feature-3.1 2017-12-22 11:43:54 +08:00
afc163
13c6e8ec1e update getPopcontainer demo link 2017-12-21 21:50:41 +08:00
Wei Zhu
974809e6f2 export RangePickerValue 2017-12-21 17:50:12 +08:00
Wei Zhu
e22fbe70e5 Add RangePickerState interface 2017-12-21 17:06:59 +08:00
afc163
4f19fc0ee4 Improve input addon size, close #8680 2017-12-20 22:40:36 +08:00
afc163
294db783e1 Fix table size of fixed column, close #8660 2017-12-20 22:01:25 +08:00
Wei Zhu
45a9e300ed Update snapshot
https://github.com/react-component/collapse/pull/81
2017-12-20 15:11:14 +08:00
afc163
790a21a4ee Fix snapshot 2017-12-19 19:33:44 +08:00
afc163
a03ff5d574 Fix test case 2017-12-19 16:32:20 +08:00
afc163
bce66d6b3b fix code style 2017-12-19 16:32:20 +08:00
Wei Zhu
9a022b8aac docs: Update FormComponentProps import path 2017-12-19 14:30:56 +08:00
Trotyl Yu
0c4616b39e docs(grid): fix typo (#8648) 2017-12-18 15:50:09 +08:00
afc163
7baa81ced1 Fix input number handler disabled style 2017-12-18 09:55:56 +08:00
afc163
80686df38e update snapshot 2017-12-18 09:48:43 +08:00
afc163
7d082c1dc5 Fix submenu popup issue when specified unexisted defaultOpenKeys
close #8475
2017-12-17 19:11:56 +08:00
afc163
0ecb6ad45f Fix prop locale not working in DatePicker/RangePicker
close #8635
2017-12-17 17:11:54 +08:00
afc163
9cdae0053d Fix css priority, close #8559 2017-12-17 16:47:11 +08:00
afc163
f64ddef4ff tweak pagination style 2017-12-17 16:44:26 +08:00
afc163
7a98f6236f Fix ts error 2017-12-16 21:10:15 +08:00
afc163
b49c0ac35c Fix snapshot test 2017-12-16 18:54:51 +08:00
afc163
202230356a Fix notification width in small screen, close #8631 2017-12-16 18:25:08 +08:00
afc163
3af6464db4 Fix Card Meta title text overflow, close #8597 2017-12-16 18:11:22 +08:00
afc163
9b2ca4b1aa Fix List pagination margin, close #8562 2017-12-16 17:31:41 +08:00
afc163
f005974c56 refactor list less code 2017-12-16 17:29:49 +08:00
愚指导-TZ
c30ac8d138 update rate to 2.4.0 for support allowClear (#8627) 2017-12-15 15:30:38 +08:00
afc163
754d330bae Hide menu when collapsedWidth is 0, close #8587 2017-12-15 15:15:30 +08:00
afc163
7521348606 breakpoints of Layout.Sider should be same as Grid
close #8620
2017-12-15 14:37:36 +08:00
afc163
f54d73617f Fix switch demo 2017-12-15 13:47:46 +08:00
afc163
b84bf85526 update pagination active item design 2017-12-15 10:30:19 +08:00
Benjy Cui
df1c56ee18 docs: update docs 2017-12-15 10:00:28 +08:00
GauravV-02
fffde2d836 Resolved type name collisions (#8605) 2017-12-13 20:49:44 -06:00
Bartek
28e9d1ee88 Add option for disabling arrow icon in collapse panel (#8536) 2017-12-13 23:23:38 +08:00
Dane David
e496fffbb5 Docs fix for Tree Select (#8589) 2017-12-13 18:49:11 +08:00
Wang Jun
d825e27667 fix loading (#8571) 2017-12-13 18:49:00 +08:00
Dane David
5a94236c30 Version fix for rc-select. Update docs to add onInputKeyDown (#8552) 2017-12-13 04:34:54 -06:00
afc163
8f1fd4d68b Fix notFoundContent not working in AutoComplete, close #8553 2017-12-13 17:05:36 +08:00
afc163
0eac8aa1c6 Fix table title/footer/size style, close #8577 2017-12-13 11:19:52 +08:00
afc163
cd5761ffe6 update form doc 2017-12-13 10:50:03 +08:00
afc163
d6e429cd70 Tweak RangePicker align 2017-12-12 10:14:38 +08:00
afc163
45559c84be Fix arrow position of Popover, close #8548 2017-12-11 16:02:53 +08:00
afc163
1db952b575 clear unused popover style code, close #8549 2017-12-11 15:28:44 +08:00
afc163
31a0654ef9 Avoid affix element is higher than view port 2017-12-10 16:50:39 +08:00
afc163
e13c6d87fa Fix mini Pagination background color 2017-12-10 16:42:40 +08:00
afc163
913daa2668 Tweak table head icons style 2017-12-10 16:36:59 +08:00
afc163
a3271d9a03 update demo code style 2017-12-10 16:20:31 +08:00
afc163
eae1a0044c Fix nested Table size style, close #8525 2017-12-10 16:20:02 +08:00
GauravV-02
b5f13b49ae Fixed typo in documentation (#8534) 2017-12-10 11:23:45 +08:00
afc163
edd592cb9d Fix broken animation of Menu and Collapse 2017-12-08 22:25:50 +08:00
ddcat1115
f780759f91 fix large size formItem vertical align (#8495)
* - fix large size input with prefix/suffix vertical align
- fix large size button vertical align

* use large size for formItem default line-height

* improve
2017-12-08 20:57:30 +08:00
Dane David
e8d3be5dc2 Make Table props optional (#8515) 2017-12-08 15:36:32 +08:00
Dane David
687b058dc0 Add missing type definitions for table #8507 (#8511) 2017-12-08 14:24:34 +08:00
Wei Zhu
18723a37ee Update snapshot 2017-12-08 11:36:43 +08:00
Chuang Yu
36831c7f1d Add style prop for Divider (#8504) 2017-12-07 23:16:25 +08:00
wangxiaolei
d7475f47cb Fix menu doc in english version. (#8503) 2017-12-07 21:39:27 +08:00
Wei Zhu
43628b9848 docs: document Table[expandRowByClick] 2017-12-07 15:14:41 +08:00
Dane David
a1ada4f4f6 Add expandRowByClick API to Table docs (#8490) 2017-12-07 15:11:39 +08:00
konakona
b77adb352f Fix wrong translate (#8488) 2017-12-07 11:28:53 +08:00
Taylor Sabell
0589b23693 docs: fixed grammatical error (#8484) 2017-12-07 09:24:09 +08:00
afc163
61ab3a4a9e update switch demo 2017-12-06 20:20:32 +08:00
afc163
dd3f7f2da1 Revert table responsive code, close #8465 2017-12-06 19:58:21 +08:00
Nidhi Agarwal
6d0b488d7f Select - Moving defaultActiveFirstOption to AbstractSelectProps (#8383)
defaultActiveFirstOption Prop should be exposed to components which are extending AbstractSelectProps, even according the documentation of auto-complete.
2017-12-06 15:37:12 +08:00
afc163
0402e0333d Fix Notification less compile error, close #8437 2017-12-06 10:19:50 +08:00
Kamron Batman
3eb91cef47 docs: update start-end.md (#8462)
Fixes english and spelling in start-end.md.
2017-12-06 09:35:34 +08:00
Wei Zhu
1b2a9550d9 ListItemMetaProps's description and title should be optional 2017-12-05 16:28:12 +08:00
Wei Zhu
e27061ea5b ListItemProps.extra should be optional 2017-12-05 16:16:09 +08:00
Wei Zhu
4d74d5c22e Update snapshot for 2e45074 2017-12-05 15:27:26 +08:00
Wei Zhu
427be4cff5 Remove unused style property 2017-12-05 15:16:14 +08:00
afc163
2e45074fab Remove extra wrapper of Card 2017-12-05 13:36:52 +08:00
Wei Zhu
4d7ce541cd docs: TableColumnConfig has been renamed to ColumnProps
Close #8438
2017-12-05 09:50:23 +08:00
Wei Zhu
44b529b0d5 Omit loading for Switch 2017-12-04 20:45:09 +08:00
afc163
c9b2efc9e8 Add more test cases for Upload 2017-12-04 15:59:39 +08:00
afc163
5f35a69858 update steps demo 2017-12-04 14:51:51 +08:00
ddcat1115
1f0ee08574 Form item vertical align (#8415)
* fix formItem vertical align

* fix formItem vertical align

* rebase master
2017-12-04 14:00:15 +08:00
afc163
cc43bd3f12 Improve advanced form style, close #8339 2017-12-04 10:47:01 +08:00
afc163
554d27e725 Improve switch style 2017-12-03 23:36:19 +08:00
afc163
59cb320a7b Fix searchInput undefined in demo 2017-12-03 19:10:18 +08:00
afc163
81472aaf3b Fix custom filter dropdown focus issue, close #8411 2017-12-03 19:09:39 +08:00
Wei Zhu
45815d1148
Refactor confirm (#8409)
* Refactor confirm

* Add okCancel test

* Only test React 16

* Upgrade rc-dialog
2017-12-02 22:10:27 +08:00
afc163
bbbdb9911d Tweak popover arrow style 2017-12-02 17:13:21 +08:00
Graeme Yeates
1e47a6c518 Control checkbox button size with btn-height base instead of input-height-base (#8340) 2017-12-02 16:05:51 +08:00
afc163
f26261de31 Support Switch[loading] 2017-12-02 16:00:27 +08:00
Wei Zhu
2299ad41aa Add focus() and blur() to Input.Search 2017-12-01 19:39:32 +08:00
Wei Zhu
e613dc9050 Remove debug flag 2017-12-01 19:29:51 +08:00
Wei Zhu
d2dc88c470 Add focus() and blur() document
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
25f51cdd64 Add focus() and blur() for Slider 2017-12-01 18:01:14 +08:00
Wei Zhu
01f4b4e713 Merge branch 'master' into antd-3.0 2017-12-01 11:50:07 +08:00
Flynn
071149cfbb feature:add onCalendarChange for RangePicker (#8355)
* feature:add onCalendarChange for RangePicker

The event trigger when start time or end time is changing, which is useful for districting range user can select.

* Update index.zh-CN.md

update doc

* Update index.zh-CN.md

* Update index.zh-CN.md
2017-12-01 10:50:25 +08:00
Mathew
6f37caefe7 Update de_DE.tsx to support Upload component (#8394)
- Added german translations
2017-12-01 10:30:31 +08:00
Nathan Griffin
51b6e4904a Adding missing type properties (#8395) 2017-12-01 10:29:48 +08:00
Benjy Cui
57dcc78989 fix: should not override default footer, close: #8379 2017-11-30 17:24:51 +08:00
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker (#8345) 2017-11-30 09:54:31 +08:00
Wei Zhu
4aeb811b72
Remove deprecations (#8351) 2017-11-30 09:53:32 +08:00
afc163
927853a1f1 seperate dark style of menu 2017-11-29 21:08:44 +08:00
afc163
05200385ee improve form demo 2017-11-29 21:04:45 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
Wei Zhu
179528af50
Don't change fileList when beforeUpload returns false (#8299)
Close #8036
2017-11-29 20:28:19 +08:00
niko
be1cbd4eae upgrade rc-calendar dependency to 9.3.0 (#8353) 2017-11-29 11:23:15 +08:00
ddcat1115
91fc059c9d fix input with addon(in form) vertical align issue (#8325) 2017-11-29 11:20:38 +08:00
偏右
250eed0fc9
Link button (#8343)
* support link button

* Fix type
2017-11-29 11:20:22 +08:00
afc163
bd9fba9f45 Better responsive style of Table 2017-11-28 14:35:46 +08:00
Wei Zhu
6f312a716b Update snapshot 2017-11-28 11:12:51 +08:00
Wei Zhu
57d80c0c70 Upgrade rc-rate 2017-11-28 10:49:56 +08:00
Wei Zhu
c8a49c45fc Upgrade rc-select 2017-11-28 09:51:29 +08:00
afc163
72741db902 Fix margin of nested FormItem, close #8320 2017-11-27 22:14:15 +08:00
Cody Chan
086ecec310 docs(transfer): append description for render property (#8335) 2017-11-27 20:48:16 +08:00
afc163
c0b7bdb9f3 Tweak components style detail 2017-11-27 14:51:46 +08:00
afc163
bf70d30a60 no prevent label click default behavior 2017-11-27 11:02:47 +08:00
afc163
9a49a5c775 revert 61968b91 2017-11-27 11:01:06 +08:00
ChrisF
cd7a04a069 change children prop of TableProps to React.ReactNode (#8317)
* make children prop of RadioGroupProps optional

* change children prop of TableProps to React.ReactNode
2017-11-27 10:53:55 +08:00
afc163
539cca5cc4 update snapshot 2017-11-27 10:53:54 +08:00
afc163
7604495ab4 Fix RadioGroup id props 2017-11-27 10:49:17 +08:00
afc163
61968b91cf Fix link in form item label 2017-11-27 10:43:35 +08:00
afc163
1662710acd contextMenu Dropdown, close #7232 2017-11-26 14:02:38 +08:00
ChrisF
eb5d423ca7 make children prop of RadioGroupProps optional (#8307) 2017-11-24 15:36:59 +08:00
Wei Zhu
8e907cebde Fix tree draggable demo
Close #8246
2017-11-24 15:29:36 +08:00
ddcat1115
0865824b61 fix buttonSize type
close #8304
2017-11-24 14:46:55 +08:00
ddcat1115
da14cba722 add 3 icons 2017-11-22 18:11:24 +08:00
afc163
c23e24b0f0 Merge branch 'master' into antd-3.0 2017-11-22 17:30:31 +08:00
afc163
dada590d2d Fix dark menu popup animation 2017-11-22 17:29:58 +08:00
Wei Zhu
a64337748a Fix table row create on every render.
Fix #8283
2017-11-22 17:27:32 +08:00
潘晓升
8b2d7e3982 Update index.tsx (#8280)
add the “style” property for declare file
2017-11-22 14:46:40 +08:00
afc163
4a81e5584f Fix message destroy problem, close #8201 2017-11-22 14:44:06 +08:00
Wei Zhu
d2b59938b8 Fix code style 2017-11-22 12:16:19 +08:00
Wei Zhu
541b9d146a Fix implicit any error for _util 2017-11-22 12:14:43 +08:00
Wei Zhu
b8a08f6e1d Fix implicit any error for Affix 2017-11-22 11:49:35 +08:00
Wei Zhu
c0a42480ae Fix implicit any error for Anchor 2017-11-22 11:34:46 +08:00
Wei Zhu
c27d4deb72 Fix implicit any error for AutoComplete 2017-11-22 11:26:04 +08:00
Wei Zhu
db560bb10d Fix implicit any error for Badge 2017-11-22 11:25:05 +08:00
Wei Zhu
de340a83ba Fix implicit any error for Breadcrumb 2017-11-22 11:10:33 +08:00
Wei Zhu
ebce4b3599 Fix implicit any error for Card 2017-11-22 11:07:19 +08:00
Wei Zhu
f4dc69f5f0 Fix implicit any error for Calendar 2017-11-22 11:05:19 +08:00
Wei Zhu
50f85480d1 Fix implicit any error for Carousel 2017-11-22 10:54:27 +08:00
Wei Zhu
ecaf3a0883 Fix implicit any error for Cascader 2017-11-22 10:11:16 +08:00
Wei Zhu
2fe2e35a52 Fix implicit any error for Checkbox 2017-11-22 10:08:28 +08:00
Wei Zhu
9fd3588ac4 Fix implicit any error for DatePicker 2017-11-21 21:09:24 +08:00
Wei Zhu
93fcbdf334 Fix implicit any error for Divider 2017-11-21 20:48:22 +08:00
Wei Zhu
ad21c9837f Fix implicit any error for Form 2017-11-21 20:45:24 +08:00
Wei Zhu
bebc57978d Fix implicit any error for Grid 2017-11-21 20:38:30 +08:00
Wei Zhu
05c702838d Fix implicit any error for Input 2017-11-21 20:38:30 +08:00
Wei Zhu
bcbdd12ce1 Fix implicit any error for LocalProvider 2017-11-21 20:38:30 +08:00
Wei Zhu
f14d57dc14 Fix implicit any error for Mention 2017-11-21 20:38:30 +08:00
Wei Zhu
dc322a6a9c Fix implicit any error for Layout 2017-11-21 20:38:30 +08:00
Wei Zhu
e7042ae541 Fix implicit any error for List 2017-11-21 20:38:30 +08:00
Wei Zhu
b6c6ee8f3e Fix implicit any error for Modal and Menu 2017-11-21 17:38:51 +08:00
Wei Zhu
d8f6c3bd8c Fix implicit any error for Modal and Message 2017-11-21 17:20:25 +08:00
afc163
a8e5690805 Merge branch 'master' into antd-3.0 2017-11-21 15:59:48 +08:00
slientcloud
499b81f79d fix(tooltip): support defaultVisible for tooltip, close #8257 (#8258) 2017-11-21 15:53:03 +08:00
Wei Zhu
8292808292 Fix implicit any error for Notification 2017-11-21 15:48:53 +08:00
Wei Zhu
c4c3e74149 Fix implicit any error for Pagination PopConfirm Popover Progress 2017-11-21 15:37:39 +08:00
Wei Zhu
9b5a16ba93 Fix implicit any for Radio 2017-11-21 15:22:27 +08:00
Wei Zhu
b647078baa Fix implicit any for Select Slider Spin Switch 2017-11-21 14:58:08 +08:00
Wei Zhu
5cb5a2ae9d Fix implicit any error for Table 2017-11-21 14:22:35 +08:00
Nokecy
08d27b92ee inputNumber 添加onKeyDown属性声明 (#8253) 2017-11-21 11:15:38 +08:00
afc163
81fc6d613c Merge branch 'master' into antd-3.0 2017-11-21 10:19:39 +08:00
afc163
9dd858cc62 Fix selector priority, close #8245 2017-11-21 10:19:11 +08:00
Benjy Cui
00ff041d16 fix: submenu should work fine in dropdown, close: #8248 2017-11-21 10:06:26 +08:00
Wei Zhu
5e9daf08d7 Fix implicit any error for Tabs. 2017-11-20 22:06:01 +08:00
Wei Zhu
2cf3414d69 Improve TimePicker type definitions 2017-11-20 18:27:36 +08:00
Wei Zhu
ac7212eba8 Improve Tooltip type definitions 2017-11-20 18:20:16 +08:00
Wei Zhu
54b1715d2a Improve Transfer type definitions. 2017-11-20 17:54:19 +08:00
Wei Zhu
6837aedf69 Imporve tree and tree-select type definitions 2017-11-20 17:11:13 +08:00
Wei Zhu
cbaf54415e style: Use single quote 2017-11-20 16:53:56 +08:00
Wei Zhu
03e4411589 Improve upload type definition 2017-11-20 16:43:25 +08:00
Wei Zhu
45135e4ec8 Improve upload type definition. 2017-11-20 16:31:41 +08:00
Benjy Cui
e8b4892a70 site: fix demo, close: #8227 2017-11-20 15:19:43 +08:00
Wei Zhu
814f9a72de Set work-break explicitly form progress text 2017-11-20 14:59:13 +08:00
afc163
3406c6598a Fix submenu z-index 2017-11-20 14:58:03 +08:00
afc163
7049a45d8e Fix submenu width, close #8236 2017-11-20 14:37:14 +08:00
afc163
8e6e91b932 Fix menu active style
close ant-design/ant-design-pro#222
2017-11-20 10:56:56 +08:00
Benjy Cui
09fd564af9 feat: upgrade rc-menu (#8235) 2017-11-20 10:33:34 +08:00
Wei Zhu
2de0a6a522
Add use in TypeScript instruction (#8230) 2017-11-19 22:00:44 +08:00
Wei Zhu
09aaa56243 Update snapshot 2017-11-19 21:07:08 +08:00
Wei Zhu
bf4ad93f2c Update rc-select 2017-11-19 20:14:53 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support (#8204)
* Add test for select

* Add focus() and blur() for AutoComplete

* Add focus() and blur() to Cascader

* Add focus test for input

* Add focus() and blur() for Checkbox

* Add focus() and blur() for Radio

* Add focus() and blur() for Switch

* Add blur() for TimePicker

* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00
Wei Zhu
22e5c0d954
Allow fix table selection column (#8195) 2017-11-18 23:46:24 +08:00
afc163
0627d9a3a0 Fix MenuItem margin 2017-11-18 17:49:33 +08:00
afc163
797754d3fd Fix message cannot hide bug, close #8201 2017-11-18 15:26:02 +08:00
afc163
8ca9c9513d Merge branch 'master' into antd-3.0 2017-11-18 14:29:56 +08:00
David Tsai
b3b3ee043e Update Select component documentation (#8229)
Providing clarity through reworking the description(s) on usage.
2017-11-18 13:13:55 +08:00
afc163
32d96e366b Refator to allow set color of Rate easily
now we can use `<Rate style={{ color: '#00c' }}>`

close #8197
2017-11-18 01:10:46 +08:00
Wei Zhu
633708fee9 export BodyRowClass 2017-11-18 00:54:54 +08:00
Wei Zhu
67336fca7b Rename TableRow to BodyRow 2017-11-18 00:36:22 +08:00
Wei Zhu
5970dbb1ec Fix table row selected className
Close #8074 #8075
2017-11-18 00:03:30 +08:00
Benjy Cui
ac463a10f2 deps: upgrade form to 2.0.0 (#8207) 2017-11-17 21:19:10 +08:00
Wei Zhu
f78d33ed59
Update rc-table (#8187)
* Update rc-table

* Add table drag sorting demo
2017-11-17 18:53:07 +08:00
Wei Zhu
4f1da98045 Merge branch 'master' into antd-3.0 2017-11-17 14:39:53 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
afc163
b77e7ed554 Fix extra 0.5px height in chrome
close #8220
2017-11-17 12:13:07 +08:00
nikogu
fdf0c11ec7 Fixed List snapshots 2017-11-17 11:31:54 +08:00
niko
f6a730e2fe
List empty style (#8190) 2017-11-17 11:25:29 +08:00
afc163
1e1c6d1c72 Merge branch 'master' into antd-3.0 2017-11-16 19:58:20 +08:00
afc163
46d1296045 Fix async test cases 2017-11-16 17:12:36 +08:00
Benjy Cui
06a1b6ed23 fix: should not throw error when keydown in menu, close: #8089 (#8211) 2017-11-16 16:08:30 +08:00
afc163
9b552087cd Fix tag test case 2017-11-15 15:00:29 +08:00
Oleksandr Kovalchuk
fce6862696 Feature: uk_UA locale (#8169)
* Add uk-UA localization

Ukrainian localization for the following components:

- locale-provider
- DatePicker
- TimePicker
- Calendar

* Add uk_UA locale to test suite

* Add uk_UA locale to tests snapshot

Tests on CI are failing because there are no snapshot for uk_UA locale.
Generate a snapshot with `npm test -u` command and add it to the test
suite.
2017-11-14 16:10:54 +08:00
Wei Zhu
fbafe9eac1 Add table filter test 2017-11-13 22:36:50 +08:00
afc163
bf36ebdf5e Merge branch 'master' into antd-3.0 2017-11-13 21:24:32 +08:00
Wei Zhu
645be586f3 Run jest.useFakeTimers in beforeAll 2017-11-13 10:46:54 +08:00
Benjy Cui
16133aac65 docs: add validateMessage for createForm, close: #965 2017-11-13 10:36:16 +08:00
afc163
a4faaad810 Merge branch 'master' into antd-3.0 2017-11-13 10:24:58 +08:00
afc163
cad769af91 No more __ANT_LAYOUT_SIDER in favor of #8077 2017-11-12 15:22:02 +08:00
afc163
3c648820a0 Fix badge style 2017-11-12 14:10:41 +08:00
afc163
09af43c314 Allow Badge[status] usage with Badge[children], close #8164 2017-11-12 13:58:12 +08:00
Graeme Yeates
b46cb4b740 Add a variable to control processing colors (#8166) 2017-11-11 14:15:16 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
afc163
4999a60643 update form demo 2017-11-10 17:19:47 +08:00
afc163
58e3743c6d Tweak cascader arrow style 2017-11-10 17:15:02 +08:00
afc163
2e126c1323 Fix Rate style under form item 2017-11-10 17:09:35 +08:00
Wei Zhu
0c7ce9db17 Use props
Related #7706
2017-11-10 09:48:07 +08:00
afc163
b53e76cbd5 Merge branch 'master' into antd-3.0 2017-11-09 20:37:30 +08:00
afc163
54188b8e97 Reset timer in test 2017-11-09 20:33:25 +08:00
afc163
148e5bd887 Fix super argument 2017-11-09 20:17:03 +08:00
afc163
ea185fe288 Fix code style 2017-11-09 20:14:51 +08:00
afc163
0eca38ba2f Add has sider test case, ref #8077 2017-11-09 20:13:59 +08:00
Yasin Uslu
b3e1192482 Detect Sider even if it's not first child of layout (#8077)
* Fix typo in layout

* Detect Sider even if it's not first child of layout
2017-11-09 20:04:34 +08:00
afc163
4022374f33 Fix snapshot 2017-11-09 19:49:40 +08:00
afc163
855e0ff78d Fix super argument 2017-11-09 19:45:55 +08:00
afc163
856ecd4ae3 Merge branch 'master' into antd-3.0 2017-11-09 19:45:06 +08:00
afc163
97a889da00 Fix snapshot 2017-11-09 19:38:04 +08:00
afc163
d30e398859 Fix upload.test.js 2017-11-09 19:34:48 +08:00
Graeme Yeates
8395de01a2 Add support for column defaultSortOrder (#6449) (#8111)
Fixes #6449
2017-11-09 19:30:24 +08:00
chaofeis
c168a92f18 docs: add missing key prop for controlled tag demo (#1) (#8147) 2017-11-08 23:46:24 -06:00
afc163
72aa5e0763 Fix input group align bug in Chrome 62
close ant-design/ant-design-pro#139
2017-11-08 19:53:03 +08:00
D & R
10ab3f5187 fix flattenTree in Cascader (#8130) (#8136) 2017-11-08 15:56:58 +08:00
afc163
4790f84657 Fix AutoComplete and Input affix style conflict, close #8081 2017-11-08 15:11:57 +08:00
afc163
2d17d8a768 refactor edit-row demo, close #8026 2017-11-07 21:03:14 +08:00
Wei Zhu
e5a57ff60a Improve Select type definition
Close #8128
2017-11-07 17:33:09 +08:00
afc163
a99c8c7175 Fix snapshot 2017-11-07 11:12:10 +08:00
Wei Zhu
67fee48c6a Run test against multiple react versions 2017-11-07 10:51:25 +08:00
afc163
42e219389d Fix key warning 2017-11-07 10:48:05 +08:00
afc163
5e7c735935 Fix ts compile error 2017-11-06 22:20:54 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
2f0197599f Merge branch 'master' into antd-3.0 2017-11-06 21:19:44 +08:00
afc163
ac96bad478 Improve demo details and update snapshot 2017-11-06 21:14:40 +08:00
Wei Zhu
d6ace6663b Update snapshot 2017-11-06 19:00:36 +08:00
afc163
714b4ae06a Merge branch 'master' into antd-3.0 2017-11-06 10:35:41 +08:00
Benjy Cui
ffe36725d6 docs: remove duplicated APIs 2017-11-06 10:01:39 +08:00
kossel
92aa34c1b5 Feature antd 3.0/spinning indicator (#7977)
* Added indicator props to Spin component

* Added indicator props to Spin component

* update snapshots

* fix defautl props

* revert some snapshot files
2017-11-04 12:05:25 +08:00
Benjy Cui
de0493d82b docs: translate, ref: #8100 2017-11-03 15:02:26 +08:00
Josué
c00a2aabe2 docs: add missed time picker props (#8100)
* Add missed time-picker props

* Update time picker docs for missed props
2017-11-03 01:55:06 -05:00
afc163
59db56e953 Fix popupVisible of Cascader not working, close #8088 2017-11-03 13:03:54 +08:00
afc163
ca1b79ad34 Add Badge[offset] 2017-11-03 11:37:35 +08:00
Kyle Kelley
43864988e3 correct spelling of progress (#8101)
`@process-default-color` --> `@progress-default-color`
2017-11-03 09:43:02 +08:00
David Schneider
a5c3a6c930 In SliderProps type definition, replace void types with null. (#8102)
With TypeScript compiler option ‘strictNullChecks’ enabled, the value `null` cannot be assigned to type `void`. This means, for instance, that it’s impossible to pass a `null` value for prop `step`. I don’t expect that substituting `null` for `void` in these type definitions should cause anyone difficulty; because these are optional props, a consumer of this component should be able to pass `null` or `undefined` safely, whether or not the compiler is using strict null checks.
2017-11-03 09:40:56 +08:00
afc163
9b2c40cdd7 avoid triggering unmatch when unregister 2017-11-01 22:10:11 +08:00
afc163
05c56553a2 Fix gutter PropTypes 2017-11-01 21:40:47 +08:00
afc163
b4bd906bf0 Fix responsive grid gutter 2017-11-01 20:31:26 +08:00
afc163
dd8b6347c7 Fix enquire in server render 2017-11-01 19:08:16 +08:00
afc163
09c2df4093 Fix test case 2017-11-01 18:51:55 +08:00
afc163
692efefe31 Support responsively grid gutter 2017-11-01 18:33:41 +08:00
afc163
1c8fbb8899 update code style 2017-11-01 15:46:41 +08:00
afc163
bf82b4c49b Fix suffix of Input.Search
close #7970
2017-11-01 12:12:16 +08:00
Benjy Cui
51785aa6eb deps: upgrade TypeScript to 2.6, close #8018 2017-11-01 11:47:22 +08:00
afc163
81cf43905d Fix Alert backgroun and border color 2017-10-31 19:39:55 +08:00
afc163
3072aff31f Merge branch 'master' into antd-3.0 2017-10-31 18:47:39 +08:00
afc163
296dfc7375 vertical progressDot Steps style 2017-10-31 15:15:51 +08:00
Benjy Cui
b38c9c11a8 test: simplify snapshots for LocaleProvider 2017-10-31 14:55:53 +08:00
Wei Zhu
8c904de7d4 Add form wrappedComponentRef test 2017-10-31 01:33:56 -05:00
Benjy Cui
7ff7519207 fix: upgrade rc-form and refactor to be compatible with react@16 2017-10-31 01:33:56 -05:00
afc163
2a14b4667d Fix progress dot step style 2017-10-31 14:04:07 +08:00
afc163
7cc3e2c1cd Fix input checkbox or radio disappeared, ref #7974 2017-10-31 13:57:45 +08:00
翁润雨
58fe3277d8 add the 'selectable' attribute (#8048) 2017-10-31 13:57:45 +08:00
afc163
7c3a483190 Fix input checkbox or radio disappeared, ref #7974 2017-10-30 13:19:53 +08:00
Benjy Cui
70291d5514 chore: update size props order, ref: d12f247 2017-10-30 10:52:05 +08:00
afc163
d12f247e63 Fix api order 2017-10-29 15:40:50 +08:00
afc163
b61cb8f99e update select group title style 2017-10-29 14:21:00 +08:00
翁润雨
f64e24af8c add the 'selectable' attribute (#8048) 2017-10-28 19:39:33 +08:00
afc163
25a013a84b Fix snapshot 2017-10-28 15:23:46 +08:00
afc163
7537aa11d0 Fix input shadow in iOS safari, ref #7974 2017-10-28 15:08:39 +08:00
afc163
0908293c42 update TimePicker demo snapshot 2017-10-28 15:02:33 +08:00
afc163
23caba1b65 Upgrade rc-time-picker to 3.0.0
Add `hourStep` `minuteStep` `secondStep`
2017-10-28 15:01:54 +08:00
afc163
d96284c798 Merge branch 'master' into antd-3.0 2017-10-27 20:22:17 +08:00
vgeyi
8bde0c0fee Rewrite the MenuItem to handle ref for react 16 (#8037)
* ReWrite MenuItem to remove ref warning for react 16

* unified coding style

* add removing semicolon
2017-10-27 07:21:34 -05:00
nikogu
9696739a36 update Menu snapshots 2017-10-27 18:24:07 +08:00
nikogu
c664d843fb fixed: https://github.com/ant-design/ant-design/issues/8040 2017-10-27 17:40:31 +08:00
ddcat1115
b7a7758f37 try to fix ci 2017-10-27 16:33:24 +08:00
nikogu
5db04b6d4b update list grid padding bottom 2017-10-27 15:24:11 +08:00
ddcat1115
7acf29bc9c tweak Card style 2017-10-27 15:08:10 +08:00
afc163
fce4860243 Add Divider[dashed] prop 2017-10-26 21:00:20 +08:00
afc163
091b84008f update demo 2017-10-26 20:39:58 +08:00
afc163
099d5a0822 Tweak select arrow style 2017-10-26 19:39:04 +08:00
afc163
8f50324a94 Merge branch 'master' into antd-3.0 2017-10-26 19:34:11 +08:00
afc163
ad9809ec2e Fix extra padding of loading Card when it is too wide 2017-10-26 19:20:12 +08:00
afc163
11c3abb3aa Fix list border 2017-10-26 15:36:48 +08:00
afc163
c44f9528be Tweak list style 2017-10-26 15:07:01 +08:00
afc163
cbcc073aca Fix menu style 2017-10-26 13:38:18 +08:00
afc163
0e5155567c Fix menu active border 2017-10-26 11:59:18 +08:00
afc163
e2bff100bd Fix upload style 2017-10-26 11:59:18 +08:00
Benjy Cui
e5699aff68 fix: should not import moment while useless, close: #8013 2017-10-26 10:50:18 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Wei Zhu
7776cf62a7 Merge branch 'master' into antd-3.0 2017-10-25 10:25:02 +08:00
Wei Zhu
f28d0d4d82 docs: Document onRowContextMenu
close #7820
2017-10-25 10:00:44 +08:00
afc163
35f1bf5f94 Fix mini size pagination style 2017-10-24 20:39:38 +08:00
For177
6d68d5d8fc Update index.zh-CN.md (#8002) 2017-10-24 04:31:12 -05:00
afc163
89a3b22791 Fix menu style 2017-10-24 15:56:28 +08:00
afc163
d8c9b77468 fix snapshot 2017-10-24 15:44:11 +08:00
afc163
2ef2925c8e update card and tabs style 2017-10-24 15:29:10 +08:00
Benjy Cui
67be1eafa9 test: fix CI 2017-10-24 14:08:39 +08:00
afc163
3c1b4da51e Fix autoprefix warning 2017-10-23 20:53:59 +08:00
afc163
9181db8a01 Fix autoprefix warning 2017-10-23 20:52:41 +08:00
afc163
43f5ed30ac Fix snapshot 2017-10-23 20:43:31 +08:00
afc163
c472ed27f8 Merge branch 'master' into antd-3.0 2017-10-23 19:40:14 +08:00
Wei Zhu
d829f6c008 docs: expandedRowRender can not be boolean 2017-10-23 11:21:05 +08:00
afc163
3f57d5f56d Merge branch 'master' into antd-3.0 2017-10-23 10:41:51 +08:00
Benjy Cui
ff5d05129f docs: translate 1599686 2017-10-23 10:37:31 +08:00
kossel
1599686fc2 docs: update docs for Modal, close #7840 (#7952) 2017-10-22 21:35:47 -05:00
朮厃
8e1cb081db Remove the inner shadow on iOS inputs. (#7974) 2017-10-23 10:05:53 +08:00
ddcat1115
c9bc8d7095 fix Upload ci 2017-10-22 23:36:27 +08:00
ddcat1115
12819130ec fix Table filter can't show after remove fixed setting. (#7962)
* fix Table filter can't show after remove fixed setting.
close #7909

* improve
2017-10-22 02:54:12 -05:00
afc163
8e09745def Fix #7969 2017-10-22 15:23:34 +08:00
afc163
86da4a95ce Fix lint 2017-10-21 20:06:12 +08:00
afc163
7286e6d0d0 Fix extra margin in sider Layout
which is a margin collaspe problem

close #7967

ref: https://stackoverflow.com/a/33132624/3040605
2017-10-21 15:12:56 +08:00
afc163
529f9fa933 use @heading-color again 2017-10-20 15:49:28 +08:00
afc163
ef443ad047 Merge branch 'master' into antd-3.0 2017-10-20 15:47:42 +08:00
syssam
f8b7aad53d less variable @form-vertical-label-padding, @form-vertical-label-margin, @input-padding-horizontal-base, @input-padding-horizontal-sm, @input-padding-horizontal-lg (#7886) (#7919) 2017-10-20 15:11:44 +08:00
afc163
3d6b142621 fix notification ci 2017-10-20 15:10:53 +08:00
Stephen Esser
88ed97b63d doc: Fix spelling mistake in Select demo (#7932) 2017-10-20 14:54:57 +08:00
Benjy Cui
7ea572bfc8 refactor: extract common locale logic (#7915) 2017-10-20 14:54:38 +08:00
afc163
3bc8f1ce5a Tweak form nested form style 2017-10-20 11:35:05 +08:00
vgeyi
d64ab68adb Cascade add prefixCls for child Input (#7945) 2017-10-19 21:55:06 -05:00
Zhang Zhi
7bc6aad1fd Update button code to make it more clearer (#7929)
* remove unnecessary default value of 'size' prop

* `clicked` should be a state
2017-10-19 21:52:06 -05:00
memoryza
cf397a27f0 update Breadcrumb readme (#7947)
* update Breadcrumb readme

* update english
2017-10-19 22:36:49 +08:00