偏右
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
afc163
e6b3490a8e
fix test case
7 years ago
Wei Zhu
5336bd688f
Fix type error
7 years ago
Wei Zhu
5ab1c4ce53
Revert "Convert file object"
This reverts commit ee0bf41672
.
7 years ago
Wei Zhu
ee0bf41672
Convert file object
Close #9775
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
e071002fae
use lodash
7 years ago
afc163
15e69d09ca
Fix test cases
7 years ago
偏右
8226ede38e
Fix test case for new jsdom ( #9527 )
* Fix test case for new jsdom
* use setTimeout as raf in jest jsdom
* Fix cancelAnimationFrame
* Add comment for facebook/jest#5147
* longer timeout
* fix snap
* upgrade antd-tools
7 years ago
afc163
626ebf2063
Fix upload list update logic when beforeUpload return false
close #8020 #8779 #9248 #9191
ref #8036
7 years ago
afc163
c9b2efc9e8
Add more test cases for Upload
7 years ago
Wei Zhu
179528af50
Don't change fileList when beforeUpload returns false ( #8299 )
Close #8036
7 years ago
Wei Zhu
cbaf54415e
style: Use single quote
7 years ago
Wei Zhu
03e4411589
Improve upload type definition
7 years ago
Wei Zhu
45135e4ec8
Improve upload type definition.
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Wei Zhu
0c7ce9db17
Use props
Related #7706
7 years ago
afc163
d30e398859
Fix upload.test.js
7 years ago
afc163
e2bff100bd
Fix upload style
7 years ago
Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
ea926fecaf
also resolve conflicted file
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
ddcat1115
c9bc8d7095
fix Upload ci
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
afc163
4ab7c648ce
Fix upload loading
7 years ago
niko
70491fe4ad
fixed https://github.com/ant-design/ant-design/pull/7733 ( #7914 )
7 years ago
afc163
ad4d5ce18a
Fix dragger background
7 years ago
afc163
c5ffc3b4f0
Fix upload and badge styles
7 years ago
afc163
dfb3b4136b
Fix snap
7 years ago
afc163
26e416c364
Tweak style
7 years ago
Wei Zhu
e6b1ba6a28
Mock requests
7 years ago
偏右
43362de756
Fix beforeUpload will stop uploading when return ( #7870 )
value is undefined
it should be same as rc-upload
7 years ago
偏右
b77cc6392e
Improve upload status test case ( #7869 )
* Add some companies
* test: generate snapshot in upload onChange
* change action
* upgrade travis node version
* fix ci
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
7 years ago
afc163
278ae9b9c7
Fix upload ci
7 years ago
afc163
064afd9b85
fix upload ci
7 years ago
偏右
2b7a60224b
Fix upload ci ( #7849 )
* Fix upload test case
* update delay time for uploading status
7 years ago
afc163
fd7c90fb5a
update upload snap file
7 years ago
afc163
8feaf83003
fix upload test
7 years ago
afc163
190bebd65f
Fix upload snapshot
7 years ago
afc163
5a5bb9c3a0
Fix upload snapshot
7 years ago
afc163
b437233467
Fix upload picture loading style
7 years ago
afc163
c3f1d0bba6
Add test case for upload
7 years ago
Wei Zhu
0d572c72a9
Add test for 9a5894c
9a5894c46e
7 years ago
afc163
9a5894c46e
data should be call when beforeUpload promise resolved, close #7833
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
afc163
475e4ff23d
upgrade eslint-config-airbnb
7 years ago
niko
9dc4102cdd
fix: should trigger onChange before beforeUpload
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago