Commit Graph

2351 Commits

Author SHA1 Message Date
afc163
0220ab5522 update error step icon 2016-04-06 17:50:51 +08:00
afc163
93adb528ed Add error step, close #1098 2016-04-06 17:07:22 +08:00
afc163
60ebf2922c update steps doc 2016-04-06 16:17:11 +08:00
afc163
51369ec82b upgrade steps demos 2016-04-06 16:16:46 +08:00
afc163
9f33b18336 update steps doc 2016-04-06 16:16:36 +08:00
afc163
e4c3faeabc fix size propTypes 2016-04-06 15:52:38 +08:00
afc163
41182f5619 fix prefixCls 2016-04-06 15:50:58 +08:00
afc163
611665fa6d button contains icon only should has smaller padding 2016-04-06 15:43:50 +08:00
afc163
ba2b08b492 Fix layout responsive 2016-04-06 13:45:36 +08:00
afc163
b3f519ac52 update form style for advanced-search-form demo 2016-04-06 12:08:40 +08:00
afc163
e5c8179189 Merge branch master into develop-1.0.0 2016-04-06 11:57:17 +08:00
afc163
b9b4e30ac1 fix tabs demo 2016-04-06 11:49:02 +08:00
afc163
35b6618597 update form demo 2016-04-06 11:29:28 +08:00
afc163
910203a554 update form index.md 2016-04-06 11:29:06 +08:00
afc163
5b1ccce554 fix button demo 2016-04-05 19:33:26 +08:00
afc163
e39c5e53ed update rate doc 2016-04-05 19:14:21 +08:00
afc163
aa6a1762b7 rename Progress files 2016-04-05 17:13:09 +08:00
afc163
befe1fc521 Merge circle into line component 2016-04-05 17:13:09 +08:00
afc163
ae87f60075 remove Modal align in API document 2016-04-05 13:42:02 +08:00
afc163
1fd31771b3 fix hidden demo 2016-04-05 13:34:44 +08:00
afc163
b27c6ccc24 rebase and add demo & docs 2016-04-05 12:30:14 +08:00
afc163
71ee13a2a8 Fix Modal animation 2016-04-05 11:58:46 +08:00
Bruce Mitchener
0a4bcfa1a7 Spell deprecated correctly. 2016-04-01 22:06:38 +07:00
afc163
28b36d571c fix Input document undefined error, close #1321 2016-04-01 18:42:45 +08:00
afc163
2ed55a4900 move deperated warning into componentDidMount 2016-04-01 14:29:11 +08:00
afc163
be8d19628b Popover prop content => overlay, ref #978 2016-04-01 14:28:35 +08:00
afc163
3df1e27ca4 Merge branch 'master' into develop-1.0.0 2016-04-01 14:17:51 +08:00
afc163
c02c9a2e5b update popover index.md 2016-04-01 14:14:34 +08:00
afc163
655e4d5a7d Add LocaleProvider support for RangePicker 2016-04-01 13:53:37 +08:00
afc163
0f3c3c7e5a Fix cascader placeholder, close #1312 2016-04-01 13:51:26 +08:00
Benjy Cui
bc2b086862 docs: update demo format 2016-04-01 10:12:02 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
30be05e570 Fix popover prefixCls 2016-04-01 01:37:17 +08:00
afc163
4a29f0afd0 Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-04-01 01:10:01 +08:00
afc163
84b731df0f Merge branch master into develop-1.0.0 2016-04-01 01:09:24 +08:00
afc163
29ceb8862d fix: controlled pagination.current should not respond user interaction
ref #1311
2016-04-01 00:57:03 +08:00
Bruce Mitchener
fa65f25b1e Switch RangePicker to ES6 class. 2016-03-31 20:23:39 +07:00
Bruce Mitchener
50d61eb7de Fix RangePicker handleChange callback.
There was a minor typo in 2e86463a6a
which broke the handleChange callback (this.props was replaced with
props.props rather than just props).
2016-03-31 19:32:43 +07:00
Benjy Cui
794783d1c2 style: enable react/no-multi-comp 2016-03-31 17:46:35 +08:00
afc163
bb287e2e4e Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-31 17:38:29 +08:00
afc163
eba37c9ef7 Add LocaleProvider support for Calendar 2016-03-31 17:37:24 +08:00
Benjy Cui
2a3febfe4c deps: remove useless dependencies 2016-03-31 16:47:03 +08:00
afc163
d75c0d0b24 Merge pull request #1307 from ant-design/docs-format
Update docs format
2016-03-31 15:48:38 +08:00
afc163
5c884a64c4 Remove Button type PropTypes limit, close #1308 2016-03-31 14:57:29 +08:00
afc163
9f342a0568 update button group demo 2016-03-31 14:55:12 +08:00
afc163
bd97bff665 improve rate style & demos 2016-03-31 14:43:38 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
f13e40b887 Fix: isomorphic badge & spin
close #1300 again
2016-03-30 23:02:11 +08:00
afc163
3aab04d4a5 update demo 2016-03-30 20:37:17 +08:00
afc163
06de76b7f4 spanRender => nameRender, ref #1304 2016-03-30 19:46:54 +08:00
afc163
d5e038845f Merge pull request #1304 from queimadus/breadcrumb-span-render
Parameterize Breadcrumb span rendering
2016-03-30 19:43:00 +08:00
afc163
7d700b01cc Fix server render difference
close #1300

ref #215
2016-03-30 19:39:20 +08:00
afc163
fbee9d9dd9 update code style 2016-03-30 19:36:29 +08:00
afc163
921d3bce46 hidden breadcrumb href in Doc 2016-03-30 19:30:16 +08:00
afc163
261661bffe update card style 2016-03-30 19:06:05 +08:00
afc163
578605f230 Merge pull request #1294 from ant-design/feat-controlled-filter-and-soter
Feat controlled filters and sorter
2016-03-30 18:51:51 +08:00
afc163
178f593612 Merge pull request #1301 from ant-design/chore-eslintrc
style: enable react/jsx-no-bind
2016-03-30 18:51:46 +08:00
Bruno Maia
03c4c73471 Parameterize span rendering 2016-03-30 11:50:38 +01:00
afc163
b4a75ddcc9 fix sort and filter perf 2016-03-30 17:56:37 +08:00
afc163
2651d80fc2 Individual controlled filter 2016-03-30 17:49:36 +08:00
Benjy Cui
fd3406bd03 style: enable react/jsx-no-bind 2016-03-30 17:06:19 +08:00
yiminghe
afdbe4544c remove velocity-anim 2016-03-30 16:33:47 +08:00
afc163
ae9f8d0365 Add docs for sortOrder & filteredValue 2016-03-30 14:39:21 +08:00
afc163
137d57da08 controlled filters 2016-03-30 14:39:21 +08:00
afc163
0dbc69ea8e sorted => sortOrder 2016-03-30 14:39:21 +08:00
afc163
94234a7749 Fix sort state 2016-03-30 14:39:21 +08:00
afc163
6d2b9b249c Make column.sorted be a controlled prop 2016-03-30 14:39:21 +08:00
afc163
5ce99d7c07 get initial sorted state from columns 2016-03-30 14:39:21 +08:00
afc163
4ee09de3b9 Add demo, confirm related API 2016-03-30 14:39:21 +08:00
yiminghe
8c3a70ab0b add rate 2016-03-30 13:20:03 +08:00
afc163
c47fdeaf8f Merge branch 'master' into develop-1.0.0 2016-03-30 11:17:39 +08:00
afc163
9584cf0af3 Merge pull request #1295 from waywardmonkeys/more-class-conversion
Convert more createClass over to extending Component.
2016-03-30 11:11:50 +08:00
afc163
fd1d54cfb2 Merge pull request #1298 from ant-design/refactor-datepicker-hoc
refactor: remove mixin
2016-03-30 11:11:24 +08:00
afc163
f89d2dba7e Merge pull request #1296 from ant-design/deperated-queue-anim
Mark QueueAnim deperated
2016-03-30 11:11:20 +08:00
afc163
1d1d0bac0d Add style for Form & FormItem
close #1290
2016-03-30 11:01:09 +08:00
afc163
c10fbaed6f fix some className issues 2016-03-30 10:58:37 +08:00
Benjy Cui
2e86463a6a refactor: remove mixin 2016-03-30 10:52:15 +08:00
Benjy Cui
6157d21089 refactor: DatePicker 2016-03-30 09:50:44 +08:00
Benjy Cui
193ba74bff style: update code style 2016-03-30 09:41:18 +08:00
afc163
f79c8c028b Fix QueueAnim demo 2016-03-29 20:29:41 +08:00
afc163
e0d486bbe6 Mark QueueAnim deperated 2016-03-29 19:50:05 +08:00
afc163
74f462e8a8 update docs 2016-03-29 18:21:57 +08:00
afc163
376d1efc04 Add some api in docs 2016-03-29 18:05:08 +08:00
afc163
b6de2765bf Add some api in docs 2016-03-29 18:02:01 +08:00
afc163
590692d101 Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-29 17:37:31 +08:00
afc163
ba8d9b7dc3 Merge branch 'master' into develop-1.0.0 2016-03-29 17:36:58 +08:00
Bruce Mitchener
0acce38f08 Convert more createClass over to extending Component. 2016-03-29 16:33:37 +07:00
afc163
ec6ac78e15 simplify table demo 2016-03-29 17:32:03 +08:00
afc163
3eb52e5498 fix a stupid className error 2016-03-29 17:19:31 +08:00
yiminghe
55f23c9d34 Merge pull request #1292 from waywardmonkeys/static-members
Use static class members for propTypes and friends.
2016-03-29 16:36:30 +08:00
Benjy Cui
b0f7df547a docs: update docs for Form.create 2016-03-29 15:24:22 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Bruce Mitchener
ba965dc746 Convert several React.createClass usages to classes. 2016-03-29 11:13:04 +07:00
Bruce Mitchener
71594b0e5c Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.

