Commit Graph

3223 Commits

Author SHA1 Message Date
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