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
natergj
c2cb111f7b
fix: Upload should work with LocaleProvider ( #5388 )
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
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
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
5603fa0088
Fix upload error file style, close #4810
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
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
Benjy Cui
f5cc937c8f
fix: Upload should work without children
8 years ago
afc163
f77d568322
fix upload prefixCls
8 years ago
Wei Zhu
d20572bdab
test: demo snapshot testing ( #3916 )
* Run snapshot testing against all demos
* Split demo tests
* ignore coverage folder
* Upgrade antd-demo-jest
* enable cache
* intergate with coveralls.io
* Add node test
* Set worker to 2
https://github.com/facebook/jest/issues/1742
* config coverage
* Set default supportServerRender to true
8 years ago
Benjy Cui
08e21e0a2f
refactor: close : #3490
8 years ago
afc163
1e5264bad7
fix tslint
8 years ago
yiminghe
c2d3f16dfb
update tslint
8 years ago
Benjy Cui
9ac21d010b
docs: add demo for show image in-place, close : #3319
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
bd7e9f00c0
style: update code style
8 years ago
Benjy Cui
f04b65b25e
fix: should pass style to upload correctly, close : #3072
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
afc163
10e1b8b269
Fix some ts errors
8 years ago
afc163
25b3517cc3
Add types for tree-select and upload ( #1846 )
8 years ago
afc163
ea61aa3cab
upload code style
8 years ago
yiminghe
b140856836
add class
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
afc163
664bb8ea08
hide upload button when no children in <Upload />
close
https://github.com/ant-design/ant-design/issues/1610#issuecomment-218075160
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
9 years ago
afc163
8116e775ff
upgrade devDeps and fix some eslint problems
9 years ago
tom
6614fb9746
fix bug
9 years ago
tom
353f2cb004
this未绑定
9 years ago
Benjy Cui
794783d1c2
style: enable react/no-multi-comp
9 years ago
Bruce Mitchener
0acce38f08
Convert more createClass over to extending Component.
9 years ago
Benjy Cui
5e4786440d
deps: remove object-assign
9 years ago
afc163
fff4e01f14
remove JSON format limit, close #1248
9 years ago
Bruce Mitchener
11c0a6a203
Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.
The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
9 years ago
Qiaosen Huang
d584b20dd8
add onPreview onRemove override on upload.
9 years ago
z
598a3615e1
修复上传时的状态传递
onstart 时设置的是被封装后的对象的属性,这里直接传 file 的话没有 status/percent 属性.
9 years ago
Benjy Cui
c1659c2ce3
style: update code style to please lint
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago