Eric Bonow
32040fb996
feat(upload): add onDrop ( #30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
4 years ago
Kermit
dd88e30586
fix(upload): beforeUpload type definition ( #30351 )
* fix(upload): beforeUpload type definition
* chore: optimize test case
* chore: update test
4 years ago
Kermit
4ccbf1fd0f
fix(upload): UploadFile type definition ( #30343 )
4 years ago
二货机器人
2140e8105b
Revert "chore: Upload BugContext ( #30250 )" ( #30273 )
This reverts commit c82eea7114
.
4 years ago
二货机器人
c82eea7114
chore: Upload BugContext ( #30250 )
* chore: BugContext
* update comment
* only inject uploading fileList
4 years ago
Kermit
1f1aa86441
fix(upload): should work correctly when url of file is null ( #30215 )
* fix(upload): should work correctly when url of file is null
* fix: lint
4 years ago
wangao
e4e5cc66e9
fix(upload): `file` in `fileList` should get `uid` at first ( #30087 )
* docs: delete info log in tree examples
* fix: make check-ts-demo work
* fix(upload): fileList should add uid at first
* revert(docs): revert delete log(info)
* style: delete unused test utils
4 years ago
二货机器人
8e885a7e08
fix: Not try to modify lock file ( #29944 )
4 years ago
zombiej
a1baecbd2f
test: Always wait for motion ended
4 years ago
Kermit
7fdfa4e64d
fix(upload): beforeUpload type declaration ( #29766 )
* fix(upload): beforeUpload type declaration
* chore: update doc
4 years ago
陈帅
c673cde7de
merge Feature into master ( #29758 )
* feat: add onCancel and onEnd option for editable (#29615 )
* feature: add onCancel and onEnd option for editable
* doc: editable
* doc: add EN doc
* optimize: code
Co-authored-by: chenliang <chenliang9@xiaomi.com>
* feat: add parent class for different notification types (#29634 )
close #29417
* refactor: Upload use origin behavior (#29737 )
* refactor: Fallback of events
* test: Fix test case
* fix: Start file update logic
* fix: remove status update
* test: Remove wrapTest
* test: Fix test case
* chore: bump rc-upload
* docs: About desc
* feat: tab support moreIcon (#29744 )
* feat: Tabs support moreIcon
* docs: Tabs support moreIcon
* style: lint
* docs: add english document
* Update components/tabs/index.zh-CN.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* Update components/tabs/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* Update components/tabs/index.zh-CN.md
* Update components/tabs/index.en-US.md
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jueinin <1014397160@qq.com>
Co-authored-by: chenliang <chenliang9@xiaomi.com>
Co-authored-by: 不吃猫的鱼 <michael2ib1989@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
4 years ago
二货机器人
37bff5d5fd
refactor: Upload use origin behavior ( #29737 )
* refactor: Fallback of events
* test: Fix test case
* fix: Start file update logic
* fix: remove status update
* test: Remove wrapTest
* test: Fix test case
* chore: bump rc-upload
* docs: About desc
4 years ago
二货机器人
a4a009cb62
fix: Lodash can clone FileProxy ( #29718 )
* fix: Lodash can clone FileProxy
* fix: Proxy content
* clean up
* fix lint
* test: get keys
* test: Update coverage
* back of demo
4 years ago
二货机器人
ca52defcbf
fix: Internal upload list should always keep ( #29702 )
4 years ago
afc163
9973228fe1
chore: remove console.log
4 years ago
二货机器人
ef4b67d4c4
fix: onChange should always return proxy file ( #29627 )
4 years ago
二货机器人
3c7030acb9
fix: Upload `originFileObj` not correct ( #29614 )
* fix: Upload should always return new file proxy
* test: Test case
4 years ago
二货机器人
dc9535acdc
test: Back of Upload test coverage ( #29524 )
4 years ago
二货机器人
79f8fece4b
refactor: Upload use batch start ( #29474 )
* chore: Update Upload version
* useMergedStatus
* fix file list parser
* fix list replacement
* bump rc-upload
* add Upload.LIST_IGNORE
* support LIST_IGNORE
* fix uploadList batch test
* test: fix batch case test case changed
* test: Finish test case
* fix: Not change uid if exist
* use proxy
* fix proxy
* fix ts
* part test case check
* more test back
* back of test all
* update test case
* more unmount
* adjust test cae
* add unmount
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
4 years ago
偏右
9daf50f3a9
test: fix codecov 100% ( #28892 )
4 years ago
二货机器人
38bead8724
chore: Auto fill uid ( #28832 )
* chore: Auto fill uid
* docs: More desc
4 years ago
mumiao
2f5d3f0418
fix: upload fileList with immuable data ( #28636 )
* fix: upload fileList with immuable data
* perf: optimize code
* ci: fix lint error
* feat: reduce cycles counts
* feat: reduce cycles counts
* ci: fix lint error
* ci: fix lint error
4 years ago
二货机器人
d18e9b99d0
feat: Upload support `maxCount` ( #28367 )
* feat: Support maxCount
* docs: Add demo
* test: Add test case
4 years ago
二货机器人
e63856ba9c
docs: Remove Upload `transformFile` prop ( #28365 )
* chore: Remove `transformFile` in doc
* clean up
* update snapshot
4 years ago
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
二货机器人
388edca10b
refactor: UploadList use `rc-motion` instead of `rc-animate` ( #27923 )
* chore: Update rc-motion version
* refactor: Move item into single file
* refactor: Use CSSMotion of progress bar
* chore: part style it
* chore: slit style of pic card
* chore: RM count-x
* support appendAction back
* chore: Style smooth
* fix progress makes shaking
* docs: clean up demo
* test: Update snapshot
* test: fix test case
* fix: lint
* test: Update snapshot
* test: coverage
* clean up
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
JuniorTour
75d4fdb3f1
feat: change object-fit of UploadList to contain ( #27312 )
4 years ago
偏右
4bf062c2a8
test: fix test cov ( #27065 )
* test: ✅ upload and form
* refactor: tooltip always evaluates to true
4 years ago
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
4 years ago
Kermit Xuan
7f7fe176e1
feat(upload): support itemRender ( #26333 )
4 years ago
afc163
0de1358924
test: ✅ fix eslint jest rules
4 years ago
Michael Waddell
add02767f0
Feat: Support callbacks for removeIcon and downloadIcon in Upload ( #26684 )
* updated to support callback function
* fixing compilation errors
* feat: add support for per-file callbacks in Upload removeIcon and downloadIcon
* Update components/upload/index.en-US.md
Added version
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
* docs: Changed `React.ReactNode` to `ReactNode`
* docs: Added version in CN documentation
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
二货机器人
8ab74cbe0e
test: Fix Upload test case ( #26638 )
* test: Fix test case
* clean up
4 years ago
二货机器人
c58135fd46
fix: Align motion match ( #26628 )
* fix: Align motion match
* bump rc-motion
* lock rc-trigger version
* update snapshot
4 years ago
二货机器人
a26517f9ab
fix: Controlled multiple files upload list sync ( #26612 )
* init hooks
* Use raf to sync list
* clean up
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
二货机器人
88ae028321
fix: Upload controlled issue ( #26481 )
* fix upload sync
* add test case
* rm only
* update snapshot
* fix test case
4 years ago
Ben Callaway
852fad9e3b
fix: Add missing properties to ShowUploadListInterface ( #26406 )
4 years ago
偏右
24a86df257
style: 💄 fix Upload picture-card button style ( #26367 )
* style: fix Upload picture-card button style
close https://github.com/ant-design/ant-design/issues/26317
close #23339
* style: tweak Upload list animation
close #22386
* fix snapshot change
* docs: update Upload demos
* add test case
* update form demo
* fix test case
4 years ago
Kermit Xuan
d8215589de
fix(upload): props type declaration ( #26347 )
* fix(upload): props type declaration
* fix lint
* chore: add type test case
4 years ago
Kermit Xuan
ee50fe7952
refactor(upload): rewrite with hooks ( #26196 )
* refactor(upload): rewrite with hooks
* refactor: optimize code style;
chore(dragger): add forwardRef;
* fix: lint
* fix: trigger ci
* fix: lint
* chore: add test case
4 years ago
afc163
5447db9239
docs: 🎬 add Upload demo about beforeUpload usage
4 years ago
xrkffgg
efdbb21f08
docs: reduce demo transfer/upload ( #25487 )
4 years ago
Albert Zhang
6f2aa5afb7
fix: show thumbnail for non-image files by upload onChange ( #25432 )
4 years ago
偏右
2b4d049921
fix: Upload don't support Popover ( #25090 )
close #25077
4 years ago
Teng YANG
19ca646ef3
fix : #24519 Upload delete icon cannot be navigate via keyboard ( #24615 )
* fix: Upload delete icon cannot be navigate via keyboard
* update Upload style dependencies
5 years ago
偏右
b95207d58e
Revert "fix: make upload action buttons focusable ( #24604 )" ( #24608 )
This reverts commit 8e20fe6779
.
5 years ago