Commit Graph

3526 Commits

Author SHA1 Message Date
Benjy Cui
d1b9db9f97 fix: should use rc-calendar@7.1.0 2016-09-19 15:23:49 +08:00
Benjy Cui
469d24599f fix: should support Dropdown.Button[disabled], close: #3070 2016-09-19 11:42:03 +08:00
afc163
3d8c63b821 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-19 11:08:00 +08:00
afc163
701425250f fix demo markdown 2016-09-19 11:01:58 +08:00
Benjy Cui
370a6bde52 fix: should export type 2016-09-19 10:22:52 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
Benjy Cui
2dce9e67fb docs: fix docs of Menu 2016-09-18 15:59:43 +08:00
Shawn Sit
7ce12fe36a doc: demo translation enhancement (#3033)
* doc enhancement

* keep chinese simplified demo
2016-09-18 14:30:37 +08:00
afc163
483b9e4888 Fix hover bounce style in DatePicker time panel 2016-09-18 14:21:45 +08:00
afc163
697b6c7b19 update upload demos 2016-09-18 11:08:54 +08:00
Benjy Cui
d644a01f89 feat: add Transfer[onSelectChange], close: #2968 (#2984) 2016-09-18 10:44:22 +08:00
Benjy Cui
af7635a73c fix: should work with rc-form, close: #3046 2016-09-18 10:20:35 +08:00
Benjy Cui
672ebecf47 deps: upgrade dependencies (#3017)
* deps: upgrade dependencies

* fix: backward compatibility

* fix: replace cross with close
2016-09-18 10:12:21 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
Marius Ileana
691a4d5766 docs: English translation of tab's position demo (#3050)
Just a small update of a label.
2016-09-18 09:26:39 +08:00
Marius Ileana
837ec0cb07 docs: Spin, Progress - demos - english translation (#3051)
* spin demos translation

* Progress demo translation
2016-09-18 09:24:49 +08:00
Marius Ileana
3d25f65c2b docs: Badge - demos - english translation (#3058) 2016-09-18 09:06:31 +08:00
afc163
6d2e0b80eb fix notifiaction duration, close #3049 2016-09-16 14:40:34 +08:00
afc163
9042e139b3 Remove some unused code 2016-09-15 01:38:32 +08:00
afc163
9e5061acdc Merge branch "1.x-stable" 2016-09-15 01:25:28 +08:00
Benjy Cui
59093a6586 fix: should pass prefixCls correctly 2016-09-14 16:59:45 +08:00
afc163
73a6bfb055 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-14 16:29:53 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
feng zhi hao
7a7395329b chore: 完善Form组件的声明 (#3043) 2016-09-14 16:07:28 +08:00
afc163
bbe6606dc3 fix demo 2016-09-14 14:49:12 +08:00
Benjy Cui
d8c6eccaea docs: update demo of slider 2016-09-14 14:45:01 +08:00
Benjy Cui
2a57a4af27 fix: css of DatePicker 2016-09-14 14:22:27 +08:00
Benjy Cui
5b5b691879 docs: update demo 2016-09-14 13:52:54 +08:00
Benjy Cui
c754a3d3d4 chore: add warning for breaking changes 2016-09-14 11:42:06 +08:00
Benjy Cui
37e8474714 fix: withRef should work, close: #2843 (#2992) 2016-09-14 10:25:44 +08:00
Benjy Cui
cbfc181fa4 fix: should not wrap upload list 2016-09-14 10:21:26 +08:00
Benjy Cui
31a0bed13c docs: update demo of Tooltip 2016-09-14 10:20:42 +08:00
Marius Ileana
39a11f00a0 docs: upload, alert, tooltip - translations of remaining demos (#3035)
* upload - translations of two remaining demos

* alert & tooltip - remaining demo translations

* Prompt typo
2016-09-14 09:52:14 +08:00
Benjy Cui
7459be26aa docs: update docs about timezone, ref: #3020 2016-09-14 09:42:16 +08:00
afc163
63789c3838 remove text overflow in select, close #2927 2016-09-13 18:46:45 +08:00
afc163
be81b360fd Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-09-13 18:27:49 +08:00
afc163
d518e485b1 Improve Dropdown Button examples 2016-09-13 18:27:39 +08:00
afc163
0f986c07a2 update form index.md 2016-09-13 18:26:52 +08:00
jiang
656ab0e3f3 feat: add back to top animation (#3021)
* add back to top animation

* update currentScrollTop

* use date now
2016-09-13 17:10:08 +08:00
ddcat1115
e19a0d500c fix: time-picker style, close #2973 (#3028) 2016-09-13 17:06:11 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
Benjy Cui
58745edecf docs: update 2016-09-13 11:51:34 +08:00
Benjy Cui
969cbed2ca docs: update demo of Badge 2016-09-13 10:27:16 +08:00
afc163
c897243d33 Fix upload beforeUpload, close #3001 2016-09-12 15:19:44 +08:00
afc163
472821013c Fix Cascader hover style, close #3015 2016-09-12 14:31:29 +08:00
Marius Ileana
71683f0cf6 docs: radio/demo/disable.md - English translation (#3006)
English translation of labels
2016-09-12 10:10:43 +08:00
Marius Ileana
a8cc57cd13 docs: select/demo/coordinate.md - English translation (#3011)
English translation of labels/data
2016-09-12 10:10:27 +08:00
Marius Ileana
bde1711597 docs: select/demo/combobox.md - English translation (#3010)
English translation of labels and comments
2016-09-12 10:10:07 +08:00
Marius Ileana
ced5c9a9ed docs: select/demo/search.md - English translation (#3009)
English translation of labels.
2016-09-12 10:09:22 +08:00
Marius Ileana
8e7fc057e6 docs: radio/demo/size.md - English translation (#3008)
English translation of labels.
2016-09-12 10:09:03 +08:00
Marius Ileana
df856b9d9a docs: radio/demo/radiobutton.md - English translation (#3007)
English translation of labels
2016-09-12 10:08:40 +08:00
Marius Ileana
23d68cad19 input/demo/basic.md - placeholder translated (#3005)
placeholder value translated to english.
2016-09-11 21:22:53 +08:00
kvetoslavnovak
10709251ec #1471 (#3000)
#1471
2016-09-11 00:30:08 +08:00
Shawn Sit
57cdbe1a6b docs: translated cascader demo (#2997) 2016-09-10 18:23:24 +08:00
Benjy Cui
25cb3e2d30 docs: update demo to catch errors, close: #2912 2016-09-10 18:14:23 +08:00
Shawn Sit
9777c7d065 docs: translate demo (#2996) 2016-09-10 18:00:51 +08:00
Benjy Cui
1dac1370de deps: replace obejct.omit with omit.js, close: #2988 (#2994) 2016-09-10 17:17:55 +08:00
Benjy Cui
44d5fc6fd2 fix: both of undefined and null means no input, close: #2959 2016-09-10 14:28:40 +08:00
Shawn Sit
374328bca9 docs: fix misspelled (#2990) 2016-09-10 14:17:11 +08:00
Shawn Sit
280698f793 docs: translated cascade custom trigger demo (#2991) 2016-09-10 14:16:13 +08:00
afc163
0e1be22785 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-10 14:11:10 +08:00
afc163
d2effd165b update icon doc 2016-09-10 14:00:57 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Benjy Cui
17cadbb3fa docs: update docs of Affix 2016-09-10 12:45:33 +08:00
afc163
c79826ea83 remove jsx file 2016-09-10 11:19:10 +08:00
afc163
5c7cf8d746 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-10 11:11:44 +08:00
afc163
2f308b0f99 update font-family 2016-09-10 11:10:47 +08:00
Benjy Cui
090fb16c77 docs: update the doc of Form, ref: #2985 2016-09-10 10:05:26 +08:00
ddcat1115
41a7f51e12 docs: update Upload en doc (#2982)
refer to https://github.com/ant-design/ant-design/issues/2892
2016-09-09 14:45:07 +08:00
Benjy Cui
14fb2c78ba chore: remove deprecated code (#2920)
* chore: remove deprecated code

* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
Benjy Cui
77a45f0b00 deps: upgrade rc-table (#2958)
* feat: remove Table columns paging, close: #2883

* css: add style for table multi-header

* feat: multi-header supports fitler & sorter and so on

* feat: multi-heaader works with Table[scroll.y]

* feat: multi-header should works with Table[scroll.x]

* style: update code style to please lint
2016-09-09 13:55:41 +08:00
Benjy Cui
4026221d45 deps: hello moment (#2887)
* deps: upgrade TimePicker

* deps: upgrade DatePicker

* deps: upgrade Calendar

* fix: moment should work with LocaleProvider

* feat: update API of TimePicker

* feat: update Calendar's APIs

* feat: update DatePicker's APIs

* doc: update demo

* revert: add dateString and timeString and so on

* feat: add Calendar[defaultValue]

* feat: add defaultPickerValue

* docs: update docs about date picker

* feat: set moment locale to zh-cn automatically
2016-09-09 13:55:21 +08:00
afc163
3f1960f233 fix fixed columns align bug in small Table, close #2933 2016-09-08 21:27:38 +08:00
Benjy Cui
cb367f3f35 site: update site details 2016-09-08 16:53:50 +08:00
ddcat1115
5dffb63484 feat: checkbox add indeterminate (#2905) 2016-09-08 15:54:04 +08:00
afc163
bab669d17d Merge branch "1.x-stable" 2016-09-08 15:17:39 +08:00
afc163
87e6ec8940 fix date-picker demo 2016-09-08 14:09:36 +08:00
afc163
10862b30a2 Add missing prop open into document, close #2792 2016-09-08 14:07:38 +08:00
afc163
903bb1aa82 fix lesshint 2016-09-08 11:14:39 +08:00
ddcat1115
dcd4477bb8 docs: Upload 修正老旧文档 close #2892 (#2941) 2016-09-07 10:19:51 +08:00
tianli.zhao
ff4348186e fix issue 2929:Menu 设置成 theme=dark 后,链接点击无效 (#2931) 2016-09-03 00:46:01 +08:00
tianli.zhao
9be6901794 fix issue 2929:Menu 设置成 theme=dark 后,链接点击无效 (#2931) 2016-09-03 00:43:33 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
ddcat1115
5762b4139b fix ButtonGroup 'default' size warning
close #2906
2016-09-01 17:17:05 +08:00
afc163
7c99d5fb9e fix selector order, close #2916 2016-09-01 16:48:22 +08:00
afc163
5f8b176c69 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-01 14:39:15 +08:00
afc163
1dd810ebcb update doc 2016-09-01 14:25:05 +08:00
afc163
e9c551acb3 upgrade react-slick to 0.13 and fix pauseOnHover
ref https://github.com/akiran/react-slick/pull/452
2016-09-01 12:22:03 +08:00
Benjy Cui
5a4ebe535f deps: update rc-form and form's docs (#2873) 2016-09-01 11:48:38 +08:00
Benjy Cui
6030e6abef fix: upgrade rc-menu to close: #2701 (#2836) 2016-09-01 11:26:07 +08:00
Benjy Cui
92ab804815 feat: Cascader[showSearch] (#2776)
* feat: implement Cascader[showSearch] basicly

* feat: optimize Cascader[showSearch]

* feat: clear for input value

* feat: complete Cascader[showSearchf]

* docs: add docs for Cascader[search]

* fix: review

* fix: add key

* style: update code style to please lint

* refactor: update according to review

* docs: update docs
2016-09-01 11:08:41 +08:00
Shawn Sit
04e8f062c7 translated doc of affix target demo (#2817)
* translated doc of affix target demo

* fixs: misspell

* enhancement
2016-09-01 11:04:34 +08:00
afc163
b798a228e6 Add less variables about outline 2016-08-31 17:04:24 +08:00
afc163
123b2c1728 Add some translation 2016-08-31 15:02:08 +08:00
afc163
497ff0cabb Merge branch "1.x-stable" 2016-08-31 15:00:13 +08:00
afc163
67fc242c6b fix propTypes 2016-08-31 14:45:38 +08:00
afc163
b10ff61272 update builtInPlacements order 2016-08-31 14:34:26 +08:00
afc163
977e2e32fc Add arrowPointAtCenter to Tooltip Popover Popconfirm
修正默认对齐方式为边缘对齐,增加属性用于箭头指向中心的行为
2016-08-31 13:54:16 +08:00
afc163
6ba30bc485 Fix calendar card style 2016-08-30 21:30:55 +08:00
ddcat1115
bffdf731cd fix #2812 (#2875) 2016-08-30 17:01:51 +08:00
afc163
e0eb9ae162 Merge branch "1.x-stable" 2016-08-29 21:02:59 +08:00
afc163
c3c1d091c2 Fix InputNumber flush style in Chrome, close #2876 2016-08-29 20:57:42 +08:00
afc163
ee60b42d6d improve Modal code style 2016-08-29 20:48:47 +08:00
afc163
9ae07d5bc7 Fix defaultPageSize in Table.pagination, close #2874 2016-08-29 18:19:29 +08:00
afc163
a7874cd2a2 change linkRender and nameRender to a simpler itemRender, close #2871 2016-08-29 16:52:35 +08:00
Benjy Cui
33939312e9 docs: fix demos 2016-08-29 14:46:31 +08:00
Benjy Cui
34974923b8 docs: remove dead code in demo 2016-08-29 14:38:57 +08:00
afc163
d91441d362 Merge branch 'master' of github.com:ant-design/ant-design 2016-08-28 17:47:48 +08:00
afc163
b6222f7c22 fix lints 2016-08-28 17:47:06 +08:00
afc163
59d7a7ee2d Support customize the icon for Notification 2016-08-28 17:45:27 +08:00
afc163
f76a6bf107 Improve Alert and notification style 2016-08-28 17:16:43 +08:00
Benjy Cui
cc92f36c3d docs: update title 2016-08-26 15:19:40 +08:00
Benjy Cui
b2349facab docs: fix docs' format 2016-08-26 15:07:46 +08:00
afc163
96c9c11b55 Make children sort recursively 2016-08-26 15:04:19 +08:00
Winsky
6e94e7b7a4 [docs] translate menu,popover,popconfirm (#2713) 2016-08-26 14:42:41 +08:00
Liu Yang
fb66e9c7e3 apply sorter for children 2016-08-25 21:12:23 +08:00
Benjy Cui
50c4367a15 docs: update docs for Form.Item, close: #2835 2016-08-25 13:54:53 +08:00
DengYun
43d17eeb3a 补充Table组件缺少的columns的属性类型定义 (#2833)
* 补充Table组件缺少的columns的属性类型定义

* `columns` is required.
2016-08-25 10:58:10 +08:00
detailyang
ff05904b54 append slash on URI (#2834)
[http://ant.design/components/cascader](http://ant.design/components/cascader) is 404 but [http://ant.design/components/cascader/](http://ant.design/components/cascader/) is good well
2016-08-25 10:52:51 +08:00
hellowenqi
a25b8b0658 docs: Translation upload (#2770) 2016-08-25 09:46:19 +08:00
Benjy Cui
a6d7cc0035 style: update code style to please lint 2016-08-24 16:56:29 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
afc163
cce5cb4021 Remove deprecated components: QueueAnim & Validation 2016-08-24 12:08:31 +08:00
Benjy Cui
0ec8c7ba86 docs: fix demoe' format, close: #2822 2016-08-24 10:33:25 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
afc163
ca906a0f9d Merge branch "1.x-stable" 2016-08-23 18:16:19 +08:00
afc163
37c3de6b83 remove indexForSort (#2501) until another stable sort problem is reported 2016-08-23 18:00:01 +08:00
Jerry Bendy
cb56defea3 Spin animate with tips (#2801)
* Spin 组件在显示 tip 时同时显示动画

* remove tip text when not exists
2016-08-23 16:17:32 +08:00
Shawn Sit
2e0424d3b2 Translation tab title (#2815)
* translated doc of tab title

* fixs: misspell

* fixs: misspell

* remove full stop
2016-08-23 14:15:34 +08:00
Shawn Sit
b85d158fd0 docs: Translation tag (#2795) 2016-08-23 09:37:10 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
Benjy Cui
5d39bd9c54 fix: resolve merge conflict 2016-08-22 17:18:26 +08:00
Benjy Cui
e6280a7ea6 Merge branch '1.x-stable' 2016-08-22 17:05:37 +08:00
afc163
47a3b04eb1 change layout chinese name 2016-08-22 14:51:24 +08:00
Benjy Cui
18eea7f1ad docs: update input demos' format 2016-08-22 10:27:43 +08:00
Marius Ileana
52f7bf8ba5 docs: Translation of Input component and its demos. (#2789) 2016-08-22 09:53:39 +08:00
Marius Ileana
75741854c9 input-number / index.en-US.md - small update (#2790)
Small update on the API section.
2016-08-21 00:20:42 +08:00
afc163
9ec6cc90a5 Fix menu z-index
maybe it can close #2762 😄
2016-08-20 19:29:59 +08:00
Benjy Cui
ff19dcc1fc feat: add Badge[status, text], close: #2715 (#2780)
* feat: add Badge[status, text], close: #2715

* feat: optimize Badge[status, text]
2016-08-20 17:43:46 +08:00
ryangun
bc651a207c docs: Translation icon (#2706) 2016-08-20 11:58:31 +08:00
Benjy Cui
3411765ce9 Refactor ts (#2760)
* refactor: add interface form Calendar

* refactor: add interface for layout

* refactor: add interface for DatePicker

* refactor: add interface for Icon

* refactor: add interface for InputNumber

* refactor: add interface for Input
2016-08-19 17:11:06 +08:00
Benjy Cui
4e0ae95e1e chore: export form's interface 2016-08-19 16:53:27 +08:00
陆离
ff765002fa refactor: rewrite form and dropdown in ts (#2683) 2016-08-19 16:43:32 +08:00
Benjy Cui
2c0ed57e5a docs: fix InputNumber demos' format 2016-08-18 15:59:07 +08:00
ryangun
0723b9664c docs: the translation of Input-number (#2707) 2016-08-18 15:46:11 +08:00
ddcat1115
6289d1202b docs: LocaleProvider, DatePicker 补充时区说明 (#2761) 2016-08-18 15:39:57 +08:00
Benjy Cui
cf6643ae75 feat: support BackTop[target], ref: #2718 (#2735) 2016-08-18 11:28:00 +08:00
Benjy Cui
d28e193382 feat: support Affix[target], ref: #2718 (#2734) 2016-08-18 11:27:37 +08:00
Benjy Cui
f21033c316 docs: tranlsation of Checkbox (#2740) 2016-08-18 11:22:55 +08:00
然则
63a266c312 fix #2748 2016-08-17 18:10:33 +08:00
Jerry Bendy
3a12cad07a 链接 404 啦 (#2753)
有些链接没写最后面的 "/" 导致打不开
2016-08-17 18:09:24 +08:00
然则
5d36e7e03f fix #2748 2016-08-17 17:12:40 +08:00
afc163
2ce9d94a66 Fix select input height in IE, close #2741 2016-08-17 13:57:42 +08:00
afc163
9645fdf3c4 use perfix varible in less 2016-08-17 13:47:23 +08:00
Gray Choi
3e5015e351 docs: translate notification (#2731) 2016-08-17 11:07:02 +08:00
afc163
1f670b84a9 fix Tabs children again (#2559) 2016-08-16 23:13:31 +08:00
afc163
0670b05e50 Improve code style 2016-08-17 15:47:29 +08:00
afc163
471743f4c7 Fix editable Tabs key error
close #2721 & #2725
2016-08-17 15:17:10 +08:00
afc163
6a86811e95 Fix table style, close #2723 2016-08-17 14:55:03 +08:00
afc163
36293e2ccb fix tslint 2016-08-16 18:12:56 +08:00
afc163
10e1b8b269 Fix some ts errors 2016-08-16 18:07:37 +08:00
afc163
24d2973c32 Merge branch "1.x-stable" 2016-08-16 17:54:59 +08:00
ddcat1115
2c76b19a1a fix #2688 避免对已经unmount的组件进行操作 (#2720) 2016-08-15 17:49:41 +08:00
ddcat1115
3bdd8212ec refactor: Ts rewrite patination notification modal menu (#2699) 2016-08-15 12:00:05 +08:00
Benjy Cui
3128b15ea5 docs: fix demo format 2016-08-15 11:42:44 +08:00
Benjy Cui
6884b4cd53 docs: fix demo format 2016-08-15 11:23:19 +08:00
Benjy Cui
63941ae665 docs: fix table demo format 2016-08-15 08:07:03 +08:00
偏右
0b3186696c docs: Translate table (#2594) 2016-08-15 07:54:01 +08:00
afc163
ef23ee9d68 Make table styles more percise, fix DatePicker in Table
close #2675
2016-08-14 16:18:12 +08:00
ddcat1115
6b0a3e129c Fix 2663 有 title 时表格 empty 样式错位 (#2679)
* fix #2663

* fix #2663
2016-08-14 15:38:43 +08:00
ddcat1115
a5585bff77 fix #2571 #2518 #2645 增加disabled属性及取消上传时cancel请求 (#2690)
* fix #2571 #2518  use rc-upload@2.x abort
fix #2645  add `disabled`

* fix
2016-08-14 15:20:00 +08:00
Benjy Cui
8dd31d0bb2 fix: buttons of Modal.xxx should be disabled, close: #2684 (#2687) 2016-08-14 15:19:47 +08:00
Marius Ileana
bb0a30d926 docs: table/demo/reset-filter - A little more meaningful filter (#2700) 2016-08-13 09:06:32 +08:00
afc163
7bbb26d441 Fix spin overflow, close #2652 2016-08-12 16:36:47 +08:00
afc163
8d439c48a5 Remove wrong placeholder cursor 2016-08-12 15:18:50 +08:00
afc163
da6b65f7f0 Merge 1.x-stable 2016-08-12 14:47:01 +08:00
Eddie Xie
dc62976b39 docs: Fix typos (#2694) 2016-08-12 14:16:59 +08:00
afc163
8402439a71 Fix some hardcoded style, close #2424 2016-08-11 17:16:38 +08:00
afc163
42298b60d4 Fix editable-card Tabs children map bug, close #2658 2016-08-11 16:36:12 +08:00
Benjy Cui
978b9f98e7 refactor: table ts (#2664)
* refactor: table ts

* fix: should pass context to onChange correctly
2016-08-11 15:38:03 +08:00
afc163
f2bb52e57b Fix autosize Input can not input chinese words
and lost cursor problems

close #2666, close #2239
2016-08-11 15:27:59 +08:00
Benjy Cui
2ed192db52 docs: fix demo style 2016-08-11 11:47:28 +08:00
Gray Choi
5c2087311f docs: translate modal (#2634) 2016-08-11 11:41:06 +08:00
afc163
cd98aab871 Fix transfer list item overflow style, close #2674 2016-08-10 17:46:36 +08:00
然则
be553af441 fix #2657 2016-08-10 14:49:58 +08:00
afc163
8ae2936342 Fix nested Forms style 2016-08-10 14:38:35 +08:00
Benjy Cui
d3d6faf2f3 refactor: ts radio, ref: #2639 2016-08-10 10:26:42 +08:00
Benjy Cui
77e47c5807 refactor: add interface (#2638) 2016-08-10 09:46:56 +08:00
ddcat1115
e0d02b1990 refactor: ts Progress (#2640) 2016-08-09 15:04:02 +08:00
afc163
47311313ab Fix transfer line-height inside FormItem 2016-08-09 11:48:27 +08:00
Marius Ileana
725ca31939 docs: Small correction (#2637) 2016-08-08 15:43:21 +08:00
afc163
175438ec8c fix tslint 2016-08-08 15:00:35 +08:00
afc163
7e77489c8e Fix ts errors in Transfer 2016-08-08 14:42:29 +08:00
afc163
b200f8a2d8 Merge 1.x-stable 2016-08-08 14:12:02 +08:00
Benjy Cui
ca5fe46611 docs: fix demo 2016-08-08 10:57:11 +08:00
The Rock
dc0fc80709 docs(translation): translation for layout (#2635) 2016-08-08 10:40:02 +08:00
然则
db0ac02321 fix show arrow when there is no children #2616 2016-08-07 20:38:20 +08:00
然则
72f56cac8e fix show arrow when there is no children #2616 2016-08-07 20:34:19 +08:00
ddcat1115
2a9864c9ee fix #2604 (#2617)
* fix #2604

* fix
2016-08-06 13:16:38 +08:00
afc163
0ad3492fc9 fix markdown 2016-08-06 09:23:12 +08:00
afc163
a93a72e3b0 update layout doc for missing APIs, close #2629 2016-08-06 09:05:17 +08:00
ddcat1115
c9e26ecab9 docs: treeSelect translation (#2582) 2016-08-05 11:47:31 +08:00
陆离
b946d71026 Merge pull request #2600 from ddcat1115/Alert-banner
banner型 Alert
2016-08-05 11:34:25 +08:00
陆离
33daca7962 Merge pull request #2601 from RaoHai/smallScreenDialog-stable
modal 添加小屏幕适配。
2016-08-05 11:34:16 +08:00
Benjy Cui
4cf04c5799 docs: update form demo 2016-08-05 11:28:34 +08:00
Marius Ileana
6bb29a1774 docs: Review of form / demo / advanced-search-form.md (#2574) 2016-08-05 11:25:39 +08:00
Benjy Cui
6687c12b82 feat: support Transfer[filterOption], close: #2324 2016-08-05 10:49:54 +08:00
Benjy Cui
7d9585377e feat: Form[vertical], close: #2449 2016-08-04 17:45:15 +08:00
afc163
3bae249170 Merge branch 'master' of github.com:ant-design/ant-design 2016-08-04 14:23:07 +08:00
afc163
bb68245b7f Merge 1.x-stable 2016-08-04 14:06:09 +08:00
Benjy Cui
37a3861c65 docs: sync, ref: #2607 2016-08-04 09:45:50 +08:00
Marius Ileana
c8f2793ec3 docs: Review of transfer / index.en-US.md (#2607) 2016-08-04 09:33:04 +08:00
Marius Ileana
05ba63bccc docs: Review of transfer / demo / advanced.md (#2608) 2016-08-04 09:25:07 +08:00
Benjy Cui
95c353de63 docs: sync, ref: #2609 2016-08-04 09:23:10 +08:00
Marius Ileana
77940b77f0 docs: Review of transfer / demo / basic.md (#2609) 2016-08-04 09:13:36 +08:00
afc163
9726122904 selectedRows should match selectedRowKeys, close #2566 2016-08-03 21:27:45 +08:00
afc163
2536dbee78 Improve Table select perfermance 2016-08-03 21:08:13 +08:00
afc163
32a587ba71 fix empty children inside Row, close #2603 2016-08-03 20:30:17 +08:00
afc163
d140108656 Fix typo
close #2602
2016-08-03 19:56:27 +08:00
RaoHai
3209edddca modal 添加小屏幕适配。
+ 加入 768px 断点。当屏幕小于 768 时,宽度 auto 且 margin:10。其他不变。
2016-08-03 15:25:33 +08:00
ddcat1115
21b67a330d banner型 Alert 2016-08-03 14:55:30 +08:00
afc163
77fa03240b Merge branch '1.x-stable' 2016-08-03 11:43:43 +08:00
afc163
9cee9f103a Fix TreeSelect not found style 2016-08-03 11:33:23 +08:00
Benjy Cui
5b5439208c docs: update docs for Form, ref: #2591 2016-08-03 10:55:15 +08:00
Shawn Sit
c04ba5b39b docs: Traslation tabs (#2587) 2016-08-03 10:39:20 +08:00
lixiaochou077
6f620b0e91 docs: translate transfer (#2586) 2016-08-03 10:10:13 +08:00
Benjy Cui
86aaa2d1ed feat: support customized color for Tag, close: #2585 2016-08-03 09:55:16 +08:00
Benjy Cui
a4d91fb99a fix: should hide close button if not hover, close: #2584 2016-08-03 09:48:53 +08:00
afc163
8b0766937f Fix cascader disabled style 2016-08-02 17:19:54 +08:00
afc163
9ffdbc5c26 update cascader demo 2016-08-02 17:06:14 +08:00
ddcat1115
ef84f8d408 refactor: ts LocaleProvider (#2548) 2016-08-02 16:10:26 +08:00
lixiaochou077
9cec8af5f7 docs: translation tooltip (#2577) 2016-08-02 16:06:46 +08:00
afc163
4bbe2291ef Fix uploading picture style 2016-08-02 15:05:25 +08:00
陆离
536de74b62 Merge pull request #2569 from ant-design/typescript-tree-select-and-upload
Add types for tree-select and upload
2016-08-02 14:24:53 +08:00
afc163
da6d511567 Merge branch '1.x-stable' 2016-08-02 12:03:11 +08:00
Benjy Cui
eaebebf425 docs: fix docs 2016-08-02 09:34:04 +08:00
Marius Ileana
23e5912384 docs: Review (#2573)
Please excuse any mistake. I just discovered this library the other day, I felt in love with it and I really like to contribute. :-)
2016-08-02 09:32:50 +08:00
Marius Ileana
be181a7cc7 docs: review of form / demo / form-in-modal.md (#2575) 2016-08-02 09:25:14 +08:00
Marius Ileana
40498e7f01 chore: small typo to form / Form.tsx (#2576) 2016-08-02 09:24:15 +08:00
afc163
25b3517cc3 Add types for tree-select and upload (#1846) 2016-08-01 16:35:01 +08:00
陆离
4fbc909ac1 fix: children should be an array, close #2559 (#2563) 2016-08-01 13:53:11 +08:00
afc163
0fcaeb5280 Merge branch 'master' of github.com:ant-design/ant-design 2016-08-01 13:31:07 +08:00
afc163
4f18cf0658 fix types 2016-08-01 13:30:13 +08:00
Benjy Cui
e5e7a9ac33 docs: update documentation of form 2016-07-31 10:01:58 +08:00
Gray Choi
d07b73fec0 docs: translation of form (#2555) 2016-07-31 09:53:51 +08:00
afc163
57f08259db Merge 1.x-stable 2016-07-30 14:36:49 +08:00
ddcat1115
a3a999441e refactor: ts message (#2544) 2016-07-29 16:32:12 +08:00
ddcat1115
89efcb903a ts popover (#2542) 2016-07-29 14:45:06 +08:00
afc163
10a0709b3a update dragger demo 2016-07-29 14:40:19 +08:00
afc163
877239bfe5 fix Unused import 2016-07-29 14:06:27 +08:00
Benjy Cui
1d2111db02 chore: add warning 2016-07-29 14:02:24 +08:00
afc163
37880beedb Merge branch 'master' of github.com:ant-design/ant-design 2016-07-29 13:58:41 +08:00
afc163
71d74c30c1 Merge 1.x-stable 2016-07-29 13:57:54 +08:00
Benjy Cui
d60051dac2 docs: fix typo 2016-07-29 13:47:14 +08:00
Vadim Macagon
70f16295bd docs: Improve English docs for the Card component (#2537) 2016-07-29 13:43:48 +08:00
Benjy Cui
d1364ac038 feat: pass this.props.form as context automatically (#2534) 2016-07-29 11:18:31 +08:00
ddcat1115
a242a4bdf3 docs: pagination translation (#2533) 2016-07-29 10:15:31 +08:00
ddcat1115
634e836e8d docs: LocaleProvider translation (#2532) 2016-07-29 10:13:59 +08:00
yeliex
14d6bd80da fix: label should align left when it occupy the whole line (#2517) 2016-07-28 08:39:03 +08:00
afc163
c451a865d1 Fix Cascader item overflow style, close #2515 2016-07-27 13:37:20 +08:00
afc163
fec500698e fix unknown props in Table dropdown 2016-07-26 17:02:30 +08:00
ddcat1115
479c15bb58 docs: progress-translation (#2499) 2016-07-26 15:42:04 +08:00
afc163
b8c64f8b6c Merge branch 'master' of github.com:ant-design/ant-design 2016-07-26 22:30:40 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
Vincent Zhang
abecc44d38 fix improper prop 'dataSource' change in Table; close #2501 (#2503) 2016-07-26 14:17:41 +08:00
afc163
f4b10a9e7c Fix string rowKey in Table, close #2500
ref #2058
2016-07-26 21:14:13 +08:00
afc163
f862655df5 Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-07-26 19:47:53 +08:00
afc163
75da5a358a fix some site style 2016-07-26 19:45:55 +08:00
lixiaochou077
039b064529 docs: translation timepicker (#2491) 2016-07-26 11:03:44 +08:00
ddcat1115
87a159b18f docs: Switch-translation (#2489) 2016-07-26 09:17:46 +08:00
然则
a7eea77637 up tree-select 2016-07-25 20:17:52 +08:00
afc163
a5eb044d5c update BackTop doc 2016-07-25 19:37:23 +08:00
afc163
47d273669d Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-07-25 19:31:12 +08:00
afc163
3a2fbf9815 modify BackTop chinese name 2016-07-25 19:28:52 +08:00
Benjy Cui
331b2fdf73 chore: fix 2016-07-25 17:54:09 +08:00
陆离
552fa228ee feat: AutoComplete (#2490) 2016-07-25 17:46:45 +08:00
陆离
ac32dd5811 feat: debounce before spinning => debounce after spinning (#2486) 2016-07-25 16:35:00 +08:00
陆离
0f6a8e2ff7 feat: debounce before spinning => debounce after spinning (#2486) 2016-07-25 16:31:59 +08:00
Benjy Cui
11660c128b docs: update demo, close: #1872 2016-07-25 16:08:18 +08:00
afc163
ca57794ae7 better implement for a2804cb 2016-07-25 14:03:56 +08:00
warmhug
408027b95d add tree's tips 2016-07-25 12:15:59 +08:00
warmhug
bc5f5d5ba4 add tree's tips 2016-07-25 12:08:43 +08:00
afc163
5ec1a99dd4 fix transition 2016-07-25 11:57:37 +08:00
afc163
f3f952e40f fix tslint 2016-07-25 11:39:54 +08:00
afc163
7a52a6fafe Fix context types 2016-07-25 11:35:51 +08:00
afc163
3543cdc1cf Merge branch 'master' of github.com:ant-design/ant-design 2016-07-25 11:28:56 +08:00
ddcat1115
a396e3779a Ts rewrite popconfirm (#2472)
* Popconfirm rewrite

* fix`
2016-07-25 11:28:43 +08:00
afc163
45c0a6e38f blank line 2016-07-25 11:28:19 +08:00
afc163
e0c0830a04 Fix TimelineItem custom color, close #2479 2016-07-24 16:19:46 +08:00
yeliex
f12bbdfdd0 修复了select组件placeholder溢出的问题 (#2480) 2016-07-24 15:15:13 +08:00
afc163
1b001c7672 Merge 1.x-stable 2016-07-24 15:07:50 +08:00
然则
77b0952e36 fix #2393 #2459 #2401
Conflicts:
	package.json
2016-07-24 14:26:19 +08:00
afc163
5c52c21435 inline menu does not highlight selected sub-menu 2016-07-24 14:23:41 +08:00
afc163
32ab285886 Merge branch '1.x-stable' 2016-07-24 13:49:42 +08:00
ddcat1115
79ef6a0664 fix #2414 2016-07-22 18:42:47 +08:00
afc163
2face80716 Click todayButton should trigger onChange, close #1902 2016-07-22 16:14:50 +08:00
afc163
1a1ed29717 Add switch :active style 2016-07-22 14:23:59 +08:00
afc163
2a54161e51 fix eslint 2016-07-21 21:19:37 +08:00
afc163
a2804cbff5 Make clear icon more clear 2016-07-21 20:57:44 +08:00
afc163
a72d9ec381 Merge 2016-07-21 18:10:13 +08:00
afc163
dd80613cd1 Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-07-21 18:08:35 +08:00
afc163
db00e94b40 fix links 2016-07-21 18:07:49 +08:00
afc163
a458de0a88 fix prefer-const 2016-07-21 18:05:15 +08:00
afc163
398b8ac708 typo 2016-07-21 15:53:33 +08:00
afc163
497cc1f65a improve FormItem colon (#2311) 2016-07-21 15:51:37 +08:00
afc163
a30f0090b9 update metion doc 2016-07-21 15:41:40 +08:00
afc163
57a34d8f5d fix metion styles 2016-07-21 15:40:13 +08:00
afc163
aa8e02326a update metion docs 2016-07-21 15:23:04 +08:00
afc163
92d127d8a5 Fix DatePicker style 2016-07-21 15:20:01 +08:00
ddcat1115
eba54529ca table-title style (#2452) 2016-07-21 15:14:42 +08:00
afc163
5eb52885d6 @background-color-base 2016-07-21 15:02:24 +08:00
afc163
1138b69c6d Merge branch 'master' of github.com:ant-design/ant-design 2016-07-21 14:40:11 +08:00
afc163
db4cbabf0c Merge 2016-07-21 14:39:28 +08:00
陆离
4ad8b2f96c Merge pull request #2441 from RaoHai/MentionComponent
Mention component fix
2016-07-21 14:37:29 +08:00
afc163
42d34a5db3 Merge branch '1.x-stable' 2016-07-21 14:34:37 +08:00
afc163
44b8f38a3c fix disabled menu item background 2016-07-21 14:30:37 +08:00
afc163
7aad78c508 improve progress style 2016-07-21 14:27:54 +08:00
afc163
54c7192d1e Update code style of Steps demos 2016-07-21 14:20:49 +08:00
afc163
a26c2e8888 Fix breadcrume style detail, close #2434 2016-07-21 11:48:56 +08:00
Benjy Cui
5bee7d2088 docs: fix translation 2016-07-21 10:15:00 +08:00
却痕
e202c7d2b3 docs: translation of Rate && Radio (#2440) 2016-07-21 10:10:04 +08:00
Leon Shi
3d070b8d85 docs: translate Cascader's documentation to English (#2433) 2016-07-21 10:09:01 +08:00
ddcat1115
2b20ac0456 docs: steps translation (#2430) 2016-07-21 10:07:30 +08:00
Gray Choi
b0bf2a5c0e docs: translate tree component (#2395) 2016-07-21 09:52:39 +08:00
陆离
49e164d09d docs: translation of Spin and Slider (#2378) 2016-07-21 09:51:04 +08:00
RaoHai
1ccfad13f7 Mention Component fix
- 现在只输入一个 @ 符号,dropdown 也会弹出。
 - 输入框失去焦点后,dropdown 会消失。
 - 添加受控模式示例
 - 添加 `getMentions(editorState: EditorState): Array<String>` Api,
   可以获取当前提到的人。
 - 添加了校验样式
 - 其他样式修正
2016-07-20 19:01:11 +08:00
yiminghe
12b531efb3 Merge pull request #2416 from RaoHai/improvementOfDatePicker
DatePicker 组件优化
2016-07-20 11:17:35 +08:00
yiminghe
6158b39335 Merge pull request #2259 from RaoHai/MentionComponent
Mention Component
2016-07-20 11:17:19 +08:00
afc163
ea61aa3cab upload code style 2016-07-19 20:28:56 +08:00
yiminghe
b140856836 add class 2016-07-19 19:08:59 +08:00
RaoHai
8c739abeb5 style lint 2016-07-19 16:00:19 +08:00
RaoHai
7dd4a019d5 DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
 面板上的 TimePicker
 + DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
 + RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
 + RangePicker showTime : 点击框外和确定均为确定操作。
 + RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
 + RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
 + RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
2016-07-19 16:00:19 +08:00
yiminghe
3342aae9f3 upgrade 2016-07-19 15:46:00 +08:00
RaoHai
3095f58be8 export toEditorState of Mention 2016-07-19 13:39:05 +08:00
RaoHai
3fe36f4584 export toString of Mention 2016-07-19 12:31:03 +08:00
afc163
e2cc2838fd Fix lesshint 2016-07-18 22:24:53 +08:00
RaoHai
23df8f7504 tslint fix 2016-07-18 17:58:55 +08:00
RaoHai
69da207f3c support value props and controllred mode 2016-07-18 16:58:52 +08:00
RaoHai
f547a97020 lesslint fix 2016-07-18 16:58:52 +08:00
RaoHai
595938f5f2 Mention Component 2016-07-18 16:58:52 +08:00
RaoHai
8e3d2b823a improvement after review 2016-07-18 16:58:52 +08:00
RaoHai
1fd4837d25 lesslint fix 2016-07-18 16:58:52 +08:00
RaoHai
01fabac77a Mention Component 2016-07-18 16:58:52 +08:00
afc163
765150f17d fix cascader props warning (#2258) 2016-07-16 15:50:27 +08:00
afc163
f0995bd1e3 Merge 1.x-stable 2016-07-15 16:42:58 +08:00
afc163
43d8c0a4a2 Fix DatePicker onChange and onOk when showTime
onChange should be triggered at clicking ok button
when showTime is true. You can use onChange replace onOk
anytime.

This commit revert a05b4e6, which break the behavious above.

close #2399, also fix #2120
2016-07-15 16:26:14 +08:00
afc163
e7f6f4b869 Fix Transfer search and check all behavious, close #2396 2016-07-15 15:07:31 +08:00
afc163
138a7a9c54 fix code style 2016-07-15 14:01:51 +08:00
afc163
a535238d68 fix cascader input style 2016-07-15 12:46:49 +08:00
Infinity
1c68f17b81 为TimePicker增加定制anchor的API (#2390) 2016-07-15 12:38:42 +08:00
afc163
d7defe458b blank line 2016-07-15 12:37:53 +08:00
yiminghe
91037fa78f Merge pull request #2385 from ant-design/add-typings
Add typings
2016-07-15 11:42:30 +08:00
Infinity
5fa89f280a 为TimePicker增加定制anchor的API (#2390) 2016-07-15 11:11:55 +08:00
afc163
730dbc72f7 Add typings 2016-07-14 18:15:59 +08:00
afc163
2e4d09c68e Fix types 2016-07-13 18:04:38 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
afc163
aee2b2c5ad Merge branch '1.x-stable' 2016-07-13 16:26:27 +08:00
afc163
8c9af24d72 fix some tree style 2016-07-13 16:12:44 +08:00
afc163
2d0b56a429 update tree demo 2016-07-13 16:08:10 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
afc163
5e5bd6af9e Merge branch '1.x-stable' 2016-07-12 21:36:23 +08:00
afc163
4b29e40089 Fix overflow current state in Table, close #2301 2016-07-12 18:45:45 +08:00
afc163
1029419e95 improve code style 2016-07-12 18:24:16 +08:00
afc163
ce7e7c77f0 Fix ts error in Affix (#1846) 2016-07-12 16:07:12 +08:00
afc163
4954f5d733 Merge branch '1.x-stable' 2016-07-12 13:59:58 +08:00
afc163
cf978908e8 Fix overflow combobox, close #2353 2016-07-12 12:17:19 +08:00
afc163
129df7dc2a Fix removed upload item bug, close #2342 2016-07-12 12:09:12 +08:00
ezpub
dce99bc259 fix cascader input value error (#2338)
`value` prop on `input` should not be null. Consider using the empty string to clear the component or `undefined` for uncontrolled components.
2016-07-11 14:58:15 +08:00
afc163
6dad2b2987 Merge branch '1.x-stable' 2016-07-11 14:57:38 +08:00
afc163
b40205461e Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-07-11 14:53:21 +08:00
afc163
1f82c573bf Add placeholder for Affix, close #1987 2016-07-11 14:52:21 +08:00
afc163
7c595797c0 Improve fixed Table border style 2016-07-11 13:50:15 +08:00
yiminghe
d855460eee merge 2016-07-11 13:03:22 +08:00
Benjy Cui
6ee3da59c1 fix: badge scrollnumber 2016-07-11 11:50:34 +08:00
偏右
bb03c89ebf docs: translate badge to english (#2269) 2016-07-11 11:45:42 +08:00
ddcat1115
3c1a9c6939 docs: backTop tranlation (#2244) 2016-07-11 11:40:20 +08:00
Benjy Cui
0058c80e98 fix: the bgc of cascader should be white 2016-07-11 11:36:02 +08:00
afc163
8e9768fb4a Fix form button align 2016-07-10 17:04:03 +08:00
afc163
5856bb1b30 Fix key warning 2016-07-10 15:16:24 +08:00
afc163
8ec15e4ad3 Fix Input value warning
close #2333, close #2332
2016-07-10 15:12:02 +08:00
Benjy Cui
0fccbd4b1d docs: fix format 2016-07-10 09:14:14 +08:00
偏右
1cf55c2b16 docs: translate affix to english (#1471) (#2219) 2016-07-10 08:56:02 +08:00
陆离
b2ff1dcc75 docs: i18n of Select (#1899) 2016-07-10 08:55:43 +08:00
afc163
158b594526 Merge branch '1.x-stable' 2016-07-09 17:46:11 +08:00
Benjy Cui
4a6ff6f053 fix: Form.Item should support responsive layout, close: #2305 (#2313) 2016-07-09 17:44:28 +08:00
afc163
64b2381759 Merge 1.x-stable 2016-07-09 17:43:31 +08:00
afc163
0977a656aa Fix default upload item link, close #2331 2016-07-09 17:22:48 +08:00
afc163
fc9eacbd7e fix eslint 2016-07-09 16:15:08 +08:00
afc163
b9793662ac Merge branch 'master' of github.com:ant-design/ant-design 2016-07-09 16:04:27 +08:00
afc163
28c470cb37 Merge 1.x-stable 2016-07-09 16:03:47 +08:00
afc163
4ac775212f Improve code for #2247 2016-07-09 16:00:05 +08:00
djorkaeff
f687c95bd9 change offset when window resize 2016-07-09 15:40:30 +08:00
yeliex
147e06a837 Add colon props to Form (#2311) 2016-07-09 15:10:07 +08:00
afc163
ec8a0821cd Fix controlled fileList prop, close #2236 2016-07-09 15:08:39 +08:00
bang
9677a06f38 update tag 2016-07-09 11:00:07 +08:00
bang
414de809ea update tooltip 2016-07-09 10:54:21 +08:00
bang
724ce80b5e update timeline 2016-07-09 10:53:40 +08:00
bang
00710328b1 update timepicker 2016-07-09 10:52:58 +08:00
bang
c36cf9e07e update tag 2016-07-09 10:52:16 +08:00
bang
817bfe9681 update tabs 2016-07-09 10:50:51 +08:00