zy410419243
f38323aeca
refactor: remove unexpected export
6 years ago
zy410419243
e6c1fd3385
test: update cases for UploadList
6 years ago
偏右
779ba73528
🐛 fix upload instance cannot exposed in TypeScript ( #15090 )
close #14439
6 years ago
afc163
8fc3cb8d24
🐛 Fix always uploading if upload button is hidden during
close #14779
caused by the previous fix in #14298
reverted and change another way to fix #14299
6 years ago
afc163
d3e16b2dc6
🐛 Remove upload control if there is no trigger
in case of upload control triggered by label in some situations
close #14298
6 years ago
Hal-pan
692392d320
fix test case
6 years ago
Hal-pan
7c5083f4fa
add test case
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
bukas
814980d9c6
fix: upload blob preview && upload beforeUpload doc ( #13528 )
* fix: upload not preview blob
* fix: test && readme
* fix: upload promise
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
ycjcl868
44812cf5e8
✅ upload utils test
6 years ago
afc163
6b2c0a59b3
🐛 Fix upload thumbnail icon broken styles
close #13333
6 years ago
afc163
ddb331a6a9
💚 Fix snapshot
6 years ago
偏右
a4c1bccd2a
Fix upload and mention test cases ( #12586 )
6 years ago
afc163
efb23c1525
Fix linkProps in upload fileList
1. should support json string format
2. should be able to override props like rel, target, title and etc
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
HeskeyBaozi
24568f61ff
use the whole svg icons
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago
HeskeyBaozi
74798b8911
upgdate test snapshot
6 years ago
HeskeyBaozi
d6131fe18d
update test snapshot
6 years ago
HeskeyBaozi
0c9465aaf9
upgrade icons library
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
HeskeyBaozi
f275f3090a
update Icon api
6 years ago
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
HeskeyBaozi
0a8f964935
update test snap shot
6 years ago
张聪
8a9fbcb5e4
Migrate lifecycle method: Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm ( #11682 )
* Upload lifecycle method migrate
* CheckboxGroup lifecycle method migrate
* Layout.Sider lifecycle method migrate
* Tooltip lifecycle method migrate
* Popconfirm lifecycle method migrate
* test Spin as a controlled component
6 years ago
afc163
f2ce60cb6c
fix test case failed often
6 years ago
JamesYin
583abe8dbb
compatible with thumbnail which url has no extension ( #11684 )
* compatible with thumbnail which url has no extension
* restore newline #11684
6 years ago
Benoît Latinier
2b72149a50
Add strokeLinecap attribute to progress component
6 years ago
Wu Haotian
57646f24db
fix: correct typing of RcFile. close #10331
6 years ago
HeskeyBaozi
ee16585b6d
update test cases
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
HeskeyBaozi
8df086f022
update test cases
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
愚道
653ec40b30
update test snapshot
7 years ago
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
7 years ago
afc163
fd96967c87
upgrade rc-upload to 2.5
- support `directory` close #7315
- action can be a function return Promise
7 years ago
Junbin Huang
e1ba74e5fc
fix: still keep order when upload fails ( #10794 )
7 years ago
Wei Zhu
87163dfcd6
tests: mock xhr request
Close #10342
7 years ago
afc163
89ed0dcb35
fix autoUpdateProgress percent and add test case
7 years ago
afc163
70a42545e3
fix fileToObject, close #10319
7 years ago
afc163
e97977b891
Fix upload onChange arg type when beforeUpload return false, close #10293
7 years ago
Wu Haotian
7eb2792072
fix typing for `Upload.beforeUpload` ( #10059 )
* fix typing for `Upload.beforeUpload`
fix #9775
* add RcFile interface, fix tests
* fix typing of `Upload.onStart`
7 years ago
afc163
3b00cf8971
Fix image when file.url has query or hash
close #10102
7 years ago
afc163
e1a5063daf
test: fix ci warning
7 years ago
偏右
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