Wei Zhu
97c75d4ea8
Upgrade rc-tree-select
...
* Add allowClear to checkable and multiple select.
2017-05-23 14:51:27 +08:00
Benjy Cui
e0db2f424e
docs: update docs for Card, ref: #6225
2017-05-23 10:03:34 +08:00
Anas Tawfeek
f61b69cbb1
docs: adding the prop 'loading' to the properties table. ( #6225 )
2017-05-23 09:56:59 +08:00
afc163
861c5b33d1
support precision of InputNumber, close #5998
2017-05-22 17:40:12 +08:00
偏右
516317e78a
Merge pull request #6005 from megawac/multiselect-tag-bg
...
Use @tag-default-bg for multiselect tags
2017-05-22 16:35:03 +08:00
偏右
b4b607f4b0
Merge pull request #6221 from mitchelldemler/master
...
Add ValidationRule type for getFieldDecorator validation rules
2017-05-22 16:29:30 +08:00
偏右
1d0741d1e8
Merge pull request #6197 from ant-design/tree-click-area
...
Increase click area of Tree icons
2017-05-22 16:29:12 +08:00
mitchell.demler
64befeda32
Add ValidationRule type for getFieldDecorator validation rules
...
Copied types from english documentation. (these might need checking?)
2017-05-22 15:57:09 +12:00
Benjy Cui
4b8a291684
fix: broken style of Cascader in Input.Group ( #6208 )
...
* fix: broken hover style of Cascader, close : #6202
* test: update snapshot
2017-05-22 10:09:17 +08:00
Arthur Denner Oliveira Santos
262cad1009
fix: adding missing translations to Upload and Table components ( #6218 )
2017-05-22 09:47:30 +08:00
Benjy Cui
1dae0b65f2
chore: improve UX of RangePicker ( #6200 )
...
* chore: improve UX of RangePicker
* test: fix CI
2017-05-22 09:42:04 +08:00
Graeme Yeates
adfca8ae78
Use @tag-default-bg for multiselect tags
2017-05-19 11:52:31 -04:00
afc163
42c3665517
filter dropdown should be render inside td
2017-05-19 16:02:21 +08:00
Mitchell Demler
fa44de3faa
refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps ( #6205 )
2017-05-19 11:29:16 +08:00
afc163
584102d085
Merge branch 'master' into feature-2.11
2017-05-18 21:20:03 +08:00
afc163
7cde9c8ffe
fix affix input height, ref #6144
2017-05-18 15:08:30 +08:00
afc163
b887ad8e54
Fix selected background
2017-05-18 15:08:30 +08:00
Benjy Cui
361df26f3a
fix: should support DatePicker|RangePicker[showTime.defaultValue], ( #6160 )
...
close : #5691 #2375
2017-05-18 14:51:06 +08:00
Wei Zhu
c962705f03
Increase click area of Tree icons
...
Close #6120
2017-05-18 14:28:48 +08:00
afc163
8703145d70
Fix prop-types and createClass warning, #5678
2017-05-18 14:22:47 +08:00
afc163
8d5ecfbd12
remove duplicated css import, close #6186
2017-05-18 09:57:11 +08:00
afc163
a4fb175672
move duplicated css code, close #6156
2017-05-17 20:31:48 +08:00
afc163
c6ec1ce9bb
use create-react-class, ref #5678
2017-05-17 18:01:53 +08:00
Benjy Cui
863b777361
feat: Collapse.Panel supports disabled, close : #6119
2017-05-17 14:01:58 +08:00
Benjy Cui
0b332f0fb8
test: update snapshot for pagination
2017-05-17 11:11:01 +08:00
Rex
f3c38d5811
fix: notification.destroy
bug ( #6161 )
2017-05-17 10:24:16 +08:00
偏右
56f8481709
Merge pull request #6155 from ant-design/revert-input
...
revert: #5990
2017-05-16 18:05:55 +08:00
afc163
8feed523d9
Allow showHour can be overrided
2017-05-16 15:33:01 +08:00
Benjy Cui
523ad8c802
docs: show demo for #6121
2017-05-16 15:09:10 +08:00
Benjy Cui
a86a3339fc
revert: #5990
2017-05-16 12:02:52 +08:00
Benjy Cui
2feb3d42e6
chore: add definition for Button[onMouseDown], close : #6054
2017-05-16 11:55:17 +08:00
Benjy Cui
9ce3a1ea35
docs: update docs details for Modal, close : #6121
2017-05-16 10:43:12 +08:00
Benjy Cui
aab3daa1ea
fix: broken style of SubMenu[disabled], close : #6062
2017-05-15 18:24:27 +08:00
afc163
1165200dcc
remove unused className, #6144
2017-05-15 18:20:31 +08:00
afc163
010860ae0f
Fix style.height issue of Input with addon and prefix, close #6144
2017-05-15 18:15:58 +08:00
Benjy Cui
a9a8f68578
docs: update demo
2017-05-15 17:33:47 +08:00
afc163
46884e06ea
Fix TreeSelect item style, close #6137
2017-05-15 17:31:34 +08:00
ddcat1115
0b9ff23661
docs: add dynamic-rule form demo ( #6035 )
2017-05-15 17:25:50 +08:00
Benjy Cui
8c06fc6527
test: update snapshot
2017-05-15 16:41:44 +08:00
afc163
29e54c2339
fix lint in demo
2017-05-15 16:40:10 +08:00
偏右
f93867cfc8
Merge pull request #6136 from hbrls/master
...
fix: indent size
2017-05-15 16:36:24 +08:00
Benjy Cui
555dbb9b29
docs: add MonthPicker disableDate demo
2017-05-15 16:18:08 +08:00
Benjy Cui
12a6060304
docs: fix code style
2017-05-15 14:37:22 +08:00
Albert 理斯特
3f44c55689
fix: indent size
2017-05-15 14:35:19 +08:00
Benjy Cui
61d6cf14ff
deps: upgrade eslint relative deps
2017-05-15 12:10:28 +08:00
Benjy Cui
11626decfe
chore: update docs for Form.Item and fix edge case, close : #6113
2017-05-15 11:31:48 +08:00
偏右
0fdc3799b6
refactor: Extend Input types from HTMLInputProps, #5970 ( #5990 )
2017-05-15 10:28:13 +08:00
hardfist
da935ec4af
fix Notification getContainer config bug ( #6099 )
...
Change-Id: I8eb84c640bb75c7e3b7c9c35b3105ca147888d54
2017-05-14 00:13:34 +08:00
afc163
ed17464a5f
Fix vertical align of RangePicker input in safari and 360, close #6061
2017-05-13 15:16:25 +08:00
afc163
6d38fcf4e4
Add @popover-distance and adjuest popover default distance, close #6105
2017-05-13 15:07:01 +08:00
偏右
8c41373a06
Merge pull request #6041 from megawac/popover-heading-color
...
Popover should use @popover-color to control title color
2017-05-12 20:51:27 +08:00
afc163
9089674a6f
Fix form item layout bug when zoom out, close #6097
2017-05-11 21:10:30 +08:00
afc163
0c88ec2f38
Fix warning path
2017-05-11 16:50:22 +08:00
afc163
62e9c21e47
fix demo
2017-05-11 16:49:01 +08:00
afc163
10a2d82731
Fixed mode of Menu inside Dropdown, close #6101
2017-05-11 14:57:29 +08:00
afc163
811ecfddf6
Add fork icon
2017-05-11 13:30:38 +08:00
Benjy Cui
a081100cdc
refactor: simplify code
2017-05-11 11:38:32 +08:00
wangtao0101
58922a34c6
fix bug #6075 ( #6088 )
...
* fix bug #6075
* add test for PR #6088
* remove test.only
2017-05-11 10:41:14 +08:00
afc163
2129237aa1
Fix card tab pane style, close #5888
2017-05-10 21:29:52 +08:00
afc163
de87bd7d17
card tabs animation could be overrided, close #6070
2017-05-10 20:49:05 +08:00
Graeme Yeates
8d1b2c9f32
Add variable for controlling backtop colors ( #6038 )
2017-05-09 17:15:54 +08:00
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
afc163
fa0cd33be3
upgrade normalize.css to 7.0.0
2017-05-06 18:21:46 +08:00
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
Graeme Yeates
e6d619b3cf
Fix calendar input background to use @input-bg
2017-04-28 13:24:12 -04:00
afc163
7ec314d793
Merge branch 'master' of github.com:ant-design/ant-design
2017-04-28 10:20:56 +08:00
Benjy Cui
f434772466
docs: fix typo
2017-04-28 09:50:10 +08:00
Benjy Cui
5f80e50d31
Merge branch 'feature-2.10'
2017-04-28 09:41:34 +08:00
Benjy Cui
d48c2084d5
feat: expose TimePicker[open], close : #5775 & #5829 ( #5913 )
2017-04-28 09:40:20 +08:00
Tino D
5c25452de8
fix: update locale es_ES (Spanish) ( #5932 )
...
* Update locale es_ES (Spanish)
* Fix indent
2017-04-28 09:39:35 +08:00
afc163
dbbf09ae95
fix createClass in test
2017-04-27 21:12:23 +08:00
afc163
4951df182b
Fix loading Table paginaition style, close #5937
2017-04-27 20:58:47 +08:00
afc163
45e7c86067
Fix Checkbox and Radio disabled cursor, close #5935
2017-04-27 20:58:46 +08:00
Hai Phan Nguyen
c6832d1235
feat: add Vietnamese localization support ( #5927 )
...
* Add Vietnamese locale
* add Vietnamese locale
2017-04-27 16:39:46 +08:00
偏右
97762a9361
Merge pull request #5920 from ant-design/refactor-enable-noImplicitAny
...
refactor(button): enable noImplicitAny #5627
2017-04-27 16:29:23 +08:00
偏右
339e60bf86
Merge pull request #5911 from ddcat1115/fix-5832
...
fix Input.Group style bug
2017-04-27 16:18:51 +08:00
Wei Zhu
5b21e591c3
deps: upgrade rc-tree@1.5.0 ( #5917 )
2017-04-27 15:25:08 +08:00
偏右
74a12f189c
Merge pull request #5881 from megawac/collapse-active-color
...
Use @primary-1 for collapse active state
2017-04-27 10:10:29 +08:00
Graeme Yeates
fb4bafba6f
Change collapse-hover-bg to collapse-active-bg
2017-04-26 22:08:44 -04:00
bang
ae631c7190
refactor(button): enable noImplicitAny #5627
2017-04-26 23:30:51 +07:00
Graeme Yeates
5cba6317b5
Add variable for collapse hover background
2017-04-26 10:16:04 -04:00
乐仪
09e66db264
fix Input.Group style bug
2017-04-26 15:18:19 +08:00
Benjy Cui
44c4d5c167
fix: should not reset showDate when value is empty array, close : #5872 ( #5898 )
2017-04-26 14:44:07 +08:00
绯一
80de0127f4
feat: add table padding parameters for customizing ( #5795 )
2017-04-26 10:16:26 +08:00
Brook Shi
286fc964e6
fix: support inlineIndent property of Menu for TypeScript ( #5903 )
2017-04-26 10:11:03 +08:00
邦
e7053c1b39
refactor: support noImplicitAny in Alert ( #5836 )
...
* refactor(alert): Enable noImplicitAny
* refactor(anchor): enable noImplicitAny #5627
* chore: coding style
2017-04-26 09:51:35 +08:00
leadream
d783c26263
css: add background color variable for modal mask. ( #5890 )
2017-04-25 16:43:42 +08:00
Min
6cd05d8be5
fix: the breaking change #5877 ( #5886 )
...
* Fix the bug
When tabPostition = 'left' | | 'right, slideButton should be on the up and down, but the actual in left and right
Signed-off-by: Min <dicklwm@163.com>
* fix the break change #5877
Signed-off-by: Min <dicklwm@163.com>
2017-04-25 16:39:37 +08:00
ko
e85708d16a
docs: grammatical changes and improve sentence flow ( #5882 )
...
* Fixed some grammatical issues
* Prop descriptions are now more consistent
* Sentences flow better; they aren't as disjoint or terse
2017-04-25 16:37:18 +08:00
afc163
cad727323b
Fix snapshot
2017-04-25 15:31:47 +08:00
afc163
cfae24084b
Fix table content layout, close #5888
2017-04-25 12:52:59 +08:00
Graeme Yeates
8250cb21f4
Use @primary-1 for collapse active state
2017-04-24 15:58:27 -04:00
乐仪
5dfe86e891
fix snap
2017-04-24 17:08:56 +08:00
乐仪
bf755f8daa
fix notification can't close after 4.5s
2017-04-24 16:12:50 +08:00
Hugo LEHMANN
6d627a9295
Add transition for the ant-tabs-ink-bar width
...
Currently when Tabs titles have very different width, the ink-bar width change without transition.
2017-04-22 17:59:04 +02:00