Commit Graph

4815 Commits

Author SHA1 Message Date
Graeme Yeates
2d6d6a8b67 Popover should use @popover-color to control title color 2017-05-05 16:51:12 -04: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
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
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
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
afc163
ebd66d0082 fix missing less variable 2017-05-01 14:18:16 +08:00
偏右
5fde1e7550 Merge branch 'master' into background-color-base 2017-05-01 13:51:11 +08:00
afc163
d7d18be1f5 revert collapse active background, ref #5881 2017-05-01 13:42:07 +08:00
偏右
6787e41257 Merge pull request #5962 from megawac/fix-calendar-input-background
Fix calendar input background to use @input-bg
2017-05-01 13:38:52 +08:00
偏右
da0365f23a Merge pull request #5963 from megawac/alert-text-color
Add variables for customizing alert text and heading colors
2017-05-01 13:38:33 +08:00
偏右
66b354efcf Merge pull request #5965 from megawac/less-variable-documentation
Add some basic less variable documentation
2017-05-01 13:37:27 +08:00
Brook Shi
315f760ce2 Input component support spellCheck for TypeScript 2017-04-30 23:31:45 +08:00
afc163
224c46ded9 fix typo 2017-04-30 18:47:15 +08:00
afc163
6caa92057b Fix cascader line-height, close #5952 2017-04-30 16:59:53 +08:00
Graeme Yeates
5841746ec9 Decompose @background-color-base into several variables 2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7 Consistently use @background-color-base for disabled states 2017-04-28 15:43:02 -04:00
Graeme Yeates
10aab49686 Add some basic documentation for some of the confusing less variables 2017-04-28 15:24:45 -04:00
Graeme Yeates
f2a8fe9299 Add variables for customizing alert text and heading colors 2017-04-28 13:42:01 -04:00