This makes all existing ES2015 class usages in components use the
same mechanism for binding.
2016-03-28 20:36:11 +07:00
afc163
7692bf3d42 update site style 2016-03-28 19:12:51 +08:00
afc163
1df8bccf26 Remove deperated progress form usage 2016-03-28 18:51:30 +08:00
afc163
6b2c0e96a9 Add deperated code for xxx.warn 2016-03-28 18:03:00 +08:00
afc163
09b27ed288 warn => warning, close #1225 2016-03-28 17:43:38 +08:00
afc163
b3e1bd9e5a Merge pull request #1279 from waywardmonkeys/no-direct-import-component
Don't directly import Component, use React.Component.
2016-03-28 17:40:48 +08:00
afc163
9d0dfe07b3 Merge pull request #1284 from ant-design/feat-date-picker-args
Add dateString to DatePicker & TimePicker onChange
2016-03-28 17:40:19 +08:00
afc163
f5ef6e58dd Merge pull request #1287 from ant-design/feat-form-item
feat: support multi children for Form.Item
2016-03-28 17:40:14 +08:00
afc163
0677108ffb Merge branch 'master' into develop-1.0.0 2016-03-28 17:39:34 +08:00
Benjy Cui
10dd78122b feat: support multi children for Form.Item 2016-03-28 17:06:10 +08:00
afc163
436b6d8c3a fix progress style in some detail 2016-03-28 16:52:00 +08:00
afc163
80f11f5f70 Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-28 16:16:36 +08:00
afc163
fbda3c7b88 Merge master into develop-1.0.0 2016-03-28 16:15:36 +08:00
afc163
7cee16d153 Fix alert icons style 2016-03-28 16:09:13 +08:00
afc163
bc2bafff54 update table demo code style 2016-03-28 16:00:58 +08:00
Benjy Cui
f4193866b8 docs: update docs for form 2016-03-28 15:27:57 +08:00
Benjy Cui
8b58cdd137 docs: update docs for select 2016-03-28 15:13:18 +08:00
afc163
127f893619 Add Table rowClassName into document 2016-03-28 13:44:50 +08:00
afc163
703cf31868 Add dateString to DatePicker & TimePicker onChange
close #1104
2016-03-28 12:18:30 +08:00
Wei Zhu
4f541794e9 Update rc-upload to 1.9.0 2016-03-28 01:47:39 +08:00
afc163
5ecd21a732 Merge pull request #1267 from mrtone/patch-1
preventDefault for onClose.
2016-03-27 21:17:35 +08:00
ShiTengFei
896c940768 Fixed lint error. 2016-03-27 18:06:09 +08:00
Bruce Mitchener
50a2163518 Don't directly import Component, use React.Component.
This is another step towards making the code internally consistent.
2016-03-26 16:22:39 +07:00
afc163
cbfb910973 fix search-input style of large size 2016-03-25 19:59:05 +08:00
yiminghe
771bbaa044 Merge pull request #1275 from ant-design/deps-object-assign
deps: remove object-assign
2016-03-25 18:30:53 +08:00
yiminghe
101bacc5b8 fix form 2016-03-25 18:29:18 +08:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +08:00
afc163
72db02ef04 Add icon prop for Button, close #1199 2016-03-25 18:13:51 +08:00
afc163
61f9ba1fd7 Fix table footer style 2016-03-25 16:12:29 +08:00
afc163
4760d0b54c Add scroll and column.fixed document 2016-03-25 16:12:29 +08:00
afc163
0243afb7c5 fix scroll bar style 2016-03-25 16:12:29 +08:00
afc163
15f576020b Add fixed columns demos 2016-03-25 16:12:29 +08:00
afc163
df1252cba1 Merge branch 'master' into develop-1.0.0 2016-03-25 16:01:12 +08:00
afc163
b0827e2d8f Add TimePicker locale change doc, close #1270 2016-03-25 15:41:05 +08:00
afc163
68c7d3cdaa update form doc 2016-03-25 14:24:04 +08:00
afc163
e378b1f695 Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-25 12:19:36 +08:00
afc163
0534c53db5 Merge master into develop-1.0.0 2016-03-25 12:18:51 +08:00
Bruce Mitchener
5c5d94c4f9 Typo fix: Incorrect capitalization. 2016-03-25 10:52:27 +07:00
Mr.Tone
56b0650734 preventDefault for onClose. 2016-03-24 22:12:21 +08:00
afc163
963d073f1d improve api table style 2016-03-24 21:30:33 +08:00
Benjy Cui
f67548d60f feat: col-*-0 means display: none 2016-03-24 14:39:41 +08:00
afc163
ae44ce6d31 update some docs 2016-03-24 11:25:23 +08:00
afc163
66179b2760 Merge master into develop-1.0.0 2016-03-23 18:41:58 +08:00
afc163
fff4e01f14 remove JSON format limit, close #1248 2016-03-23 18:36:27 +08:00
afc163
1b91d2396b fix undefined className 2016-03-23 16:25:06 +08:00
afc163
20211d448c Add default width for showTime DatePicker 2016-03-23 15:58:46 +08:00
Benjy Cui
cd39283aca docs: fix demo, close #1207 2016-03-23 14:59:01 +08:00
fanzheng.fz
99a44e9b5e always concat paths wether there's a breadcrumbName or not 2016-03-23 12:06:19 +08:00
fanzheng.fz
60dadfb899 always concat paths wether there's a breadcrumbName or not 2016-03-23 00:26:22 +08:00
afc163
fb6c6abbc7 Merge master 2016-03-22 19:31:55 +08:00
Benjy Cui
235de43605 deps: upgrade rc-slider 2016-03-22 17:50:21 +08:00
Benjy Cui
36d0804e14 fix: typo 2016-03-22 17:46:14 +08:00
闲耘™
17b8dfe6be fix(demo): fixed form control demo. 2016-03-22 11:53:38 +08:00
Benjy Cui
3611c798c1 docs: update documentation 2016-03-22 10:33:50 +08:00
Benjy Cui
095a7d977e Merge pull request #1242 from waywardmonkeys/ant-prefix
Name classes without Ant* prefix.
2016-03-22 10:21:08 +08:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
afc163
7bf88306ff fix form demo 2016-03-21 18:14:05 +08:00
Qiaosen Huang
d584b20dd8 add onPreview onRemove override on upload. 2016-03-21 14:16:22 +08:00
Bruce Mitchener
eaae43abdd More ES2015 classes.
This covers Carousel, InputNumber, Select, Slider, Switch, TreeSelect
and Tree.
2016-03-21 08:26:05 +07:00
Bruce Mitchener
1b81aa8c75 Convert Popover & Spin to ES2015 classes. 2016-03-20 19:41:34 +07:00
Benjy Cui
a760e74734 Merge branch 'spa-new-design-language' into develop-1.0.0 2016-03-18 12:08:19 +08:00
Benjy Cui
a749026273 Merge branch 'develop-1.0.0' into spa-new-design-language 2016-03-18 12:02:05 +08:00
afc163
04f747770e fix(docs), confirm demo & docs 2016-03-18 11:48:06 +08:00
Benjy Cui
1f7a30c99c Merge branch 'master' of github.com:ant-design/ant-design into spa-new-design-language 2016-03-18 11:12:51 +08:00
Bruce Mitchener
63c06e8652 Use ES2015 classes instead of React.createClass.
Make Breadcrumb, Checkbox, Dropdown, Steps and Timeline
components use ES2015 classes rather than React.createClass.

This includes:

* getDefaultProps method becomes a defaultProps value on the
  constructor.
* propTypes becomes a value on the constructor.
2016-03-18 09:35:15 +07:00
afc163
60cd7ed85e Fix current page when Table pageSize changed 2016-03-17 15:13:48 +08:00
afc163
6c913d7ebe Fix popover and popconfirm arrow style 2016-03-17 15:10:49 +08:00
闲耘™
e0172caee4 feat(checkbox group): checkbox group support disable specified item. 2016-03-17 11:31:36 +08:00
Benjy Cui
ab04ce30f7 docs: update docs for getFieldProps, close: #1211 2016-03-17 10:11:26 +08:00
afc163
d7f46a05b3 update docs 2016-03-16 22:06:02 +08:00
afc163
f66a257ab9 update upload chinese name 2016-03-16 20:17:35 +08:00
afc163
f247297f01 Fix children row selection, close #1212 2016-03-16 16:39:53 +08:00
afc163
0a1d3bdd3b fix onChange argument 2016-03-16 16:35:41 +08:00
afc163
5e1f0960a2 Fix rowSelection.onChange selectedRows when specify rowKey 2016-03-16 16:03:16 +08:00
afc163
884c92d7ec pageSize change should trigger Table.onChange, close #1206 2016-03-16 14:26:21 +08:00
闲耘™
8d817e6eee update(propTypes): more restrictions on propTypes 2016-03-16 11:27:27 +08:00
afc163
b9a90531f8 Merge branch 'master' of github.com:ant-design/ant-design 2016-03-15 22:59:50 +08:00
afc163
680b8478f4 update docs 2016-03-15 22:12:00 +08:00
闲耘™
1c35bd3d9d refact(regexp): better regexp 2016-03-15 21:39:23 +08:00
afc163
50fd241648 Fix missing code of a222b38 2016-03-15 19:31:56 +08:00
afc163
8b5e2ce1e0 Add API docs 2016-03-15 17:22:39 +08:00
Benjy Cui
ebab622add Merge branch 'master' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-15 09:47:55 +08:00
afc163
ece5b0cfb2 Add docs for #1193 2016-03-14 18:39:32 +08:00
然则
e1f27bbe4d upgrade treeSelect 2016-03-14 16:18:30 +08:00
Bruce Mitchener
89561b0b3e Favor 'export default' over 'module.exports'. 2016-03-14 14:17:48 +07:00
Bruce Mitchener
5b76337bdc Minor English grammar improvements. 2016-03-14 11:45:06 +07:00
afc163
80d6ae30a8 Add propTypes and prop align in Modal docs 2016-03-14 11:46:48 +08:00
afc163
1929f7db97 fix dataSource undefined 2016-03-14 11:19:13 +08:00
afc163
38baf0ef19 Fix(Popconfirm): confirm and cancel not trigger onVisibleChange 2016-03-13 16:49:05 +08:00
afc163
ed3cda06a2 update button docs 2016-03-13 13:19:43 +08:00
Benjy Cui
f0c4ecbc8f fix: suppress submit event by default #1173 2016-03-11 16:22:38 +08:00
Benjy Cui
abc8b4c1e7 docs: update demo 2016-03-11 09:45:06 +08:00
afc163
1e08883315 update table selection demo 2016-03-10 16:55:02 +08:00
afc163
959db3f793 improve popconfirm style, close #1156 2016-03-10 16:22:52 +08:00
afc163
c228b65f9a Merge branch 'master' of https://github.com/foriacus/ant-design into foriacus-master 2016-03-10 15:54:50 +08:00
Benjy Cui
12e51707bf chore: remove duplicated fileName 2016-03-10 15:02:20 +08:00
afc163
e17b5f599f Add hover delay for Dropdown 2016-03-10 12:30:49 +08:00
观通
a867231253 fix doc. replace MenuItem with Menu.Item. 2016-03-10 11:39:10 +08:00
Benjy Cui
2fd2f82986 css: update layout demos' style 2016-03-10 10:50:40 +08:00
Benjy Cui
380deaf54c fix: Row's children could be null 2016-03-10 10:50:40 +08:00
Benjy Cui
c4b2981e53 feat: support demo with ReactRouter 2016-03-10 10:50:40 +08:00
Benjy Cui
ba9ec11079 chore: support IconSet 2016-03-10 10:50:39 +08:00
Benjy Cui
cc0bad9ef9 chore: update UI 2016-03-10 10:50:39 +08:00
Benjy Cui
203627f4c7 feat: support cols equals '1' 2016-03-10 10:50:36 +08:00
Benjy Cui
5d0febe072 Merge pull request #1162 from ant-design/improve-checkbox-group
CheckboxGroup support label in option
2016-03-10 10:49:07 +08:00
Benjy Cui
02f507f156 fix: should copy defaultLocale instead of refer 2016-03-10 10:32:50 +08:00