Commit Graph

4841 Commits

Author SHA1 Message Date
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
Wei Zhu
07072fc3b1 docs: Document AutoComplete[onSearch]
Related: #5610
2017-04-22 22:52:37 +08:00
afc163
b5c5466732 update locale-provider test case 2017-04-22 22:52:37 +08:00
Kimmo Saari
b6eecef255 Add locale fi_FI (#5674) 2017-04-22 22:52:37 +08:00
OAwan
1903b75d38 Traditional Chinese locale provider added (#5665) 2017-04-22 22:52:01 +08:00
Graeme Yeates
1790642e98 Allow styling of radio button backgrounds (#5791) 2017-04-22 14:09:25 +08:00
偏右
aa0c29dfc0 Merge pull request #5855 from megawac/optional-form-colon
Add a less variable to opt out of form item colons
2017-04-22 13:30:14 +08:00
乐仪
50b7ce55fe fix indent of AutoComplete 2017-04-22 10:57:28 +08:00
陆离
b694608af4 onKeyDown bug fix (#5766)
+ close #5487
2017-04-22 10:48:21 +08:00
ddcat1115
75e9e44a2f new style of danger button (#5815)
* new style for danger button

* improve
2017-04-22 10:44:17 +08:00
ddcat1115
b236d73348 fix firefox Layout.Sider can't collapse to zero width (#5833) 2017-04-22 10:38:44 +08:00
ddcat1115
c0125ff1ce allow user to override showIcon type of Alert[banner] (#5818) 2017-04-22 10:37:00 +08:00
Benjy Cui
0a2fb1817f fix: vertical tab bar height should follow tabs height (#5809)
* fix: vertical tab bar height should follow tabs height

* docs: update demo for Tabs
2017-04-22 09:43:32 +08:00
ddcat1115
70b89e9316 fix AutoComplete style in Input.Group[compact] (#5849) 2017-04-22 09:28:44 +08:00
Graeme Yeates
297412b57c Add a less variable to opt out of form item colons 2017-04-21 14:34:56 -04:00
afc163
455a23f1bb should only affect notification without description and with icon, #5846 2017-04-22 01:28:54 +08:00
afc163
12a9f1e5b5 Auto adjust notification style for singleline message, close #5846 2017-04-22 01:11:18 +08:00
Benjy Cui
f5fa64c17b fix: hack to fix ts compile errors 2017-04-21 11:39:01 +08:00
Benjy Cui
5fe3cb9318 refactor: to ES6 class style 2017-04-20 17:12:14 +08:00
Graeme Yeates
89c37552a3 Set the color on input suffix 2017-04-19 14:22:06 -04:00
Min
dfad1f887c fix: pre/next's style of Tabs' vertical mode (#5784)
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>
2017-04-19 11:42:32 +08:00
afc163
4310eb3b80 update input demo snapshot 2017-04-19 11:31:28 +08:00
afc163
1b42fbc728 Add Input range demo 2017-04-19 11:22:17 +08:00
afc163
b9ff7ed613 enlarge close area of Modal 2017-04-19 11:15:46 +08:00
Yiming
c9a09a1d01 Update index.zh-CN.md
fix typo
2017-04-19 10:39:42 +08:00
afc163
73ca5a9d0e Fix tabs snapshots 2017-04-17 12:01:21 +08:00
afc163
6b1cec2bf6 Use height over padding for button size, close #5256 2017-04-16 19:01:46 +08:00
afc163
03e9a97e2b typo 2017-04-16 00:03:47 +08:00
afc163
6e147b7a3d card type Tab should not have any animation 2017-04-15 15:26:35 +08:00
afc163
b9851f84c8 fix link focus style 2017-04-15 15:12:41 +08:00
afc163
fbdebd7692 Fix button loading transition 2017-04-15 14:57:20 +08:00
afc163
8605e84150 update button demo 2017-04-15 14:57:20 +08:00
afc163
f4413a6758 Fix Transfor moving item background 2017-04-15 14:57:20 +08:00
afc163
cb1815cfdf fix api doc 2017-04-15 14:57:20 +08:00
Benjy Cui
eb9e19be1f feat: make Checkbox work in Checkbox.Group, close: #5645 (#5714)
* refactor: simplify Radio's code

* feat: make Checkbox work in Checkbox.Group, close: #5645

* test: add snapshot
2017-04-14 16:20:09 +08:00
afc163
9497a1f546 Fix InputGroup large and small size bug, close #5754 2017-04-14 11:43:56 +08:00
Erwann Mest
73d7e816b1 Destructuring for the win. 2017-04-13 17:27:03 +02:00
afc163
335eb0c246 Fix style prop of Upload.Dragger 2017-04-13 17:33:08 +08:00
afc163
8a1c875123 update select doc 2017-04-13 16:46:46 +08:00
afc163
67c386494b fix tree demo css 2017-04-13 15:36:03 +08:00
afc163
d081ab6614 Hide tree demo for #4932 2017-04-13 15:31:38 +08:00
偏右
9319764eb8 Merge pull request #5663 from ant-design/ux-range-picker
chore: improve ux of RangeCalendar, close: #4985
2017-04-13 13:32:54 +08:00
afc163
fc199e47b8 fix snap 2017-04-13 11:18:31 +08:00
afc163
31273135e2 remove displayName 2017-04-13 11:10:40 +08:00