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
偏右
2b7a60224b
Fix upload ci ( #7849 )
* Fix upload test case
* update delay time for uploading status
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
afc163
475e4ff23d
upgrade eslint-config-airbnb
7 years ago
niko
9dc4102cdd
fix: should trigger onChange before beforeUpload
7 years ago
thegatheringstorm
10f6907da4
Fix: Upload Use object destructuring instead of creating temporary references for onRemove. ( #7726 )
7 years ago
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
This reverts commit 9d2c91598b
.
7 years ago
Wei Zhu
9d2c91598b
Mock rc-trigger
Ref #5522
7 years ago
WingGao
ace985afce
Update upload/interface.tsx ( #7507 )
`response` should be `any`
7 years ago
afc163
0d26b4c972
doc: update Upload API description
7 years ago
afc163
84e561b237
Fix removing wrong item when uid is 0, close #7269
7 years ago
Zheeeng
754966991b
Rename File interface to UploadFile ( #7183 )
* Fix doc missing info
* Rename File interface to UploadFile
7 years ago
Xiaohan Lee
c23c0a6b16
Update docs for Table.render and Upload.onChange ( #7180 )
* Docs: fix invalid link in docs of Table.render
* Docs: add link for "onChange" in docs of Upload.onChange
7 years ago
Zheeeng
fdc8d357ef
Fix doc missing info ( #7175 )
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
Ruslan P
0cdcdfba7b
Update picture-style.md ( #7051 )
7 years ago
afc163
98faa4378c
Make action of Upload optional, close #6890
7 years ago
Benjy Cui
2413c6af61
fix: make loading work with icon only button in button group, close : #6822
7 years ago
Wei Zhu
4960f711c3
docs: Add manual upload demo ( #6823 )
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
peiming
426a35c248
docs: fix Upload[beforeUpload]
8 years ago
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
8 years ago
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
8 years ago
shlice
38a7a87690
feat: enhance handleRemove in Upload ( #5974 )
onRemove will be executed when removing file button is clicked, remove event will be prevented when return value is false.
But, if we want't to popup a confirm dialog, it can't block the execution of onRemove.
So, I add Promise support for onRemove. The return value of onRemove now can be a Promise, and the handleRemove function in Upload can wait for the non-blocking confirm dialog.
8 years ago
afc163
224c46ded9
fix typo
8 years ago
afc163
dbbf09ae95
fix createClass in test
8 years ago
afc163
335eb0c246
Fix style prop of Upload.Dragger
8 years ago
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
jiang
1be1d41cc9
update upload ( #5401 )
8 years ago
natergj
c2cb111f7b
fix: Upload should work with LocaleProvider ( #5388 )
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
Benjy Cui
983474f81c
fix: rename uploadList to UploadList
8 years ago
Benjy Cui
be13831d92
Fix upload ( #5358 )
* docs: add demo to re-produce bug
* fix: dragger should work with form decorator, close : #5334
* test: update snapshot
8 years ago
afc163
b271a94e0a
Fix Upload progress not showing, close #5323
8 years ago
afc163
89ace33480
Upload onChang(file) argument should be immutable, close #5280
8 years ago
afc163
7290e1070b
update code style
8 years ago
afc163
f44220d91b
Fix upload mask style, close #5275
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
afc163
23415a062f
fix upload progressTimer
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
35642ec2a9
update upload demo
8 years ago