denzw
5fb01c8300
修复上传组件卡片样式时,新增加上传图片不能预览的问题 ( #3706 )
2016-11-03 13:43:34 +08:00
Benjy Cui
27708b702c
docs: update docs for upload, ref: #3651
2016-10-31 13:44:13 +08:00
edgji
ea4e98d5f7
docs: add documentation and reference for customRequest ( #3651 )
2016-10-31 13:36:40 +08:00
Benjy Cui
08e21e0a2f
refactor: close : #3490
2016-10-24 16:30:38 +08:00
afc163
1e5264bad7
fix tslint
2016-10-20 22:10:46 +08:00
yiminghe
c2d3f16dfb
update tslint
2016-10-20 19:19:16 +08:00
Benjy Cui
3112b0d7ca
site: support debug mode for demo, close : #3506
2016-10-20 17:45:38 +08:00
Benjy Cui
9ac21d010b
docs: add demo for show image in-place, close : #3319
2016-10-18 15:16:25 +08:00
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
...
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
2016-10-18 11:55:00 +08:00
afc163
e0a986ed71
Update upload document
2016-10-11 15:23:18 +08:00
偏右
8bf99b7773
Fix Upload onRemove and style ( #3331 )
...
* fix onRemove prevent origin behavious, close #3317
* remove onPreview if
* improve upload render props code style
* Fix upload trigger click area, close #3316
2016-10-10 22:38:11 +08:00
Benjy Cui
a40a8e914f
docs: add ref for upload, close : #3171
2016-09-29 15:37:32 +08:00
Benjy Cui
50e978de53
fix: should show all the uploaded files, close : #3113 ( #3117 )
2016-09-22 11:54:36 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +08:00
Benjy Cui
f04b65b25e
fix: should pass style to upload correctly, close : #3072
2016-09-20 15:11:30 +08:00
Benjy Cui
d1b9db9f97
fix: should use rc-calendar@7.1.0
2016-09-19 15:23:49 +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
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
afc163
697b6c7b19
update upload demos
2016-09-18 11:08:54 +08:00
afc163
9e5061acdc
Merge branch "1.x-stable"
2016-09-15 01:25:28 +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
Benjy Cui
cbfc181fa4
fix: should not wrap upload list
2016-09-14 10:21:26 +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
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
afc163
c897243d33
Fix upload beforeUpload, close #3001
2016-09-12 15:19:44 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +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
afc163
bab669d17d
Merge branch "1.x-stable"
2016-09-08 15:17:39 +08:00
ddcat1115
dcd4477bb8
docs: Upload 修正老旧文档 close #2892 ( #2941 )
2016-09-07 10:19:51 +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
363f610d8b
Fix tsc errors beside DatePicker
2016-08-24 16:09:55 +08:00
afc163
77949bb9e3
upgrade eslint-config, close #2811
2016-08-23 21:00:35 +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
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
Eddie Xie
dc62976b39
docs: Fix typos ( #2694 )
2016-08-12 14:16:59 +08:00
afc163
77fa03240b
Merge branch '1.x-stable'
2016-08-03 11:43:43 +08:00
afc163
4bbe2291ef
Fix uploading picture style
2016-08-02 15:05:25 +08:00
afc163
25b3517cc3
Add types for tree-select and upload ( #1846 )
2016-08-01 16:35:01 +08:00
afc163
10a0709b3a
update dragger demo
2016-07-29 14:40: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
yiminghe
3342aae9f3
upgrade
2016-07-19 15:46:00 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
afc163
4954f5d733
Merge branch '1.x-stable'
2016-07-12 13:59:58 +08:00
afc163
129df7dc2a
Fix removed upload item bug, close #2342
2016-07-12 12:09:12 +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
28c470cb37
Merge 1.x-stable
2016-07-09 16:03:47 +08:00
afc163
ec8a0821cd
Fix controlled fileList prop, close #2236
2016-07-09 15:08:39 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
95351bfffa
Merge branch '1.x-stable'
2016-06-27 19:31:38 +08:00
afc163
089f1ae512
update components category name
2016-06-27 18:21:12 +08:00
afc163
2ffa087aa1
Merge branch '1.x-stable'
2016-06-24 14:33:37 +08:00
afc163
dc191a321b
fix for onPreview works only when file.url existed
...
close #2163
2016-06-24 13:35:11 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
afc163
069857a476
update upload style
2016-06-15 19:48:42 +08:00
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
afc163
6f11e1fda0
update upload demo doc
2016-05-25 17:32:59 +08:00
afc163
6c3d00368c
improve upload code style
2016-05-24 17:57:31 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
afc163
664bb8ea08
hide upload button when no children in <Upload />
...
close
https://github.com/ant-design/ant-design/issues/1610#issuecomment-218075160
2016-05-12 17:02:34 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
45921c55e0
upgrade Upload
2016-05-10 17:31:15 +08:00
afc163
4378089b36
Merge branch master into develop-1.0.0
2016-05-05 15:15:59 +08:00
afc163
05b1e5d964
revert update API ( #1543 )
2016-05-05 15:09:53 +08:00
afc163
93faa0d7b8
update ( #1543 )
2016-04-29 15:00:41 +08:00
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
2016-04-29 12:13:27 +08:00
afc163
0ca6a1c24a
css modularize ( #1448 )
...
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
2016-04-27 20:44:36 +08:00
Benjy Cui
20e5146657
docs: add missing detail
2016-04-20 10:55:02 +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
tom
6614fb9746
fix bug
2016-04-07 11:39:23 +08:00
tom
353f2cb004
this未绑定
2016-04-07 11:18:32 +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
794783d1c2
style: enable react/no-multi-comp
2016-03-31 17:46:35 +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
Benjy Cui
fd3406bd03
style: enable react/jsx-no-bind
2016-03-30 17:06:19 +08:00
Bruce Mitchener
0acce38f08
Convert more createClass over to extending Component.
2016-03-29 16:33:37 +07:00
Wei Zhu
4f541794e9
Update rc-upload to 1.9.0
2016-03-28 01:47:39 +08:00
Benjy Cui
5e4786440d
deps: remove object-assign
2016-03-25 18:16:48 +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
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
Qiaosen Huang
d584b20dd8
add onPreview onRemove override on upload.
2016-03-21 14:16:22 +08:00
afc163
f66a257ab9
update upload chinese name
2016-03-16 20:17:35 +08:00
z
598a3615e1
修复上传时的状态传递
...
onstart 时设置的是被封装后的对象的属性,这里直接传 file 的话没有 status/percent 属性.
2016-03-09 17:37:56 +08:00
Benjy Cui
c1659c2ce3
style: update code style to please lint
2016-02-22 10:52:30 +08:00
afc163
5c22e32db8
Add link for uploadItem when file.url is existed, close #1013
2016-02-18 11:43:24 +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
yiminghe
798d15b4f0
update form
2016-01-30 19:00:56 +08:00
Benjy Cui
68b51e298d
style: update code style for space-before-function-paren
2016-01-27 17:00:58 +08:00
Benjy Cui
cd1391e6a2
style: update code style for object-curly-spacing
2016-01-27 17:00:58 +08:00
yiminghe
9c36b900bf
fix(upload): fix default name value
...
do not set value to ''
2016-01-27 16:25:05 +08:00
yiminghe
65b338de2b
fix(upload): fix upload when edit
...
instanceof check error
2016-01-26 19:55:19 +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
kasinooya
12c792147e
Merge develop-0.12.0 into HEAD
2016-01-15 16:11:31 +08:00
kasinooya
a6f68b2d37
fix eslint error
2016-01-15 15:57:41 +08:00
kasinooya
4d0e873c88
Add upload listType: picture-card
2016-01-15 15:56:06 +08:00
afc163
a681ea9eb9
fix fileList demo
2016-01-15 15:41:47 +08:00
afc163
229b0de3c6
upgrade rc-upload to 1.8.0, close #677
2016-01-14 21:15:25 +08:00
Benjy Cui
41ed04e977
style: update code style to please lint
2016-01-14 16:46:38 +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
632cd36e63
chore: suppress warning
2016-01-11 09:49:31 +08:00
Benjy Cui
b72d18fd44
style: update code style to please the fucking lint
2016-01-11 09:49:30 +08:00
Benjy Cui
209170e813
style: update demo code style to please lint
2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413
style: update 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
5476bf1afe
fix previewFile error in uploadList
2015-12-28 13:07:47 +08:00
afc163
b1a136d208
improve uploadList previewFile
2015-12-27 16:00:40 +08:00
afc163
6f42cceb4a
use file.url after thumbUrl
2015-12-27 15:43:49 +08:00
afc163
c2cb6ea1b1
fix previewFile, ref #750
2015-12-27 15:37:17 +08:00
afc163
1f98c85e8a
support preview picture in upload list, close #750
2015-12-27 15:32:37 +08:00
afc163
0bd2ed9378
update upload style
2015-12-14 11:56:00 +08:00
afc163
721c00e925
fix className
2015-12-14 11:45:35 +08:00
afc163
7288dfbaf9
Add picture style upload list
2015-12-13 17:46:06 +08:00
afc163
6b4d7b3622
remove ref in Icon
2015-12-04 15:06:36 +08:00
afc163
16abf46071
Fix markdown eslint errors, update .eslintrc
2015-11-25 18:10:34 +08:00
xiaosheng.lj
871be19528
fix upload multiple #579
2015-11-24 17:00:34 +08:00
afc163
e058e67cb4
fix iconfont
2015-11-20 11:05:34 +08:00
afc163
3797f1adb3
update upload
2015-11-13 16:10:27 +08:00
afc163
b6ff796e71
update upload
2015-11-13 16:09:39 +08:00
xiaosheng.lj
3ea0225d61
feat add hover style
2015-11-11 00:28:05 +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
440f69a800
style color with tint
2015-11-03 16:59:04 +08:00
xiaosheng.lj
0cc8035678
feat add upload progress effect
2015-11-03 16:59:04 +08:00
Haibin Yu
0d2c6b2505
remove state items in uploadList.jsx
2015-10-29 00:06:39 +08:00
afc163
753c01ae18
ES6 syntax for demo code
...
fix antd.notification
2015-10-28 20:55:49 +08:00
Pyiner
776238eda9
fix _target
to target
2015-10-24 15:14:53 +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
094ae9bbbf
update upload document
2015-09-24 19:43:02 +08:00
afc163
961b990f07
upgrade rc-upload to 1.6.x
2015-09-21 11:34:14 +08:00
afc163
6854a83989
get filename
2015-09-20 13:56:14 +08:00
afc163
7d82eccb41
update upload list logic
2015-09-19 17:05:41 +08:00
afc163
6474cb378b
Fix upload try logic
2015-09-18 23:31:07 +08:00
afc163
f266298553
update upload
2015-09-16 20:02:29 +08:00
afc163
74d8ecb1fd
Fix IE9 file.status problem
2015-09-16 18:48:22 +08:00
afc163
fcc8c26166
Add error status for upload file item
2015-09-14 00:28:39 +08:00
afc163
d2fac30c7f
update upload index.md
2015-09-09 22:41:51 +08:00
afc163
ea1a9f0a3d
Fix multiple upload onChange event
2015-09-09 14:58:17 +08:00
afc163
897315784d
Fix info.fileList in multiple upload
2015-09-08 18:26:18 +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
afc163
691b0147b1
update eslintrc and fix code
2015-09-01 16:19:39 +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
afc163
f101c3231e
Add urlResolver, support display remote file url in list
...
拿到请求回调数据里的远程文件地址,展示在文件列表中方便下载
2015-08-28 16:12:19 +08:00
yiminghe
065c16a95f
fix download
2015-08-28 10:45:54 +08:00
yiminghe
30efa794d7
fix download
2015-08-27 17:51:21 +08:00
yiminghe
f9450f14df
remove file on file failture
2015-08-27 17:35:10 +08:00
yiminghe
97ac458507
add res for upload
2015-08-27 16:53:53 +08:00
yiminghe
3cc4a374db
update docs
2015-08-27 15:57:25 +08:00
yiminghe
c2b4b60267
add onRemove for upload
2015-08-27 15:46:23 +08:00
yiminghe
61bd8abab0
add onRemove for upload
2015-08-27 15:45:38 +08:00
陈三
97f7be1832
fixed typo
2015-08-26 22:00:48 +08:00
afc163
bdf13797cb
update documentation
2015-08-25 20:29:34 +08:00
afc163
f97e0c6c03
beta7
2015-08-24 21:16:00 +08:00
afc163
fdf19520d6
Add component type
2015-08-22 20:16:24 +08:00
afc163
7ae4b4ad76
use global index as upload item key
2015-08-22 14:45:03 +08:00
afc163
e23372b6e8
update upload animation code style
2015-08-21 17:37:54 +08:00
jljsj
ab09f9e537
add tag and uploadlist motion
2015-08-21 17:12:42 +08:00
afc163
1fd8703767
remove file.uid
2015-08-21 16:43:18 +08:00
afc163
727710c1eb
Fix upload close file item bug
2015-08-21 16:19:28 +08:00
afc163
10284a997c
Fix upload bug in safari and ie8/9, ref #138
2015-08-21 14:46:12 +08:00
翰文
c1b409662d
chore: 更新upload文档和依赖版本
2015-08-18 17:31:37 +08:00
afc163
322e09210e
close button should be visible at downloading status
2015-08-18 17:06:23 +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
ce5d7b9d9c
update rc-upload to 1.3.0, modify onError arguments
2015-08-14 14:17:22 +08:00
afc163
9f1b188f87
fix remove logic in upload
2015-08-09 18:23:18 +08:00
afc163
f9157ab8c4
code style
2015-08-09 18:13:46 +08:00
afc163
dae05a55c4
merge
2015-08-09 18:05:50 +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
afc163
9a200ec782
update text
2015-08-05 21:18:34 +08:00
afc163
f62aa38ee8
Add components index.md
2015-08-01 14:08:04 +08:00
yiminghe
19e2c2700a
stable
2015-07-30 21:55:16 +08:00
afc163
27353ca9b9
三期组件挖坑
2015-07-22 11:06:55 +08:00