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
叶枫
a31deb7f5d
fix: 修复点击下载按钮会执行预览方法 ( #19268 )
* fix: 修复点击下载按钮会执行预览方法
* chore: test
* chore: test
5 years ago
骗你是小猫咪
8ffaeb8cba
Docs: upload with aliyun oss ( #19054 )
* docs: upload with aliyun oss
* add before upload relate data
* test: lint fail
* test: update Snapshot
* docs: review change
* test: lint fail
* handle oss policy expired
* fix: lint fail
* optimize docs
* test: lint fail
* test: upload snapshot
5 years ago
orzyyyy
c4283e4fff
test: update snapshots for rc-upload bump to 2.8.0
5 years ago
啸生
71b53b7175
master to feature ( #19062 )
* ✅ increase upload test cov
* chore: replace resizeObserver with `rc-resize-observer` (#19057 )
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
* changelog (#19056 )
* Release 3.23.5
5 years ago
afc163
e5aea71b99
✅ increase upload test cov
5 years ago
二货机器人
5aa32a3f17
chore: Put origin img size to fill the box ( #18990 )
5 years ago
Zhuo Chen
17816b963e
feat: upload should not be aborted until handleRemove is resolved as true ( #18937 )
5 years ago
plainnany
068556c029
docs: update props data description for Upload ( #18915 )
5 years ago
afc163
882225f65b
✅ fix eslint
5 years ago
afc163
d72f825f43
🐛 revert to class component to avoid ref warning
close #18707
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
二货机器人
e5d644f71a
Revert "fix: Drapper mulitple should work" ( #18626 )
This reverts commit 06d7f0deec
.
5 years ago
zombiej
06d7f0deec
fix: Drapper mulitple should work
5 years ago
afc163
a51f7a0508
✅ test unmount
5 years ago
二货机器人
19cc7e7cee
chore: Add warning when use `value` of Switch, Checkbox, Upload ( #18497 )
* chore: Add warning when use `value` of Switch, Checkbox, Upload
* clean up
5 years ago
李环冀
743ec294ef
fix upload newline bug ( #18423 )
5 years ago
偏右
c0f98beb4a
🐛 support `jfif` image in Upload ( #18322 )
close #18183
5 years ago
shao
b4a228c4f4
perf: replace all test suite delay func to common test util sleep func
5 years ago
afc163
2bddeef1e5
🆙 upgrade eslint-config-airbnb
5 years ago
zombieJ
286538ff71
chore: update ts define ( #18196 )
5 years ago
偏右
cf44d44f0f
🐛 Fix IE9 throw File not defined ( #18115 )
close #18109
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
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
24bfcacc38
fix: Upload can not click in Form.Item ( #17897 )
5 years ago
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ( #17816 )
* ConfigProvider support locale
* update docs
* update category
* clean up
* moving locale
* update check script
* update related code
* add test case
* demo link
* update doc
* hide one rule of md with eslint
* update error link
5 years ago
afc163
518bf8c929
✅ fix snapshot
5 years ago
afc163
5742ae221c
⚡ improve upload list layout style
5 years ago
veveue
913d19113f
fix upLoadList style
6 years ago
afc163
37784bc8a2
✅ fix snapshot
5 years ago
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
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
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 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
mingyan.yu
1eb46ebaac
feat: add disable style to upload component
6 years ago
veveue
59e2f072c2
upload disabled remove
6 years ago
zombiej
a9b5acfba9
update preview demo
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
偏右
2d8396bad7
🐛 Avoid disabled Upload being triggered by label ( #16483 )
close #16478
6 years ago
afc163
b780070351
💄 prittier all files
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
afc163
bde2eb36b3
🎬 use new file upload mock API
https://www.mocky.io/
6 years ago
afc163
8082b4c2cf
⚡ Improve upload demo
close #16375
6 years ago