Commit Graph

284 Commits

Author SHA1 Message Date
afc163
0d26b4c972 doc: update Upload API description 2017-08-24 18:37:26 +08:00
afc163
84e561b237 Fix removing wrong item when uid is 0, close #7269 2017-08-20 15:39:25 +08:00
Zheeeng
754966991b Rename File interface to UploadFile (#7183)
* Fix doc missing info

* Rename File interface to UploadFile
2017-08-12 13:56:57 +08:00
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
2017-08-11 17:05:58 +08:00
Zheeeng
fdc8d357ef Fix doc missing info (#7175) 2017-08-11 12:39:26 +08:00
afc163
a329d3d39b Fix file.response type checking, ref #6818 2017-08-08 17:18:55 +08:00
afc163
d339e628ed Fix upload default error message, close #6818 2017-08-08 13:34:24 +08:00
Ruslan P
0cdcdfba7b Update picture-style.md (#7051) 2017-08-01 18:22:55 +08:00
afc163
98faa4378c Make action of Upload optional, close #6890 2017-07-19 20:28:18 +08:00
Benjy Cui
2413c6af61 fix: make loading work with icon only button in button group, close: #6822 2017-07-14 15:26:55 +08:00
Wei Zhu
4960f711c3 docs: Add manual upload demo (#6823) 2017-07-14 15:00:14 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign (#6677) 2017-07-03 16:57:11 +08:00
peiming
426a35c248 docs: fix Upload[beforeUpload] 2017-06-06 21:51:27 +08:00
Graeme Yeates
d8d17a6401 Seperate @active-item-bg into 2 variables 2017-05-03 10:57:14 -04:00
Graeme Yeates
4eb2855871 Add @active-item-bg to control hover and active states 2017-05-02 11:05:28 -04:00
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.
2017-05-02 16:31:39 +08:00
afc163
224c46ded9 fix typo 2017-04-30 18:47:15 +08:00
afc163
dbbf09ae95 fix createClass in test 2017-04-27 21:12:23 +08:00
afc163
335eb0c246 Fix style prop of Upload.Dragger 2017-04-13 17:33:08 +08:00
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
2017-04-12 02:22:05 +05:30
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
jiang
1be1d41cc9 update upload (#5401) 2017-03-20 16:44:29 +08:00
natergj
c2cb111f7b fix: Upload should work with LocaleProvider (#5388) 2017-03-20 15:20:15 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
983474f81c fix: rename uploadList to UploadList 2017-03-17 12:07:26 +08:00
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
2017-03-17 11:47:05 +08:00
afc163
b271a94e0a Fix Upload progress not showing, close #5323 2017-03-16 13:30:09 +08:00
afc163
89ace33480 Upload onChang(file) argument should be immutable, close #5280 2017-03-14 14:21:01 +08:00
afc163
7290e1070b update code style 2017-03-14 14:04:40 +08:00
afc163
f44220d91b Fix upload mask style, close #5275 2017-03-13 11:16:22 +08:00
Minwe LUO
bbe294e96c feat: allow override onProgress on Upload (#5260)
@see https://github.com/react-component/upload/issues/33#issuecomment-284644039
2017-03-10 19:18:05 +08:00
afc163
23415a062f fix upload progressTimer 2017-03-10 15:14:37 +08:00
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
2017-03-08 18:02:15 +08:00
afc163
35642ec2a9 update upload demo 2017-03-08 14:42:34 +08:00
afc163
29adc0a85e fix upload snapshot 2017-03-08 12:20:16 +08:00
afc163
d502f089dd use jsonplaceholder, close #5202 2017-03-08 12:17:46 +08:00
afc163
0a35197a35 Fix long name of upload item style 2017-03-08 12:11:31 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
afc163
a82ab5fc4b Fix setState on unmounted Upload, close #5162 2017-03-03 20:19:56 +08:00
Wei Zhu
6eca8b4ad1 Add locale support to Upload (#5094) 2017-02-28 18:43:22 +08:00
afc163
c64cf9f086 fix upload error item name color 2017-02-27 14:18:00 +08:00
feng zhi hao
88100a29a3 chore: fix ts definition of Upload (#5041) 2017-02-24 16:06:57 +08:00
afc163
61a3d66a02 Add test case for upload 2017-02-22 16:07:31 +08:00
bang
a4acf1f66e docs: Rewrite Upload demos to ES6 component 2017-02-19 20:50:06 +07:00
afc163
90daeb9a2b Adjust upload demo 2017-02-19 01:39:41 +08:00
afc163
5603fa0088 Fix upload error file style, close #4810 2017-02-15 20:58:40 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
偏右
75a4b06e44 Unified border radius, close #4772 (#4773) 2017-02-08 14:21:29 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00