zy410419243
f38323aeca
refactor: remove unexpected export
6 years ago
zy410419243
e6c1fd3385
test: update cases for UploadList
6 years ago
Barry
f3e6140c0d
Support JD image type `dpg`
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
bukas
814980d9c6
fix: upload blob preview && upload beforeUpload doc ( #13528 )
* fix: upload not preview blob
* fix: test && readme
* fix: upload promise
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
6b2c0a59b3
🐛 Fix upload thumbnail icon broken styles
close #13333
6 years ago
ztplz
6ad23c370e
Fix CI
6 years ago
ycjcl868
b2e2607521
fix: upload list preview file check
6 years ago
ycjcl868
ada43adc65
🐛 fix uploadList thumbUrl image type check
6 years ago
afc163
efb23c1525
Fix linkProps in upload fileList
1. should support json string format
2. should be able to override props like rel, target, title and etc
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
JamesYin
583abe8dbb
compatible with thumbnail which url has no extension ( #11684 )
* compatible with thumbnail which url has no extension
* restore newline #11684
6 years ago
sliwey
450a497412
fix: upload preview can't show image when the image file use uppercase extension
1.fix: upload preview can't show image when the image file use uppercase extension.
2.improve: remove unnecessary escape character.
7 years ago
刘红
ee4f788ae0
添加BMP的支持 ( #10110 )
7 years ago
afc163
3b00cf8971
Fix image when file.url has query or hash
close #10102
7 years ago
Ed Moore
31e50e50b6
Fix types ( #10063 )
* Fix types
Fix https://github.com/ant-design/ant-design/issues/8796
* Fix exported types
7 years ago
偏右
a9376ef1ca
Fix image url display with non-image extention in Upload ( #9936 )
now we treat url following below rules:
1. `data:image..` => image
2. `http://xxx.com/xxxx .(webp|svg|png|gif|jpg|jpeg)` => image
3. `http://xxx.com/xxx.zip ` other extensions => non-image
4. `data:application..` other minetypes in base64 text => non-image
5. `http://xxx.com/xxx ` without any extensions => image
close #9835
close #9681
ref #9621
7 years ago
Wei Zhu
5336bd688f
Fix type error
7 years ago
王集鹄
decb6d8390
Compatible with non-image format file preview in UploadList ( #9621 )
* Compatible with non-image format file preview in UploadList
* Add unit test about Upload List should non-image format file preview
7 years ago
afc163
626ebf2063
Fix upload list update logic when beforeUpload return false
close #8020 #8779 #9248 #9191
ref #8036
7 years ago
Wei Zhu
45135e4ec8
Improve upload type definition.
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
niko
70491fe4ad
fixed https://github.com/ant-design/ant-design/pull/7733 ( #7914 )
7 years ago
thegatheringstorm
10f6907da4
Fix: Upload Use object destructuring instead of creating temporary references for onRemove. ( #7726 )
7 years ago
Zheeeng
754966991b
Rename File interface to UploadFile ( #7183 )
* Fix doc missing info
* Rename File interface to UploadFile
7 years ago
afc163
a329d3d39b
Fix file.response type checking, ref #6818
7 years ago
afc163
d339e628ed
Fix upload default error message, close #6818
7 years ago
jiang
1be1d41cc9
update upload ( #5401 )
8 years ago
Benjy Cui
983474f81c
fix: rename uploadList to UploadList
8 years ago
afc163
b271a94e0a
Fix Upload progress not showing, close #5323
8 years ago
Minwe LUO
bbe294e96c
feat: allow override onProgress on Upload ( #5260 )
@see https://github.com/react-component/upload/issues/33#issuecomment-284644039
8 years ago
jiang
8ca2bfd12a
upload ( #5210 )
* fix upload firefox delete anim, update list animate
* update picture cssName
* remove note
* update animate Name
* refactor upload animation code
* refactor upload dom structure
* update upload demo snapshots
8 years ago
afc163
0a35197a35
Fix long name of upload item style
8 years ago
Wei Zhu
6eca8b4ad1
Add locale support to Upload ( #5094 )
8 years ago
afc163
5603fa0088
Fix upload error file style, close #4810
8 years ago
afc163
f4021d5255
Fix default locale in Upload, close #4697
8 years ago
afc163
a81bf8f73e
use file.thumbUrl for <img /> in priority, close #4653
8 years ago
偏右
aa89addcc2
Improve upload list ( #4516 )
* support prevent removing when return value is false, close #4456
* Add showRemoveIcon & showPreviewIcon into showUploadList
close #4384 & #4351
* fix typo
8 years ago
Wei Zhu
bd55d21f83
style: Fix jsx-no-multiline-js ( #3994 )
* Fix jsx-no-multiline-js
* TimePicker addon test
* Transfer search test
8 years ago
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
8 years ago
afc163
e62dc08d2c
improve preview icon display logic, #3644
8 years ago
afc163
e552880c32
update upload detail
8 years ago
denzw
5fb01c8300
修复上传组件卡片样式时,新增加上传图片不能预览的问题 ( #3706 )
8 years ago
Benjy Cui
08e21e0a2f
refactor: close : #3490
8 years ago
偏右
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
8 years ago
Benjy Cui
50e978de53
fix: should show all the uploaded files, close : #3113 ( #3117 )
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago