Hossein Ahmadian-Yazdi
214458931d
Gets the XMLHttpRequest Object in Onchange function ( #19539 )
5 years ago
afc163
53efaa89a5
⚡ support Upload method
5 years ago
Ender Lee
593cfe8950
fix(Upload): add interface field ( #19485 ) ( #19496 )
5 years ago
Sagar Jain
25927c6a41
Improve typing of `UploadFile` interface
UploadFile interface made generic type so that a user can define a strongly typed response object if needed
5 years ago
David Broder-Rodgers
3f037b6d71
Improve types for customRequest prop on Upload component
5 years ago
叶枫
f659d23d22
feat: upload add download icon ( #18664 )
* feat: upload add download icon
* feat: clear up
* feat: log
* empty
* feat: 理解错误
* feat: test
* test
* feat: clean up
* Update components.test.js.snap
* Update demo.test.js.snap
* Update demo.test.js.snap
* Update demo.test.js.snap
* Update demo.test.js.snap
* Update work-with-us.zh-CN.md
* feat: clean up
* fix: showDownloadIcon=false 24px
* fix: More rigorous
* fix: test
* fix: test
* fix: [] key
* fix: hover css
* fix: test
5 years ago
kanweiwei
7ad1068006
fix transformFileHandler ts def
5 years ago
Jinke Li
0240d126ec
feat(Upload): add transformFile option for transform file before request ( #18009 )
* feat: add transformFile optionfor transform file before request
* feat: bump rc-upload 2.7.0
* feat(Upload): optimize doc
5 years ago
zombieJ
b5143df1a4
fix: Upload preview should work with Blob ( #17392 )
* fix: Upload preview should work with Blob
* rm only
5 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
ztplz
bd0479b30b
Remove useless type
6 years ago
DiamondYuan
c7bc6b743c
fix: fix type of action in UploadProps
6 years ago
DiamondYuan
fa5d5e0a96
fix: fix type of RcFile
6 years ago
DiamondYuan
81da6e90d4
fix: add webkitRelativePath ( #16850 )
6 years ago
Christophe Hurpeau
acaae5c850
Upload prop onRemove: fix action
d0cf0eecee (api)
6 years ago
Christophe Hurpeau
2d986ba2c2
Upload prop onRemove: allow Promise as return type
6 years ago
陈帅
785c132262
meger feature to master ( #16421 )
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
6 years ago
信鑫-King
59856a093b
fix: Upload types ( #16360 )
* fix: Upload types
* fix: ci
* fix: ci
* fix: ci
* fix: ci
6 years ago
zombieJ
c4283ebe72
feat: Upload support customize previewFile ( #15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
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
Tom Xu
0b9d00a0ad
Upload add props openFileDialogOnClick
6 years ago
苏秦
3ffc7f6ac2
Upload: remove necessary signatures
6 years ago
董天成
6203298f32
Fix typescript compile error ( #11709 )
6 years ago
Wu Haotian
57646f24db
fix: correct typing of RcFile. close #10331
6 years ago
afc163
2f81349c21
fix error in typescript@3.x
6 years ago
afc163
fd96967c87
upgrade rc-upload to 2.5
- support `directory` close #7315
- action can be a function return Promise
7 years ago
Daniel Gomez
3a5fce7256
Fix UploadFile's lastModifiedDate property name ( #10315 )
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
Ed Moore
31e50e50b6
Fix types ( #10063 )
* Fix types
Fix https://github.com/ant-design/ant-design/issues/8796
* Fix exported types
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
Wei Zhu
03e4411589
Improve upload type definition
7 years ago
Wei Zhu
45135e4ec8
Improve upload type definition.
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
niko
70491fe4ad
fixed https://github.com/ant-design/ant-design/pull/7733 ( #7914 )
7 years ago
WingGao
ace985afce
Update upload/interface.tsx ( #7507 )
`response` should be `any`
7 years ago
Zheeeng
754966991b
Rename File interface to UploadFile ( #7183 )
* Fix doc missing info
* Rename File interface to UploadFile
7 years ago
afc163
98faa4378c
Make action of Upload optional, close #6890
7 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
Wei Zhu
6eca8b4ad1
Add locale support to Upload ( #5094 )
8 years ago
feng zhi hao
88100a29a3
chore: fix ts definition of Upload ( #5041 )
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
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
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
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
afc163
10e1b8b269
Fix some ts errors
8 years ago