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
afc163
29adc0a85e
fix upload snapshot
8 years ago
afc163
d502f089dd
use jsonplaceholder, close #5202
8 years ago
afc163
0a35197a35
Fix long name of upload item style
8 years ago
afc163
a82ab5fc4b
Fix setState on unmounted Upload, close #5162
8 years ago
Wei Zhu
6eca8b4ad1
Add locale support to Upload ( #5094 )
8 years ago
afc163
c64cf9f086
fix upload error item name color
8 years ago
feng zhi hao
88100a29a3
chore: fix ts definition of Upload ( #5041 )
8 years ago
afc163
61a3d66a02
Add test case for upload
8 years ago
bang
a4acf1f66e
docs: Rewrite Upload demos to ES6 component
8 years ago
afc163
90daeb9a2b
Adjust upload demo
8 years ago
afc163
5603fa0088
Fix upload error file style, close #4810
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
8 years ago
afc163
0eb5c689a3
remove type="ghost" from demo
8 years ago
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
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
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
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
afc163
024e398ad0
Fix lint for latest eslint-config-airbnb
8 years ago
偏右
d811ebee5c
New color system ( #4426 )
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago