Commit Graph

115 Commits

Author SHA1 Message Date
afc163
c897243d33 Fix upload beforeUpload, close #3001 2016-09-12 15:19:44 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
hellowenqi
a25b8b0658 docs: Translation upload (#2770) 2016-08-25 09:46:19 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
Eddie Xie
dc62976b39 docs: Fix typos (#2694) 2016-08-12 14:16:59 +08:00
afc163
10a0709b3a update dragger demo 2016-07-29 14:40:19 +08:00
afc163
6f11e1fda0 update upload demo doc 2016-05-25 17:32:59 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
8116e775ff upgrade devDeps and fix some eslint problems 2016-04-18 14:58:38 +08:00
afc163
db0c909ccd Merge branch master into develop-1.0.0 2016-04-11 14:34:18 +08:00
afc163
d4cfd369b7 update demo 2016-04-11 14:20:05 +08:00
afc163
95fabf0c00 update demo 2016-04-11 14:03:31 +08:00
Benjy Cui
d9f7a57439 docs: update docs 2016-04-11 11:52:17 +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
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
9d022ff84c style: update code style to please lint 2016-02-17 15:57:33 +08:00
Benjy Cui
68b51e298d style: update code style for space-before-function-paren 2016-01-27 17:00:58 +08:00
afc163
66b7ee81ad fix eslint problems, eslint-config-airbnb@4.x 2016-01-23 15:22:16 +08:00
afc163
64d96f071f update picture card upload list style for more expansibility 2016-01-16 16:39:52 +08:00
kasinooya
98627f6d46 Merge branch 'develop-0.12.0' into feature-upload 2016-01-15 16:45:40 +08:00
kasinooya
17ebf07ad3 Add picture-card demo 2016-01-15 16:44:07 +08:00
afc163
5d2d5b2604 Merge branch 'master' into develop-0.12.0 2016-01-15 16:12:40 +08:00
afc163
a681ea9eb9 fix fileList demo 2016-01-15 15:41:47 +08:00
afc163
2e3ccfb345 Merge branch 'master' into develop-0.12.0 2016-01-13 22:48:54 +08:00
afc163
63476680bd Add upload inline item demo, ref #859 2016-01-13 22:44:45 +08:00
afc163
fdcc665c80 merge drag upload demo 2016-01-13 22:39:02 +08:00
afc163
027a69b0f0 hide multiple upload demo 2016-01-13 22:32:42 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
Benjy Cui
5699e61fd0 fix: uploadList should under the controll of beforeUpload #757 2015-12-28 14:16:34 +08:00
afc163
1f98c85e8a support preview picture in upload list, close #750 2015-12-27 15:32:37 +08:00
afc163
7288dfbaf9 Add picture style upload list 2015-12-13 17:46:06 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
afc163
b6ff796e71 update upload 2015-11-13 16:09:39 +08:00
afc163
c044f62374 update upload style 2015-11-04 12:00:49 +08:00
xiaosheng.lj
851da67f48 style uploadList to showUploadList 2015-11-03 16:59:04 +08:00
xiaosheng.lj
9cb8bef1ad feat add uploadlist config and fix color 2015-11-03 16:59:04 +08:00
xiaosheng.lj
0cc8035678 feat add upload progress effect 2015-11-03 16:59:04 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
elrrrrrrr
c540d124a5 chore: 迁移 upload iconfont 2015-10-02 16:52:34 +08:00
afc163
961b990f07 upgrade rc-upload to 1.6.x 2015-09-21 11:34:14 +08:00
afc163
fcc8c26166 Add error status for upload file item 2015-09-14 00:28:39 +08:00
afc163
ea1a9f0a3d Fix multiple upload onChange event 2015-09-09 14:58:17 +08:00
afc163
346337936a update multiple upload demo 2015-09-08 18:05:55 +08:00
afc163
f229f86a75 Fix multiple upload 2015-09-08 17:47:07 +08:00
afc163
f0a7167a49 use button[type="button"] to prevent default submit behavior 2015-09-08 16:02:43 +08:00
afc163
ff6697b951 Remove build-in message display in Upload component 2015-09-08 15:38:28 +08:00
yiminghe
af30f55e7a optimize 2015-09-01 11:26:33 +08:00
afc163
42708fe45d Refractor upload API
1. Remove limit urlResolver and onRemove
2. Remove onSuccess onProgress onError
3. Add onChange
4. Add fileList and defaultFileList props
2015-09-01 00:55:49 +08:00
afc163
f50342b2ba use onChange 2015-09-01 00:55:49 +08:00
afc163
03cc7cbffa Change variable name 2015-09-01 00:55:48 +08:00
afc163
e77cca572b Add limit prop for upload 2015-08-31 12:13:55 +08:00
yiminghe
3cc4a374db update docs 2015-08-27 15:57:25 +08:00
陈三
97f7be1832 fixed typo 2015-08-26 22:00:48 +08:00
afc163
1e7cf6d364 button should inside children 2015-08-18 17:05:56 +08:00
afc163
f9b7482b91 customize upload button children by user 2015-08-18 15:33:48 +08:00
afc163
b68ec83e36 优化 upload 实现
1. 使用 Upload.dragger 代替 type
2. 将拖拽上传的内容区域交给用户自己实现
3. 改进 uploadList 的实现方式, 尽量避免使用 Dom 操作
4. 优化样式展现
2015-08-09 18:00:20 +08:00
玄寂
63cf7bb742 feat: add upload component 2015-08-08 23:37:35 +08:00