Commit Graph

8588 Commits

Author SHA1 Message Date
Tyler
919cb22eb7 Use the prop-types package from npm instead of React.PropTypes (#6057)
* Use the prop-types package from npm instead of React.PropTypes

* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +08:00
陆离
158536bbd9 Autocomplete height style fix (#6059)
+ close #6058
2017-05-09 13:36:37 +08:00
Rex
83a322f2d3 fix: notification are overlapping (#5994)
* fix notification are overlapping

* update test case

* update test case
2017-05-08 16:57:43 +08:00
wangtao0101
0d070d3763 refactor: improve performance of Transfer #5997 (#6001)
* fix bug #5997

* change order for review
2017-05-08 16:40:12 +08:00
Graeme Yeates
694f73d060 Add variable to control tag default color (#6039) 2017-05-08 13:57:52 +08:00
Graeme Yeates
e65dd692d2 Add a variable to control input addon's background (#6040) 2017-05-08 13:55:34 +08:00
BK Heleth
291ca97428 Fix #6044 | Radio.Button types (#6053) 2017-05-08 13:12:34 +08:00
Jonatas Walker
7b3459fcb5 Fix site typos (#6043) 2017-05-06 21:04:29 +08:00
afc163
fa0cd33be3 upgrade normalize.css to 7.0.0 2017-05-06 18:21:46 +08:00
Benjy Cui
5b605f1a57 bump 2.10.0 2017-05-05 18:08:17 +08:00
Benjy Cui
a0a6b4610b chore: simplify code, close: #6030 2017-05-05 18:06:43 +08:00
Benjy Cui
175b16c190 docs: add changelog for 2.10 (#5981) 2017-05-05 17:53:05 +08:00
陆离
4518b02095 feat: support Mention[disabled|readOnly] and add some warning(#6004)
#### FEATURES

 * use `ContentState` instead of `EditorState`, selection events won't trigger
   onChange anymore.
 * deprecated `Mention.toEditorState`, instead of `Mention.toContentState`,
 * `Mention.toEditorState` are compatibled, but have a warnning in console.

 #### ISSUES

 * `disabled` and `readOnly` props supported.
 * fixed controlled mode bug.

 * close #5788
 * close #5175
 * close #https://github.com/react-component/editor-mention/issues/7
2017-05-05 14:53:46 +08:00
Benjy Cui
0d672d5c2d test: fix CI 2017-05-05 14:47:37 +08:00
kossel
169e0f9762 fix: issue 5834, autocomplete is not being decorated (#6018) 2017-05-05 14:40:57 +08:00
Benjy Cui
f870db26f5 docs: update API docs for Notification 2017-05-05 14:34:33 +08:00
lixiaoyang
f58615dc35 feat: Notification supports className and style (#6014)
* notification add className and style

Message add className and style

* revert message
2017-05-05 14:26:55 +08:00
afc163
85567da0e8 tweak style 2017-05-04 12:05:57 +08:00
偏右
1a775b1d3b Merge pull request #5964 from megawac/active-item-bg
Add @active-item-bg to control hover and active states
2017-05-04 12:02:55 +08:00
偏右
51ae68e1a9 Merge pull request #6009 from megawac/input-number-background
Fix input-number not setting the child input elements background
2017-05-04 11:59:48 +08:00
偏右
131a35bcc9 Merge pull request #6008 from megawac/popover-text-color
Add missing @popover-color variable
2017-05-04 11:59:40 +08:00
偏右
e37648adbd Merge pull request #6007 from megawac/fix-cascader-background
Fix cascader not using @component-background
2017-05-04 11:59:26 +08:00
偏右
48ccedd8a5 Merge pull request #6006 from megawac/time-picker-selected-bg
Add @time-picker-selected-bg to control the selected state of time-pickers
2017-05-04 11:59:15 +08:00
Graeme Yeates
e69f03a323 Fix input-number not setting the child input elements background 2017-05-03 14:46:32 -04:00
Graeme Yeates
eafb41d129 Add missing @popover-text-color variable 2017-05-03 13:36:22 -04:00
Graeme Yeates
fbe402fe9e Fix cascader not using @component-background 2017-05-03 13:10:46 -04:00
Graeme Yeates
98ba816bfb Add @time-picker-selected-bg to control the selected state of time-picker 2017-05-03 11:06:07 -04:00
Graeme Yeates
d8d17a6401 Seperate @active-item-bg into 2 variables 2017-05-03 10:57:14 -04:00
afc163
5b22faacce fix broken link 2017-05-03 19:17:50 +08:00
afc163
c8d9e64809 Fix Transfer selection when searching text, close #5993 2017-05-03 19:05:31 +08:00
afc163
f5d371f6e9 tweak selection style 2017-05-03 16:23:08 +08:00
afc163
93f7fd1c98 update table selection text and add select all demo 2017-05-03 16:19:12 +08:00
afc163
9e018a7310 fix test case, #5999 2017-05-03 15:33:40 +08:00
afc163
290a779916 fix test case, #5999 2017-05-03 15:22:01 +08:00
afc163
54f443a266 tweak clear icon position 2017-05-03 15:19:33 +08:00
偏右
9537ce02ee Merge pull request #5999 from RaoHai/addAutoCompleteFilterOptions
set filterOption to false
2017-05-03 15:09:04 +08:00
RaoHai
650ab28b59 set filterOption to false
+ close #5860
2017-05-03 14:56:21 +08:00
Graeme Yeates
0bc8284c46 [#5964] add @background-color-active rule 2017-05-02 11:06:01 -04:00
Graeme Yeates
4eb2855871 Add @active-item-bg to control hover and active states 2017-05-02 11:05:28 -04:00
afc163
5d6439f15b When there is icon, should not insert space in button children, #5977 2017-05-02 20:16:37 +08:00
Wei Zhu
2190f63959 docs: Fix Tree drag demo
close #5837
2017-05-02 16:47:40 +08:00
shlice
38a7a87690 feat: enhance handleRemove in Upload (#5974)
onRemove will be executed when removing file button is clicked, remove event will be prevented when return value is false.
But, if we want't to popup a confirm dialog, it can't block the execution of onRemove.
So, I add Promise support for onRemove. The return value of onRemove now can be a Promise, and the handleRemove function in Upload can wait for the non-blocking confirm dialog.
2017-05-02 16:31:39 +08:00
偏右
d3aa5f3cbf fix: time picker layout (#5983)
* Add popupClassName

* Fix showTime panel width bug, close #5959

* Add test case
2017-05-02 16:24:29 +08:00
afc163
c6efc4db27 Adjust dropdown item padding, close #5088 2017-05-02 16:07:16 +08:00
afc163
ac660d9f3c Fix transfer search bug, close #5631 2017-05-02 15:47:51 +08:00
偏右
f70dd7e20f Merge pull request #5978 from liekkas/master
Add @tabs-card-head-background
2017-05-02 10:53:57 +08:00
MeiLin
01a75428d6 docs: fix typo (#5980) 2017-05-02 09:29:57 +08:00
liekkas
7ee1e79841 extract new variable @tabs-card-head-background from tabs's card-style.less 2017-05-01 21:58:37 +08:00
liekkas
4cd95d5723 use @card-head-background 2017-05-01 21:40:38 +08:00
liekkas
6e6c5ce2e5 Merge remote-tracking branch 'ant-design/master' 2017-05-01 21:36:07 +08:00