Commit Graph

5903 Commits

Author SHA1 Message Date
Benjy Cui
1f652bfe4c fix: event.target of Button's click event, close: #7034 2017-08-16 17:43:56 +08:00
Benjy Cui
bee3c43e7a fix: Timeline with only one child should work, close: #7214 2017-08-16 17:31:53 +08:00
afc163
b0da6adf8c Improve responsive of Steps 2017-08-16 16:07:57 +08:00
afc163
ad6dbcb9c6 Fix button in DatePicker 2017-08-16 15:38:12 +08:00
afc163
53640c3f18 update menu API doc 2017-08-16 14:27:22 +08:00
afc163
f0c6350e0e update select demo 2017-08-16 10:38:03 +08:00
afc163
cf3c0aac43 Fix focused style of disabled Pagination button 2017-08-16 09:54:10 +08:00
afc163
9c925d7c9b fix snap 2017-08-15 23:09:45 +08:00
afc163
2318cd47a4 Merge from master 2017-08-15 22:50:00 +08:00
afc163
8dfb44ba72 update card snapshot 2017-08-15 22:36:48 +08:00
afc163
f46112d385 refactor card extra style 2017-08-15 22:34:48 +08:00
afc163
59b11f3b48 Tweak button insert space logic 2017-08-15 20:08:00 +08:00
nikogu
4e68750777 List: remove noHovering prop 2017-08-15 19:57:44 +08:00
nikogu
8ed6883d70 List: change noHovering default true 2017-08-15 17:36:51 +08:00
nikogu
ecef5887b6 merge master 2017-08-15 17:26:56 +08:00
niko
600d589617 fixed some list style bug (#7177)
* fixed some list style bug

* add cursor:pointer to hover style

* fixed hover style
2017-08-15 17:25:14 +08:00
afc163
1f6bcf963f tweak progress initial style 2017-08-15 16:48:49 +08:00
afc163
749b6e7242 Tweak table sorter style 2017-08-15 15:14:02 +08:00
Stefan Paunovic
7d8c7d72b7 feat: add sr_RS locale (Serbian) (#7201) 2017-08-15 09:24:30 +08:00
乐仪
314c095fbf Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-15 00:13:40 +08:00
afc163
57e3be2c32 Fix select popupContainer in site header 2017-08-14 22:57:45 +08:00
乐仪
cd6b017ce5 fix ts error 2017-08-14 22:25:17 +08:00
ddcat1115
1c518c3d97 Card improve & bugfix (#7204)
* Card improve & bugfix

* update snap
2017-08-14 21:43:32 +08:00
nikogu
0034d0529c add list grid 2017-08-14 11:09:22 +08:00
偏右
a59bcf7e90 change noHovering to true defaultly (#7178) 2017-08-14 09:52:16 +08:00
Mitchell Demler
293d63910a Fix type definition for Card Component. (#7196)
React.Component requires two parameters. The second parameter (State) is now optional in a more recent version of @types/react however upgrading to this has several major/breaking changes elsewhere. I would prefer to explicitly define State as `{}` in this case.
2017-08-14 09:44:44 +08:00
afc163
f6d349731c Fix innerSlider of react-slick, close #7191 2017-08-13 14:52:29 +08:00
Zheeeng
754966991b Rename File interface to UploadFile (#7183)
* Fix doc missing info

* Rename File interface to UploadFile
2017-08-12 13:56:57 +08:00
Mars Wong
1e80254059 doc: add missing API for Cascader (#7187) 2017-08-12 13:56:42 +08:00
nikogu
7d49cc18a9 Merge branch 'master' into feature-2.13 2017-08-12 11:16:33 +08:00
Eden Wang
e633f91c27 Disabled Dropdown is showing Menu on hover (#7102)
* disabled dropdown is showing menu on hover

* fix cr error

* update snap

* update document
2017-08-11 23:55:36 +08:00
afc163
11f9459738 update snapshot 2017-08-11 22:14:16 +08:00
afc163
1651015688 fix card doc, ref #7185 2017-08-11 20:21:16 +08:00
afc163
592653c2ad fix card type tabs className, close #7185 2017-08-11 19:59:55 +08:00
afc163
711703b91e update bootstrap 3 link 2017-08-11 19:08:09 +08:00
Xiaohan Lee
c23c0a6b16 Update docs for Table.render and Upload.onChange (#7180)
* Docs: fix invalid link in docs of Table.render

* Docs: add link for "onChange" in docs of Upload.onChange
2017-08-11 17:05:58 +08:00
jiang
22ef7d1147 add form explain animate (#7172) 2017-08-11 17:05:25 +08:00
afc163
f689ede0fa The collapse trigger of Sider should be fixed and upon menus
close #7161
2017-08-11 16:10:17 +08:00
Zhang Zhi
30e4fa8a8d Remove Button's redundent code (#7176) 2017-08-11 15:06:35 +08:00
Zheeeng
fdc8d357ef Fix doc missing info (#7175) 2017-08-11 12:39:26 +08:00
afc163
c79592cf05 Fix select demo 2017-08-11 10:44:13 +08:00
afc163
af9dc73eef Fix collapse arrow position in IE9/10/11 2017-08-11 10:32:16 +08:00
Zheeeng
d6dde83247 Fix typo (#7170) 2017-08-11 09:30:19 +08:00
afc163
af1e862aef Merge branch 'master' into antd-3.0 2017-08-10 21:45:49 +08:00
afc163
d98d7a451c Add @tag-font-size 2017-08-10 21:45:19 +08:00
nikogu
fab125d741 fixed List Components Props 2017-08-10 18:00:40 +08:00
afc163
b48f749e26 Merge branch 'feature-2.13' into antd-3.0 2017-08-10 16:33:18 +08:00
afc163
d324b28e1a Merge branch 'master' into antd-3.0 2017-08-10 16:32:37 +08:00
afc163
9bcde59001 Add @form-feedback-icon-size 2017-08-10 11:34:08 +08:00
afc163
43751c9930 revert eb3c274, close #7162 2017-08-10 10:54:02 +08:00
afc163
1f18c93d7f Fix empty table scrollbar, close #7142 2017-08-09 21:55:38 +08:00
niko
5836a49899 remove List.Item.Content & change List.Item.Action to List actions props (#7159) 2017-08-09 21:46:48 +08:00
Vemund Santi
b69a6886d7 Locale/nb-NO (#7122)
* locale: Add Norwegian Bokmål locales to Ant Design

* Add Vemund Santi to authors.

* docs: add Norwegian to list of i18n language examples

* test: add tests for Norwegian Bokmål

* Update dependencies. Use locales from rc-pagination.
2017-08-09 20:36:01 +08:00
afc163
47c5de29f3 tweak range picker style 2017-08-09 16:21:18 +08:00
乐仪
f8f34fc1f4 Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-09 15:59:29 +08:00
niko
12bbe3776c Feature list component (#7150)
* add list component

* fixed the demo syntax

* update list snapshots
2017-08-09 15:45:08 +08:00
偏右
eb3c274e01 Fix extra space in RangePicker
https://gw.alipayobjects.com/zos/rmsportal/sTMIijZIrTkBDaGrEXmI.png
2017-08-09 15:33:30 +08:00
ddcat1115
2b1bed42c9 Card new feat (#7120)
* inner style Card

* support `cover` `actions` `avatar` `description` and `extraContent`

* improve

* refactor
2017-08-09 14:34:10 +08:00
Randy
df934445c0 add a generic type for FormCreateOption (#7119) 2017-08-09 12:59:31 +08:00
Benjy Cui
87bfe2df87 fix: wrappedComponentRef should work, close: #6545 2017-08-09 10:27:34 +08:00
afc163
3001ca4114 typo 2017-08-08 21:22:09 +08:00
afc163
02c5616250 Update Card demo 2017-08-08 21:21:49 +08:00
afc163
807b573bff Collapse the border or Card.Grid 2017-08-08 21:13:29 +08:00
afc163
b687a32044 Fix safari input text align, close #7135 2017-08-08 20:27:05 +08:00
afc163
a329d3d39b Fix file.response type checking, ref #6818 2017-08-08 17:18:55 +08:00
afc163
8892d85e33 use @font-size-base for Badge[text] 2017-08-08 14:23:50 +08:00
afc163
500b222556 Fix stretched layout by content
523b4360d2 (commitcomment-23527573)
2017-08-08 13:38:10 +08:00
afc163
d339e628ed Fix upload default error message, close #6818 2017-08-08 13:34:24 +08:00
Benjy Cui
02daedd67b docs: add missing doc for Form, close: #6959 2017-08-08 10:10:47 +08:00
afc163
4c52ccaff9 Fix Dropdown menu width, close #7124 2017-08-07 21:27:08 +08:00
afc163
4f73a23a10 typo 2017-08-07 17:59:47 +08:00
afc163
29b5f433f8 Fix step title background 2017-08-07 16:11:43 +08:00
afc163
5a33774238 Fix ~ mis-position bug 2017-08-07 15:35:05 +08:00
Dmitry Bolotin
ba0d2598fe Object cloning in flatArray performed only if object has childrenName field. (#7072) 2017-08-07 15:33:18 +08:00
afc163
e3b6430a4b Fix InputNumber border, close #7117 2017-08-07 14:16:28 +08:00
afc163
3570458c31 Fix undefined SelectPropTypes 2017-08-07 11:35:22 +08:00
Yiming
a22a011c49 修改错别字 (#7110)
反应 应为 反映
2017-08-07 10:44:47 +08:00
Michalis Macheras
94d46e4c01 add el_GR locale (Greek) (#6928)
Update index.test.js

Syntactic error corrected
2017-08-07 10:41:38 +08:00
Randy
e4c5ab9c69 Radiogroup with name (#7009)
* Add a name property for RadioGroup

* Add document for RadioGroup's name property

* Add test case for RadioGroup name property
2017-08-07 10:41:38 +08:00
Benjy Cui
456cea652b docs: add zIndex to docs of Modal, ref: 2aa3437 2017-08-07 10:41:38 +08:00
Alex Chao
3727ea2c33 feat: Modal.confirm supports zIndex prop #6722 (#6880)
* Modal.confirm supports zIndex prop #6722

* Fix filename

* Fix the zIndex missing in ModalFuncProps interface
2017-08-07 10:41:38 +08:00
mkermani144
e8ef77b963 Add fa_IR locale 2017-08-07 10:40:34 +08:00
Graeme Yeates
d21523ef8c Use classNames to set ant-column-sort Table attribute 2017-08-07 10:40:34 +08:00
Graeme Yeates
75a6a562a0 Update table head.md snapshot 2017-08-07 10:40:34 +08:00
Graeme Yeates
40e94945d9 Add support for table default sort order (#6449) 2017-08-07 10:40:34 +08:00
yociduo
8016cccd18 rollback basic demo from popconfirm 2017-08-07 10:40:34 +08:00
yociduo
fa0e90f577 remove cancel type 2017-08-07 10:40:34 +08:00
yociduo
528a7645ca remove cancel text 2017-08-07 10:40:33 +08:00
Eden Wang
a5a1458148 add missing trailing commna 2017-08-07 10:40:33 +08:00
Eden Wang
8f1dd9ccda add missing trailing comma 2017-08-07 10:40:33 +08:00
Eden Wang
ee176347ac fix ci compile error 2017-08-07 10:40:33 +08:00
Eden Wang
f7b918add3 update confirm demo 2017-08-07 10:40:33 +08:00
Eden Wang
c712d072eb update okType and cancelType for api docs 2017-08-07 10:40:33 +08:00
Eden Wang
f2b987aaa9 update custom type for modal components 2017-08-07 10:40:32 +08:00
Eden Wang
f5ade936e1 add button type for ok and cancel in popconfirm 2017-08-07 10:40:32 +08:00
Troy Thompson
18c6860296 Adds onFocus and onBlur to Select properties. (#7082) 2017-08-06 16:45:10 +08:00
Mars Wong
e9b3c36866 fix: correct Notification interface (#7073) (#7088) 2017-08-06 13:29:11 +08:00
乐仪
1dd3e001c5 Update Modal doc, relevant:https://github.com/ant-design/ant-design/pull/7085 2017-08-06 12:44:15 +08:00
tim-soft
fdb943e887 Fix formatter (#7098)
The replace function can only work on a string, this little tweak will make the formatter not crash the page when the value is changed.
2017-08-06 11:57:56 +08:00
Ivan Radeljic
1651682020 Update modal documentation (#7085)
Add another way to destroy state on close modal
2017-08-06 00:04:25 +08:00
偏右
cb8f6a6ef5 Fix tabs extra content (#7090)
* Fix tabBarExtraContent style in vertical tabs

close #6578

* update snap

* fix rc-tabs
2017-08-05 23:01:28 +08:00
afc163
bcda84141e fix stylelint 2017-08-04 22:25:30 +08:00
afc163
b3979885e4 fix demo snapshot 2017-08-04 21:29:30 +08:00
Tom Gao
9e54bebf33 fix: when menuitem is seleted, but submenu is not seleted (#7042) 2017-08-04 21:24:59 +08:00
D & R
4bfd076cb8 fix: InputGroup demo (#7089) 2017-08-04 21:23:34 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
Tengjiao Cai
6e2ace3ba8 Update CollapsePanelProps -> onChange function (#7084)
parameter key should be either an array of string(general) or string(accordion mode), right?
2017-08-04 17:00:36 +08:00
Benjy Cui
4880b6ec16 fix: should not throw error when select after clear, close: #7077 2017-08-04 16:50:05 +08:00
afc163
59e219e138 Fix notification type, close #7073 2017-08-04 16:44:42 +08:00
afc163
5da1403bc0 Fix inlineCollapsed in controlled mode
ref #7063
2017-08-04 16:23:52 +08:00
afc163
1856fbe0df fix noHovering API typo, close #7078 2017-08-04 14:15:17 +08:00
Xiaohan Lee
bb195ee95f Docs: update docs for Dropdown.Button (#7071)
* add "size" api document
2017-08-04 09:42:32 +08:00
afc163
6748221ed3 tweak time-picker style 2017-08-03 22:08:14 +08:00
afc163
0f63c7186e Fix input outline covered by addon again 2017-08-03 21:48:26 +08:00
afc163
483491d0d8 treak input style for text align 2017-08-03 21:45:56 +08:00
afc163
a0026a5923 Fix dropdown button mis-align, close #7070 2017-08-03 16:16:37 +08:00
ddcat1115
63c3c7c88f fix missing icon (#7064) 2017-08-03 15:52:31 +08:00
afc163
0a9a3887b5 Fix Invalid calling object in IE
with eval-source-map mode of webpack-dev-server

close #7060

ref https://github.com/vuejs/vue/issues/4465
2017-08-03 10:58:55 +08:00
afc163
50b9839bb3 Fix input outline covered by addon 2017-08-02 21:37:15 +08:00
afc163
8618a387da tweak date-picker style 2017-08-02 21:15:03 +08:00
afc163
bb7c580e4b Fix loading card padding 2017-08-02 21:15:02 +08:00
Randy
ecc18ef3a6 remove rc-util declaration (#7043) 2017-08-02 15:08:55 +08:00
afc163
414d3d3a64 Fix showTotal definition, close #7054 2017-08-02 13:03:56 +08:00
afc163
fb70e9d70b code style 2017-08-02 13:02:01 +08:00
afc163
746990b84d tweak alert style, make it adaptive 2017-08-01 22:18:57 +08:00
afc163
4962d19462 tweak steps style 2017-08-01 21:50:38 +08:00
afc163
0cf3600e25 refactor step title style again 2017-08-01 18:34:02 +08:00
Ruslan P
0cdcdfba7b Update picture-style.md (#7051) 2017-08-01 18:22:55 +08:00
afc163
0eefa85b04 refactor step title style 2017-08-01 18:08:08 +08:00
jiang
1a93536a26 fix #7048 (#7050) 2017-08-01 17:41:03 +08:00
jiang
f1110f2bc5 sync menu and layout-sider animate time (#7047) 2017-08-01 17:36:53 +08:00
afc163
eb69e0a0f8 Fix scroll bar flash in TextArea[autosize] 2017-08-01 16:37:57 +08:00
Flynn
8e8c0b4db3 update docoument for #7026 (#7039) 2017-08-01 11:26:18 +08:00
Randy
b5ad05bc06 fix Card children type (#7030) 2017-07-31 20:29:56 +08:00
afc163
a88f8fcc21 fix badge demo 2017-07-31 18:03:16 +08:00
afc163
330e1f7a4b Fix badge title, close #7024 2017-07-31 18:01:45 +08:00
afc163
8f98ae80bd Tweak CheckableTag style 2017-07-31 17:47:54 +08:00
afc163
2fe4ac1a30 update document for #7023 2017-07-31 16:55:05 +08:00
afc163
50466ed281 Fix ok button style 2017-07-31 16:12:41 +08:00
Wei Zhu
401519ec6f Fix types 2017-07-31 01:50:46 +08:00
Randy
b2556b4cd5 remove any type in Avatar (#7016) 2017-07-31 00:43:33 +08:00
Randy
35ae41f618 remove any type in Tag (#7015) 2017-07-31 00:42:25 +08:00
Wei Zhu
bef7db465e Revert "Revert "Revert "feat: upgrade rc-slider, support keyboard accessibility"""
This reverts commit 0b8b0d2deb.
2017-07-30 16:07:41 +08:00
Wei Zhu
0b8b0d2deb Revert "Revert "feat: upgrade rc-slider, support keyboard accessibility""
This reverts commit 551807cd91.
2017-07-30 16:06:53 +08:00
Wei Zhu
551807cd91 Revert "feat: upgrade rc-slider, support keyboard accessibility"
This reverts commit ef339a32ac.
2017-07-30 16:05:37 +08:00
afc163
a6037d66c0 Fix button align issue, close #7001 2017-07-30 14:00:32 +08:00
Randy
859761eea7 fix lint error (#7006) 2017-07-30 13:30:12 +08:00
afc163
541a992a56 Add warning for tree-select props 2017-07-29 14:50:11 +08:00
afc163
d00871acdd upgrade snapshot 2017-07-29 14:20:48 +08:00
Randy
99e4cd6aec add rc-util declaration to custom-typings (#6935) 2017-07-29 14:17:02 +08:00
afc163
b54a70bc8e fix ummount issue, #6976 2017-07-29 14:16:27 +08:00
Neekey
6eff4bd02a check this.container exists updating WiderPadding (#6976)
before doing updating wider padding for Card, always check if the container exists first.
2017-07-29 14:12:53 +08:00
Aleck Landgraf
d6a0b1bd3e [checkbox][docs] fixes doc table extra column cell (#6995) 2017-07-29 14:01:30 +08:00
paranoidjk
ef339a32ac feat: upgrade rc-slider, support keyboard accessibility
https://github.com/react-component/slider/pull/282
2017-07-28 14:02:45 +08:00
afc163
4d5eb5a92f Fix indeterminate checkbox disabled style 2017-07-28 13:10:02 +08:00
afc163
69775dea68 fix grid card padding implementation 2017-07-28 12:50:57 +08:00
Benjy Cui
fff756ff5f deps: upgrade rc-tree 2017-07-28 11:38:39 +08:00
Benjy Cui
c63c8b6c04 test: update snapshot 2017-07-28 09:59:30 +08:00
jiang
24f58c20e1 fix menu-anim (#6955)
* fix menu-anim

* fix menu-anim

* update

* remove space

* fix test

* Improve code style

* submeu-title use color transition

* sync motion-collapse time

* snyc padding
2017-07-27 19:43:45 +08:00
afc163
abb2763a66 chore: collapse style 2017-07-27 19:43:40 +08:00
Benjy Cui
7582ab7481 test: update snapshot 2017-07-27 17:51:07 +08:00
afc163
e1a46cc419 Add less variables for wider card padding, resolve #6973 2017-07-27 12:05:58 +08:00
Wei Zhu
90511c3261 docs: use indexOf instead of search
fix #6962
2017-07-26 13:24:58 +08:00
Benjy Cui
8e496966cf docs: update docs for Form 2017-07-26 09:04:01 +08:00
afc163
dc8be3fcfd Tweak icon position of DatePicker 2017-07-25 19:45:58 +08:00
afc163
acc0c5a216 Add instruction about dropdown menu item highlighted style 2017-07-25 18:00:33 +08:00
afc163
144c67f054 Fix dropdown menu position bug 2017-07-25 17:56:45 +08:00
Benjy Cui
ad92793a47 fix: events shuould work when element appear, close: #6949 2017-07-25 16:56:49 +08:00
afc163
d90e1b2a9e Fix extra ... in firefox 2017-07-25 14:15:13 +08:00
Dan Minshew
8e2d65298a Escape "|" character 2017-07-24 22:12:46 -05:00
Dan Minshew
e0ab15907f Escape pipe operator in function signature 2017-07-24 22:03:11 -05:00
afc163
4f85be834c Tweak menu text align again 2017-07-25 10:31:05 +08:00
Benjy Cui
f648edacdb docs: explain what it n, close: #6934 2017-07-24 10:12:16 +08:00
Benjy Cui
2ba3a84331 fix: getDefaultTarget only be called in browser, close: #6926 2017-07-24 09:58:56 +08:00
Benjy Cui
d2aca99190 refactor: simplify TextArea's code 2017-07-24 09:36:27 +08:00
huzzbuzz
568963e894 update duration value from 1.5 to 3
update duration value from 1.5 to 3
2017-07-24 08:28:15 +08:00
Randy
d28b8f3591 remove any type from Card component #5627 2017-07-22 21:12:55 +08:00
afc163
896e738fce Fix missing semicolon 2017-07-22 15:25:08 +08:00
afc163
e51a3a6da4 Fix TimePicker disabled style, close #6918 2017-07-22 15:24:04 +08:00
偏右
c733f94c33 Merge pull request #6916 from djyde/separate-type
Separate getFieldDecorator options type
2017-07-22 15:16:04 +08:00
Bryan Berger
91400d54fa add less variables for layout-trigger background, color 2017-07-21 14:21:31 -04:00
afc163
f505ebd188 Add snapshot test for textarea disabled 2017-07-21 20:23:50 +08:00
Benjy Cui
f2d4d0a9e4 refactor: simplify Anchor, and fix #6473 2017-07-21 11:58:12 +08:00
afc163
0ad85e2987 Fix #4431 again 2017-07-21 10:07:18 +08:00
偏右
1013339247 Merge pull request #6906 from clinyong/bugfix
change type of radio group value to any
2017-07-20 17:20:05 +08:00
afc163
c2e7d18663 Make tree select item wider 2017-07-20 17:17:56 +08:00
clinyong
6f586ba243 change type of radio group value to any 2017-07-20 17:04:10 +08:00
Randy
a0dc7d3a72 Separate getFieldDecorator options type
Taking getFieldDecorator options type out of WrappedFormUtils
2017-07-20 13:20:15 +08:00
Benjy Cui
983609c009 css: fix disabled style of Slider, close: #6665 2017-07-20 10:39:22 +08:00
afc163
545d171223 Fix tooltip overlay warning, close #6897 2017-07-19 20:38:39 +08:00
afc163
98faa4378c Make action of Upload optional, close #6890 2017-07-19 20:28:18 +08:00
afc163
3d71d980a7 Adjust menu icon and text vertical align 2017-07-19 17:44:02 +08:00
偏右
8a9a8c972f Merge pull request #6894 from infeng/fix-input-onChange
fix onChange ts definition of Input
2017-07-19 14:01:52 +08:00
Benjy Cui
119d498935 chore: replace http with https, close: #6893 2017-07-19 14:00:11 +08:00
infeng
d19bfcbf74 fix onChange ts definition of Input 2017-07-19 13:52:55 +08:00
Benjy Cui
8cfa61f46b test: update snapshot 2017-07-19 10:15:58 +08:00
Benjy Cui
6bdb84a011 docs: update docs, ref: 639e60a 2017-07-19 09:48:07 +08:00
Geoff Holden
639e60af45 docs: added reverseArrow documentation. (#6888) 2017-07-19 09:45:42 +08:00
newraina
aa6afd81b5 fix Button.Group type definition 2017-07-18 16:46:19 +08:00
afc163
edf8a4f239 longer default duration of message 2017-07-18 12:50:17 +08:00
偏右
e085b5d25c Merge pull request #6870 from imosapatryk/patch-1
Update pl_PL.tsx
2017-07-17 23:55:51 +08:00
偏右
05473dcd0b Merge pull request #6869 from imosapatryk/patch-2
Update pl_PL.tsx
2017-07-17 23:55:16 +08:00
imosapatryk
18bf973e94 Update pl_PL.tsx
'Search here' in Polish is just 'Szukaj'. 'Wyszukaj tutaj' sounds bad.
2017-07-17 16:10:51 +02:00
imosapatryk
3ccef11dec Update pl_PL.tsx
Wrong file import
2017-07-17 16:05:58 +02:00
imosapatryk
79afe8ef89 Update pl_PL.tsx
You import wrong files.
2017-07-17 16:02:25 +02:00
偏右
6fe6480bd5 Merge pull request #6854 from Brooooooklyn/issue/modal-func-props-interface
fix: missing maskClosable property in ModalFuncProps interface
2017-07-17 16:07:28 +08:00
Benjy Cui
8173007402 fix: filterOption of Transfer should be optional, close: #6856 2017-07-17 16:01:18 +08:00
偏右
09c8addae1 Merge pull request #6858 from lyz810/master
fix: TextArea disabled style
2017-07-17 15:58:07 +08:00
偏右
b7a1665c97 Merge pull request #6860 from insiight/optimize/use_px_unit_explicitly
add unit `px` to all less values, make them explicit
2017-07-17 15:56:34 +08:00
afc163
255eac9079 Fix vertical tabs arrow style 2017-07-17 15:55:03 +08:00
neekey
7e522291c8 add unit px to all less value, make them explicit 2017-07-17 17:44:40 +10:00
LongYinan
bd5daa939a fix: missing maskClosable property in ModalFuncProps interface 2017-07-17 15:26:37 +08:00
liuyanzhe
bbfdc46aa2 Fix TextArea disabled style 2017-07-17 15:10:53 +08:00
afc163
8a63b39e63 Add test case for arrowPointAtCenter, #6830 2017-07-16 16:00:23 +08:00
afc163
9a85303f79 remove unneccesary size prop 2017-07-16 15:41:51 +08:00
afc163
b112948130 TextArea should be resetable in form, close #6776 2017-07-16 15:39:21 +08:00
afc163
e6554e7edb update form document 2017-07-16 15:05:48 +08:00
afc163
efcc28ed51 header font weight 2017-07-15 14:43:12 +08:00
newraina
e94b110a46 fix SearchProps 2017-07-14 17:47:11 +08:00
Benjy Cui
b45bf6d814 fix: should show children if src is not exist, close: #6804 2017-07-14 16:12:48 +08:00
afc163
02fa2cd672 test: update snapshot 2017-07-14 16:10:52 +08:00
afc163
65a79b1ded remove -0.5px margin in card body 2017-07-14 16:10:04 +08:00
afc163
35e74f825e first card render without padding transition 2017-07-14 15:57:26 +08:00
afc163
ab41503343 doc: update input demo description 2017-07-14 15:47:07 +08:00
afc163
f9193952ff Add breakpoint width documentation 2017-07-14 15:47:07 +08:00
Benjy Cui
9d39a55604 css: make collapse.panel's header more flexible, close: #6832 2017-07-14 15:44:36 +08:00
陈帅
96722605fd fix: noImplicitAny of back top (#6835) 2017-07-14 15:37:44 +08:00
Benjy Cui
2413c6af61 fix: make loading work with icon only button in button group, close: #6822 2017-07-14 15:26:55 +08:00
Wei Zhu
4960f711c3 docs: Add manual upload demo (#6823) 2017-07-14 15:00:14 +08:00
afc163
44b3dad12f tweak style 2017-07-14 12:18:02 +08:00
afc163
953b84f7d1 tweak style 2017-07-14 12:16:37 +08:00
afc163
d04f9161db fix tsc compile error 2017-07-14 11:55:00 +08:00
afc163
da1bfba781 extra should be wider too 2017-07-14 11:50:35 +08:00
afc163
3ca9be1bf6 Fix missing overflow config, ref #6830 2017-07-14 11:44:11 +08:00
afc163
6ffe39145d Adjust card padding according to card width 2017-07-14 11:37:28 +08:00
afc163
3ad49dd4cc Fix arrowPointAtCenter not working, close #6830 2017-07-14 10:49:51 +08:00
afc163
c20e66f02b hide tooltip demo 2017-07-14 10:42:01 +08:00
afc163
2b2e962738 tweak menu style 2017-07-13 20:28:23 +08:00
afc163
91707b89d8 test: update snapshot 2017-07-13 15:24:53 +08:00
afc163
22e14970ec Improve fixed sider layout implementation, fix #6817 2017-07-13 15:23:34 +08:00
afc163
ac21152e10 tweak tabs style 2017-07-13 12:14:57 +08:00
afc163
ca89227568 test: fix snapshot 2017-07-12 21:44:46 +08:00
afc163
81a8d71ec3 Fix Input className to wrapper, close #6809 2017-07-12 21:43:06 +08:00
afc163
39207efa4d Add @badge-font-size and @tabs-title-font-size 2017-07-12 17:32:31 +08:00
afc163
46ffda9c93 fix vertical menu item border radius 2017-07-12 16:43:53 +08:00
Benjy Cui
43bf6c4846 test: fix CI, ref: 27a1742 2017-07-12 15:15:21 +08:00
afc163
19fa96754d Fix snapshot 2017-07-12 15:07:04 +08:00
afc163
f6a1eca7e0 Tweak switch style 2017-07-12 14:51:13 +08:00
Benjy Cui
9c7cec3e39 refactor: remove span[disabled] 2017-07-12 14:23:47 +08:00
Benjy Cui
27a17428de fix: should show correct panel, close: #6764 point 3 2017-07-12 14:00:20 +08:00
afc163
a481134cea no need to import moment locale 2017-07-12 11:54:46 +08:00
afc163
b4916d45d3 update carousel demo style 2017-07-11 18:20:37 +08:00
afc163
c112abd137 update carousel demo style 2017-07-11 18:19:01 +08:00
afc163
ab4e676b2a update input placeholder color 2017-07-11 16:51:54 +08:00
afc163
4419d4c94c Fix select extra padding, close #6723 2017-07-11 12:14:35 +08:00
afc163
01bbd5a3d3 update form dynamic demo 2017-07-11 11:59:30 +08:00
Ivo Stratev
0bb73534b2 Fixing typos (#6788)
It should be "Добре" instead of "Дибре"
2017-07-11 00:28:34 +08:00
bang
e7013fcb3f fix: miss semicolon 2017-07-08 16:46:18 +07:00
bang
3fb21c0325 chore: keep checkbox's value type consistent close #6768 2017-07-08 16:40:15 +07:00
afc163
384803528f Fix extra error outline of select in input addon 2017-07-08 16:20:01 +08:00
afc163
6c5a11a363 Fix inlineCollapsed Menu styledetails 2017-07-08 16:15:00 +08:00
afc163
516ce2d821 Fix inline menu collapse animation 2017-07-08 15:57:53 +08:00
afc163
9eee9f5dcd Add test case for Checkbox 2017-07-07 20:38:52 +08:00
afc163
69b5acb45f More test cases 2017-07-07 20:26:08 +08:00
afc163
fda881cc7a trailing spaces 2017-07-07 19:45:59 +08:00
偏右
b653a2c055 Merge branch 'master' into feature-2.12 2017-07-07 19:41:37 +08:00
hansnow
6bc57e450c Update table documents 2017-07-07 18:00:34 +08:00
afc163
f2268c2877 Fix test case for menu 2017-07-07 17:15:29 +08:00
afc163
8945bb5da6 Add test case for menu 2017-07-07 16:51:06 +08:00
afc163
ed070c94ad Fix spin blur z-index, close #6759 2017-07-07 16:34:47 +08:00
afc163
9ebaeb6f4f Add test case for BackTop 2017-07-07 16:29:03 +08:00
ddcat1115
7cb5d68211 update Progress doc (#6752) 2017-07-07 14:18:57 +08:00
偏右
a4648fd67f Add noHovering and Card.Grid (#6748)
* Add noHovering prop for Card

* Add Card.Grid

* fix snapshot

* change default card grid percent
2017-07-07 13:36:54 +08:00
afc163
c67d9b2935 Fix nested steps style, close #6754 2017-07-07 11:46:05 +08:00
柚子男
6d06f2f4b4 fix lint 2017-07-06 23:06:21 +08:00
团结
625673486e I guess nextFrameActionId should be reset after textarea resized. 2017-07-06 20:42:54 +08:00
afc163
25a60322e5 Add Pagination[itemRender] 2017-07-06 19:17:36 +08:00
afc163
883f82172e Fix shadowed name ts errors 2017-07-06 15:37:28 +08:00
afc163
36d24a5a40 Tweak card style 2017-07-05 19:21:26 +08:00
Graeme Yeates
0e22ae62bb Document select placeholder supporting ReactNode 2017-07-04 13:07:05 -04:00
Sakol Assawasagool
bc7e0bad3e feat: add th_TH translation (#6721) 2017-07-04 17:54:36 +08:00
afc163
5ad194143f Fix InputNumber[precision] ts definites, close #6715 2017-07-04 14:03:07 +08:00
偏右
87932504b4 Merge pull request #6686 from ant-design/feat-collapsed-menu
Better collapsed Sider and Menu
2017-07-04 09:58:02 +08:00
Larry Laski
79b20a24a2 Update Avatar Page documentation Fix (#6711)
Quick fix for updating the API property section - currently `type` property but it should be `shape`
2017-07-04 07:02:43 +08:00
Benjy Cui
fe33e76479 refactor: extract Input.TextArea 2017-07-03 17:26:29 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign (#6677) 2017-07-03 16:57:11 +08:00
afc163
5aebf27ff1 tweak card close x style 2017-07-03 13:34:06 +08:00
afc163
eccaeaea0e Add click animation for checkbox and radio 2017-07-02 19:14:56 +08:00
偏右
c7be13b20e Merge pull request #6643 from ant-design/MentionFocus
fix: mention should support `.focus`, close: #6135
2017-07-02 15:01:16 +08:00
afc163
dbdd5d5126 update table doc 2017-07-01 14:38:11 +08:00
偏右
963560d33b Merge pull request #6667 from yurtaev/patch-1
Add `onRowDoubleClick` into Table documentation
2017-07-01 14:36:32 +08:00
afc163
b6011d7a39 typo 2017-07-01 14:04:26 +08:00
afc163
50e37796b8 Add test case 2017-06-30 23:08:11 +08:00
afc163
0b67dc4e12 update warning message 2017-06-30 22:05:53 +08:00
afc163
7d3bc4ebd4 update snapshots 2017-06-30 22:02:19 +08:00
afc163
82afb368c0 Fix context change logic 2017-06-30 22:00:04 +08:00
afc163
89a37da77f Menu will get collapsed status from Layout.Sider 2017-06-30 21:36:23 +08:00
afc163
97fbb20fa8 improve menu doc 2017-06-30 21:10:47 +08:00
afc163
2eb3d55743 Add documentation for inlineCollapsed 2017-06-30 21:09:34 +08:00
afc163
6e145bfad3 Add tooltip for collapsed menu item 2017-06-30 21:07:01 +08:00
afc163
115749e06f inline menu should not trigger handleClick 2017-06-30 20:27:39 +08:00
afc163
63daf8d0a3 Add Menu[inlineCollapsed] prop 2017-06-30 18:08:30 +08:00
D & R
9dcc28e218 feat: support autoAdjustOverflow prop (#6661) 2017-06-30 17:22:01 +08:00
偏右
0ce61df3da Merge pull request #6599 from megawac/table-sort-select-bg
Use background-color-active for table sort and selected backgrounds
2017-06-30 12:00:16 +08:00
偏右
bb9957ff45 Merge pull request #6655 from megawac/date-picker-style
Make -clear and -icon styles consistent at different input sizes
2017-06-30 11:50:00 +08:00
afc163
4f0b3cad2a Fix expanded area background of fixed header table, close #6657 2017-06-30 11:30:27 +08:00
afc163
112231469f tweak tabs prev next button position style 2017-06-30 11:30:27 +08:00
Benjy Cui
1f9b4a7981 refactor: make slider's style more flexible, close: #6665 2017-06-30 11:08:28 +08:00
Egor Yurtaev
777e4adeb0 Add onRowDoubleClick into Table documentation 2017-06-29 18:30:07 +06:00
Benjy Cui
950c321b25 fix: should generate showHour from format k 2017-06-29 11:22:12 +08:00
Graeme Yeates
9429aedffc Fix tilde placement on rangepickers 2017-06-28 15:23:00 -04:00
Graeme Yeates
974f544713 Make -clear and -icon styles consistent at different input sizes 2017-06-28 15:09:50 -04:00
Benjy Cui
8e9a2eae38 chore: fix ts lint 2017-06-28 16:49:49 +08:00
Benjy Cui
a4a26797ec fix: mention should support .focus, close: #6135 2017-06-28 16:30:01 +08:00
Benjy Cui
00932da89b test: update snapshot for rc-calendar and rc-input-number 2017-06-28 16:29:26 +08:00
newraina
4d002055b5 fix: TypeScript's definition of FormItemColOption (#6611) 2017-06-28 15:03:52 +08:00
newraina
e560cb26c3 fix dataPicker onOk type definition (#6619) 2017-06-28 10:19:53 +08:00
Benjy Cui
1920d9af46 chore: update details for #6584 2017-06-27 15:32:18 +08:00
afc163
e188036606 remove unused code 2017-06-27 14:33:35 +08:00
afc163
48e75e0436 fix hiddenTextarea typo 2017-06-27 14:32:12 +08:00
Alexander
9131a79377 chore: add className prop to DatePicker (#6584)
* Add className to DatePicker

* Add className to MonthPicker and RangePicker
2017-06-27 14:27:02 +08:00
afc163
60373cc363 adjust tree select checkbox position 2017-06-27 14:25:10 +08:00
afc163
dbd6f29c29 Fix form item extra content line height, close #6618 2017-06-27 12:08:16 +08:00
afc163
726541ae08 Improve autosize textarea scrollbar style, close #6609 2017-06-27 12:03:10 +08:00
afc163
3816778b6b Fix select overflow bug, close #6621 2017-06-27 11:01:11 +08:00
afc163
6e583325ea Don't impact select inside input group 2017-06-26 21:44:38 +08:00
afc163
0efd941346 Fix input group extra padding 2017-06-26 21:37:46 +08:00
afc163
fe564335bf Tweak range picker style 2017-06-26 21:25:47 +08:00
afc163
48b63734c6 Tweak date picker icon style 2017-06-26 21:19:23 +08:00
afc163
65adb9984e remove style important 2017-06-26 20:58:03 +08:00
afc163
78c12a03fd fix snapshot 2017-06-26 20:33:13 +08:00
afc163
e977f2435e Tweak tabs style at card top 2017-06-26 20:20:57 +08:00
afc163
e24a8cb5d8 Tweak inline form item margin 2017-06-26 17:05:42 +08:00
afc163
bedadb6b3c tweak alert message line-height 2017-06-26 15:37:27 +08:00
afc163
5964e42a9b tweak form label style 2017-06-26 11:51:41 +08:00
afc163
9f78e71c65 Fix select vertical issue inside input addon 2017-06-25 17:22:07 +08:00
afc163
7dafa985c5 remove colon block of vertical form 2017-06-25 16:48:01 +08:00
Pierre Neter
f512baeb71 Add relative for radio-button-wrapper.
Fix e585103d4d (commitcomment-22720463)
2017-06-24 01:22:35 +07:00
Graeme Yeates
5d8a3f6f66 Use background-color-active for table sort and selected backgrounds 2017-06-23 12:43:40 -04:00
Wei Zhu
7be75f59fd Tweak table icons 2017-06-23 20:53:07 +08:00
Harshit Mehrotra
c7c3625899 Update docs for checkbox and radio
Update docs with prop "disabled" for Radio, RadioGroup, Checkbox and CheckboxGroup.
2017-06-23 16:38:22 +05:30
afc163
2ba8e6fec6 Fix wrap="off" autosize error
close #6577
2017-06-23 16:40:07 +08:00
Benjy Cui
3ce1680ab7 fix: should not affect nested tabs, close: #6431 2017-06-23 15:02:46 +08:00
afc163
24364e5bf9 update pagination snapshot 2017-06-23 14:35:38 +08:00
Benjy Cui
7ff0573046 fix: broken style of disabled submenu in dropdown, close: #6548 2017-06-22 14:41:18 +08:00
Graeme Yeates
aaf2a508be Fix calendar clear background color 2017-06-21 12:41:45 -04:00
afc163
0ed75caeac fix dark menu style 2017-06-21 16:44:13 +08:00
afc163
0e18c52b96 heading default text color 2017-06-21 16:08:57 +08:00
Jordan Hornblow
c832975663 refactor: Collapse import in TS (#6536) 2017-06-21 15:39:08 +08:00
sojournerc
e2a99f53f7 add ClickEvent to Table.props.onRowClick interface 2017-06-20 17:29:46 -06:00
afc163
2382250d82 Fix snapshot 2017-06-20 22:10:26 +08:00
afc163
78e39a5520 improve table locale text 2017-06-20 21:36:33 +08:00
Benjy Cui
39cc78685d style: update code style 2017-06-20 09:46:23 +08:00
blankzust
3c700cd1b7 fix: Dropdown.Button should support getPopupContainer (#6527) 2017-06-20 09:33:15 +08:00
afc163
3a2f6bea18 update menu demo 2017-06-19 16:07:48 +08:00
afc163
fa88477886 tweak vertical menu selected style 2017-06-19 16:07:47 +08:00
afc163
12c6a73878 update jsx code style 2017-06-19 16:07:47 +08:00
afc163
b4c70d2913 upgrade avatar demos 2017-06-19 16:07:47 +08:00
afc163
3afa6faa36 change components type 2017-06-19 16:07:47 +08:00
Benjy Cui
c61bba1020 chore: make disabled today different from other disabled day 2017-06-19 15:14:53 +08:00
Benjy Cui
82d1957941 docs: update demo for: #6503 2017-06-19 11:25:30 +08:00
afc163
644e23fac6 Make calendar selects rendered inside header, close #6479 2017-06-19 10:47:22 +08:00
afc163
dd6d643519 update doc 2017-06-17 14:14:30 +08:00
newraina
dde8df5612 fix Dropdown.Button Props (#6482)
* fix DropdownButton Props

* let DropdownButtonProps extends ButtonGroupProps

* remove duplicated props
2017-06-16 20:28:42 +08:00
afc163
9969a3b598 Improve doc 2017-06-16 16:56:03 +08:00
Benjy Cui
88ee7b3e8e docs: add demo for react-router@4, close: #5644 2017-06-16 14:57:14 +08:00
Pierre Neter
e585103d4d Left border for wrap radio wrapper, small screen.
Fix #6492
2017-06-16 04:53:05 +07:00
Nico
cfccd84f62 Fix(Documentation): Fix Menu documentation 2017-06-15 18:08:01 +02:00
偏右
eeeafef4bb Merge pull request #5646 from ant-design/fix-breadcrumb
Fix: Breadcrumb should work with react-router@4
2017-06-15 19:11:25 +08:00
afc163
e34639a0a8 skip ssr test 2017-06-15 18:08:35 +08:00
Pierre Neter
7df095414c docs: update i18n support 24 language (#6483)
Signed-off-by: Pierre Neter <pierreneter@gmail.com>
2017-06-15 17:34:38 +08:00
afc163
a5cc8b33e3 fix menu border in demo 2017-06-15 15:39:55 +08:00
afc163
e62fa2a403 remove overflow:auto in Content 2017-06-15 15:37:24 +08:00
afc163
d7a29f682b upgrade Col span format in demo 2017-06-15 15:34:47 +08:00
afc163
1f3b9e4ee2 fix deps and snapshot 2017-06-15 13:57:07 +08:00
偏右
c140daabc5 Merge branch 'master' into fix-breadcrumb 2017-06-15 13:36:19 +08:00
afc163
81be11534c fix lint 2017-06-14 13:48:00 +08:00
afc163
64466a79cb update spin demo 2017-06-14 13:31:21 +08:00
afc163
e13ffac490 update doc 2017-06-13 17:36:54 +08:00
afc163
61d67f4563 Fix DatePicker footer extra border 2017-06-13 15:31:47 +08:00
Jordan Hornblow
51655e2e7c Allow Number type table keys. Make notification success, error, info, warn and warning non-optional (#6434)
* Allow Number type table keys. Make notification success, error, info, warn and warning non-optional

* Fix build error
2017-06-13 14:43:19 +08:00
偏右
c0b6f652cc Merge pull request #6441 from sadmark/fix-tabs
修复tabs嵌套bug,issue#6431
2017-06-12 16:41:31 +08:00
sadmark
9be44edf26 修复tabs嵌套bug,issue#6431 2017-06-12 16:28:35 +08:00
Wei Zhu
847153d998 docs: Document Table column[key] can be ignored.
Related #6436
2017-06-12 15:52:13 +08:00
Wei Zhu
baa8e23280 Pass className to table's pagination
fix #6416
2017-06-12 11:35:29 +08:00
afc163
4f874c5065 improve demo code 2017-06-09 21:24:40 +08:00
afc163
602cf0a309 Add test case 2017-06-09 20:00:16 +08:00
newraina
1d63de1106 fix Dropdown.Button's type definition 2017-06-09 18:37:05 +08:00
偏右
053521be39 Merge pull request #6415 from ddcat1115/Avatar
Avatar
2017-06-09 17:36:00 +08:00
Aaron Planell López
de030a0333 update document, ref #6392 (#6420) 2017-06-09 15:21:01 +08:00
乐仪
e6ad9daff8 update snap 2017-06-09 15:11:38 +08:00
乐仪
8749438aed add Badge demo 2017-06-09 15:00:44 +08:00
乐仪
153fb0fc34 improve2 2017-06-09 12:02:25 +08:00
乐仪
7667225b0f improve 2017-06-09 12:02:25 +08:00
乐仪
c30d1b191f add Avatar 2017-06-09 12:02:24 +08:00
Benjy Cui
4ee2194b45 deps: upgrade rc-notification 2017-06-09 10:17:30 +08:00
Benjy Cui
9b025806b8 fix: remove align.offset, ref: 0a1c0712 2017-06-08 17:27:28 +08:00
afc163
1c736c38b3 tweak Input[addon] vertical align, close #6403 2017-06-08 11:32:47 +08:00
afc163
448a3ff4dd Fix operations typo of Transfer, close #6401 2017-06-08 10:37:08 +08:00
偏右
d9c0d10e43 Merge pull request #6400 from megawac/autocomplete-placeholder-margin
Use input-padding-horizontal to control autocomplete placeholder placing
2017-06-08 10:29:22 +08:00
Evgeny Kuznetsov
1b79b74bea Update et_EE.tsx 2017-06-07 21:52:08 +03:00
Graeme Yeates
7b916da2ae Use input-padding-horizontal to control autocomplete placeholder placing 2017-06-07 13:40:33 -04:00
Evgeny Kuznetsov
23df258f50 Update es_EE.tsx
Pagination import was ommited, so chinese placeholders appeared.
2017-06-07 17:00:19 +03:00
Benjy Cui
b0040bfc37 test: update snapshot 2017-06-07 17:39:44 +08:00
afc163
d7837da175 Fix icon API documentation 2017-06-07 17:06:21 +08:00
Benjy Cui
1682d2cd14 Merge pull request #6380 from ant-design/feature-2.11
Feature 2.11
2017-06-07 09:14:39 +08:00
偏右
eb901c4bc6 Merge pull request #6385 from hyrijk/master
docs: fix Upload[beforeUpload]
2017-06-06 22:53:23 +08:00
peiming
426a35c248 docs: fix Upload[beforeUpload] 2017-06-06 21:51:27 +08:00
afc163
b991137628 fix spin timer, close #6383 2017-06-06 20:38:44 +08:00
afc163
41f157e596 Fix Select search input width, close #6382 2017-06-06 20:38:44 +08:00
Benjy Cui
14de57c32e test: update snapshot 2017-06-06 17:55:01 +08:00
Benjy Cui
2e313ef8f0 Merge branch 'master' into feature-2.11 2017-06-06 17:26:06 +08:00
Benjy Cui
8c632ef2cf fix: Modal.method should stop loading when promise throw err, close: #6183 2017-06-06 11:51:50 +08:00
偏右
920b32e94c Merge pull request #6344 from damiangreen/master
Add en-GB, it-IT, fr-FR + nl_BE locales
2017-06-05 18:05:22 +08:00
Damian Green
ea616e4deb tests 2017-06-05 10:28:45 +01:00
afc163
268336a651 update snapshots 2017-06-05 17:15:41 +08:00
afc163
6790e80f3e Add renderExtraFooter for DatePicker
close #6122, close #5188
2017-06-05 17:11:58 +08:00
afc163
45f5d6cdfe Tweak progress text width, close #6354 2017-06-05 14:13:15 +08:00
afc163
670a4d09a1 Fix Timeline.Item type, close #6356 2017-06-05 11:39:59 +08:00
afc163
d086ee253e update snapshots for #6347 2017-06-03 01:38:26 +08:00
afc163
0a1c0712a2 Fix DatePicker panel position, close #6347 2017-06-03 01:37:02 +08:00
afc163
920adb9a8a props.style in wrapper for input with addons 2017-06-03 00:55:30 +08:00
Damian Green
9193c05102 fix lint 2017-06-02 14:58:13 +01:00
afc163
8e8f19e2b5 update snapshot 2017-06-02 21:55:04 +08:00
Damian Green
6d74ea346f Add en-GB, it-IT, fr-FR + nl_BE locales 2017-06-02 14:40:32 +01:00
afc163
c209c45660 fix #6339 2017-06-02 16:33:11 +08:00
afc163
f40be3d7ac Tweak pagination style for vertical align and focused state 2017-06-02 16:32:42 +08:00
Benjy Cui
e01c8c8ff6 fix: should work with ES2015 module, close: #6334 2017-06-02 16:11:30 +08:00
Benjy Cui
ef54b60add docs: add docs for TimePicker[defaultOpenValue], close: #6336 2017-06-02 14:28:56 +08:00
Patryk
e2be361cd0 Add Polish language support 2017-06-01 22:43:12 +02:00
afc163
9bb7ec0b87 update form demo snapshot 2017-06-01 17:58:06 +08:00
afc163
becb888f6e Fix form demo, close #6323 2017-06-01 17:56:05 +08:00
afc163
b0aef6cad5 Fix Tree and TreeSelect disabled style, close #6320 2017-06-01 16:54:47 +08:00
Wei Zhu
e6ef5b5707 User static variable for element type detection 2017-06-01 15:07:37 +08:00
Wei Zhu
fd7ef2407c Don't need extends from rc-table
Fix #6313
2017-06-01 14:49:25 +08:00
afc163
45dee9e504 animating node should not be accessible, close #6314 2017-06-01 12:11:23 +08:00
slientcloud
e43c8012ad chore: support slider aira (#6301) 2017-06-01 12:08:39 +08:00
Benjy Cui
4e75347d35 deps: upgrade rc-pagination 2017-06-01 10:44:00 +08:00
Adrian Dimitrov
d629086c74 feat: added Bulgarian translation (#6297)
* Added Bulgarian translation

* Update bg_BG.tsx
2017-06-01 10:32:10 +08:00
Leo
f4312895d6 chore: componentDecorator return specific type instead of any (#6308) 2017-06-01 09:25:32 +08:00
乐仪
f03e5549bf Merge branch 'master' of https://github.com/ant-design/ant-design into feature-2.11 2017-05-31 20:01:07 +08:00
afc163
fd625ef1a0 upgrade and fix tslint problems 2017-05-31 15:48:35 +08:00
Benjy Cui
35095fc776 test: fix CI 2017-05-31 11:19:17 +08:00
afc163
b57047c919 upgrade typescript to 2.3, close #6263 2017-05-30 17:48:07 +08:00
afc163
4417dcf300 fix tsc 2017-05-29 19:06:26 +08:00
Jordan Hornblow
ba65f9429e Add onCellClick prop to ColumnProps interface 2017-05-29 20:17:01 +10:00
Jordan Hornblow
03adcefafd Make count prop optional in BadgeProps interface
E.g. https://ant.design/components/badge/#components-badge-demo-dot
2017-05-29 20:14:16 +10:00
afc163
fa235b7876 Fix RangePicker test case 2017-05-29 16:19:59 +08:00
afc163
709c750c2b Fix InputNumber feedback z-index issue, close #6289 2017-05-29 01:51:13 +08:00
afc163
2cde334cd5 update snapshot 2017-05-28 15:30:43 +08:00
afc163
14844eb0e0 Fix AutoComplete and Input Group vertical align issue 2017-05-28 15:27:55 +08:00
Panjie Setiawan Wicaksono
cc71ab957e better typings for layout components 2017-05-28 02:20:05 +07:00
clinyong
2202648d6e Input add autoFocus prop (for ts checking) 2017-05-27 16:37:15 +08:00
Panjie Setiawan Wicaksono
1abbc1c31b chore: add name props to input-related interfaces (#6276) 2017-05-27 09:31:06 +08:00
Jordan Hornblow
720a3d30b4 fix: Form and Mention TypeScript definition (#6268)
* Add source and options params to Form.ValidationRule.validator function

As per rules section of async-validation readme: https://github.com/yiminghe/async-validator#rules

* Make prefixCls optional in MentionProps interface
2017-05-26 09:16:53 +08:00
Benjy Cui
0e5431d21b deps: upgrade antd-tools and code style 2017-05-25 16:54:15 +08:00
afc163
551b17203c Fix showSearch doc, close #6253 2017-05-25 11:57:45 +08:00
Jordan Hornblow
acdc563a54 Add filterDropdownVisible and onFilterDropdownVisibleChange to ColumnProps interface 2017-05-24 19:38:39 +10:00
afc163
4d645a256f tweak select placeholder text align 2017-05-24 16:48:45 +08:00
afc163
f28c328442 update code style 2017-05-24 16:19:10 +08:00
afc163
55fc44aba4 fix table wrapper node null, #6245 2017-05-24 16:16:42 +08:00
afc163
54c6b63e9f Fix table filter menu overflow issue, close #6245 2017-05-24 12:17:40 +08:00
Benjy Cui
67c38fa3b4 fix: should hide collapsed children, close: #6131 2017-05-24 10:25:43 +08:00
Benjy Cui
977a5a1cc7 docs: add missing API docs for Modal, close: #6239 2017-05-24 10:00:59 +08:00
afc163
d6da30573b Fix inactive tab panel behavious, close #6237 2017-05-23 17:59:27 +08:00
afc163
5ef4828974 Remove default margin-bottom of Alert 2017-05-23 17:51:10 +08:00
afc163
5b4adeb339 tweak spin style 2017-05-23 17:48:13 +08:00
afc163
f414398fae Fix disabledDate of Calendar, close #6074 2017-05-23 17:10:56 +08:00
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