二货机器人
dc9535acdc
test: Back of Upload test coverage ( #29524 )
2021-02-26 22:38:11 +08:00
二货机器人
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
2021-02-26 15:18:37 +08:00
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
2021-02-23 10:45:11 +08:00
偏右
9daf50f3a9
test: fix codecov 100% ( #28892 )
2021-01-16 18:06:26 +08:00
二货机器人
38bead8724
chore: Auto fill uid ( #28832 )
...
* chore: Auto fill uid
* docs: More desc
2021-01-13 14:31:49 +08:00
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
2021-01-01 21:40:42 +08:00
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
...
chore: merge master into feature
2020-12-16 15:24:20 +08:00
二货机器人
d18e9b99d0
feat: Upload support maxCount
( #28367 )
...
* feat: Support maxCount
* docs: Add demo
* test: Add test case
2020-12-15 17:09:52 +08:00
二货机器人
e63856ba9c
docs: Remove Upload transformFile
prop ( #28365 )
...
* chore: Remove `transformFile` in doc
* clean up
* update snapshot
2020-12-15 15:56:35 +08:00
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>
2020-12-09 17:12:32 +08:00
二货机器人
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
2020-11-21 19:00:11 +08:00
偏右
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>
2020-11-14 00:43:12 +08:00
骗你是小猫咪
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
2020-10-23 18:50:46 +08:00
JuniorTour
75d4fdb3f1
feat: change object-fit of UploadList to contain ( #27312 )
2020-10-23 11:18:57 +08:00
偏右
4bf062c2a8
test: fix test cov ( #27065 )
...
* test: ✅ upload and form
* refactor: tooltip always evaluates to true
2020-10-10 13:32:27 +08:00
zombiej
358c7fa4c4
chore: feature merge master
2020-09-22 10:56:04 +08:00
偏右
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
2020-09-18 16:53:18 +08:00
Kermit Xuan
7f7fe176e1
feat(upload): support itemRender ( #26333 )
2020-09-17 16:14:42 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
...
chore: merge master into feature
2020-09-16 14:49:19 +08:00
afc163
0de1358924
test: ✅ fix eslint jest rules
2020-09-15 11:54:47 +08:00
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>
2020-09-13 08:31:18 +08:00
二货机器人
8ab74cbe0e
test: Fix Upload test case ( #26638 )
...
* test: Fix test case
* clean up
2020-09-08 14:47:31 +08:00
二货机器人
c58135fd46
fix: Align motion match ( #26628 )
...
* fix: Align motion match
* bump rc-motion
* lock rc-trigger version
* update snapshot
2020-09-08 11:34:29 +08:00
二货机器人
a26517f9ab
fix: Controlled multiple files upload list sync ( #26612 )
...
* init hooks
* Use raf to sync list
* clean up
2020-09-07 16:41:28 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
二货机器人
88ae028321
fix: Upload controlled issue ( #26481 )
...
* fix upload sync
* add test case
* rm only
* update snapshot
* fix test case
2020-08-29 21:28:44 +08:00
Ben Callaway
852fad9e3b
fix: Add missing properties to ShowUploadListInterface ( #26406 )
2020-08-26 18:43:34 +08:00
偏右
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
2020-08-24 16:33:24 +08:00
Kermit Xuan
d8215589de
fix(upload): props type declaration ( #26347 )
...
* fix(upload): props type declaration
* fix lint
* chore: add type test case
2020-08-23 22:46:55 +08:00
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
2020-08-18 15:44:31 +08:00
afc163
5447db9239
docs: 🎬 add Upload demo about beforeUpload usage
2020-08-07 17:08:47 +08:00
xrkffgg
efdbb21f08
docs: reduce demo transfer/upload ( #25487 )
2020-07-08 08:58:45 +08:00
Albert Zhang
6f2aa5afb7
fix: show thumbnail for non-image files by upload onChange ( #25432 )
2020-07-06 21:47:01 +08:00
偏右
2b4d049921
fix: Upload don't support Popover ( #25090 )
...
close #25077
2020-06-19 10:59:21 +08:00
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
2020-06-01 13:29:22 +08:00
偏右
b95207d58e
Revert "fix: make upload action buttons focusable ( #24604 )" ( #24608 )
...
This reverts commit 8e20fe6779
.
2020-05-31 11:50:26 +08:00
Teng YANG
8e20fe6779
fix: make upload action buttons focusable ( #24604 )
2020-05-31 01:00:23 +08:00
Teng YANG
ac50fa147c
feat: resolve #24213 customize progress bar in upload ( #24319 )
...
* feat #24213 : customize progress bar in upload
* update doc for customize progress bar in upload
2020-05-20 22:29:45 +08:00
南小北
bfd5644ff0
Add crop image demo for Upload ( #24174 )
...
* chore: add antd-img-crop
* docs: add crop image demo for upload
* fix: move antd-img-crop to devDependencies
* fix: fix eslint warning
* test: update snapshot
2020-05-18 19:22:45 +08:00
偏右
a820046130
fix: Upload.Dragger triggered by label when disabled ( #24202 )
...
* refactor Dragger.tsx
* 🐛 Avoid disabled Upload.Dragger being triggered by label
close #24197
2020-05-16 14:25:49 +08:00
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
...
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
诸岳
f955620601
chore: Merge master branch and fix conflicts
2020-04-26 13:34:11 +08:00
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon ( #23469 )
...
* chore: Replace domhook with jest.spyon
* use mockreturn value when possible
* Update tests/shared/focusTest.js
2020-04-22 11:59:56 +08:00
偏右
fabec4831c
Merge pull request #23377 from ant-design/master
...
chore: Merge master into feature
2020-04-18 23:54:51 +08:00
nick
87da7bfe67
feat: add custom isImgurl prop to Upload Component ( #23248 )
...
* feat: customize isImageUrl support
* docs: Update Upload doc
* docs: Add isImgUrl default implement link
* docs: update default link address
2020-04-14 19:32:16 +08:00
Evan Charlton
58c6900175
chore: Fix console warning typo (validate -> valid) ( #23240 )
...
Clean up the typos in the helpful console warning messages which get
emitted if the incorrect prop is passed to certain components.
2020-04-14 16:48:23 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe ( #22788 )
...
* docs: 🎬 improve BackTop demo
* fix Backtop not working in iframe
* fix lint
* fix ci
* fix ci
* ✅ add more test case
* ✅ add more test cases
* fix ci
2020-04-01 17:38:21 +08:00
二货机器人
8453cb7b2d
fix: Upload onChange immutable ( #22322 )
...
* refactor tree dir
* Upload onChange immutable
* update test case
* fix lint
2020-03-18 00:02:23 +08:00
二货机器人
afedb4127f
docs: Site with single paging ( #21360 )
...
* patch route
* use data for promise
* rename Article file
* Article in TS
* clean up
* use collect
* adjust css
* card it
* listing
* res
* hiring
* add footer
* english it
* rm others
* fix lint
* fix navigation
* add dropdown button
* Header with TS
* split input & logo
* navigation out
* use flex
* flex everything
* stretch
* hide search when narrow
* init category
* global rules
* more cat
* pages
* level 2 width
* level 3
* level 4
* skip before ready
* clean up
* unqiue shadow variable
* update eslintignore
* update ignore
* fix ssr
* fix location param
* replace images
* shake more
* fix top of navigation
* remove home
* reorder nav & adjust padding style
* narrow res style
* Update research-form-page.zh-CN.md (#21426 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* rm skip
* narrow merge in
* reset p style
* update svg
* fix lint
* update ignore
* update lint ignore
* Update research-result-page.zh-CN.md (#21432 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-result-page.zh-CN.md
* Update research-workbench.zh-CN.md (#21438 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-workbench.zh-CN.md
* Update research-list-page.zh-CN.md (#21441 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-list-page.zh-CN.md
* padding use 40px
* add responsive of ref
* fix p margin
* Update research-workbench.zh-CN.md
* Update buttons.md (#21456 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update resources.en-US.md (#21457 )
* Update research-navigation.zh-CN.md (#21453 )
* Update research-navigation.zh-CN.md
* Update research-navigation.zh-CN.md
* Update research-navigation.zh-CN.md
* Update research-empty.zh-CN.md (#21451 )
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
Co-authored-by: 二货机器人 <smith3816@gmail.com>
* Update research-exception-page.zh-CN.md (#21452 )
* Update research-exception-page.zh-CN.md
* Update research-exception-page.zh-CN.md
* Update research-message-and-feedback.zh-CN.md (#21463 )
* Update research-message-and-feedback.zh-CN.md (#21467 )
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* replace background
* fix lines margin
* home padding
* patch minTilda doc
* Update resources.zh-CN.md (#21503 )
* clean up
* Update research-workbench.zh-CN.md (#21512 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-overview.zh-CN.md (#21513 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-result-page.zh-CN.md (#21514 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-list-page.zh-CN.md (#21515 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* fix doc
* Update research-message-and-feedback.zh-CN.md (#21516 )
* adjust home nav width
* Update research-message-and-feedback.zh-CN.md (#21535 )
* Update research-form-page.zh-CN.md (#21554 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* patch file
* clean up
* update shadow.zh-CN
update shadow.zh-CN
* add shadow table
* Update visual.zh-CN.md (#21577 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* patch docs
* fix doc
* rm page suffix
* fix style
* mobile it
* Update resources.en-US.md (#21561 )
* chart res
* add qr code
* adjust qr
* Update visual.zh-CN.md (#21603 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* fix site qr
* mobile height of it
* book update
* 3.x site link
* isMobile is new cnotext
* Update research-form.zh-CN.md (#21604 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* adjust form doc
* mobile use link
* adjust order
* flush
* fix ts
* Update research-navigation.zh-CN.md (#21606 )
* Update research-navigation.zh-CN.md (#21609 )
* rm useless lines
* add mobile icon
* Update research-exception.zh-CN.md (#21612 )
* Update research-empty.zh-CN.md (#21610 )
* Update research-workbench.zh-CN.md
* Update visual.zh-CN.md
* adjust mobile icon
* Update research-message-and-feedback.zh-CN.md (#21613 )
* Update research-list.zh-CN.md (#21617 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-workbench.zh-CN.md (#21618 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update visual.zh-CN.md (#21619 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* Update research-result.zh-CN.md (#21620 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-form.zh-CN.md (#21615 )
* Update research-message-and-feedback.zh-CN.md (#21616 )
* Update research-list.zh-CN.md (#21621 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-result.zh-CN.md (#21624 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* update ref color
* update zip file
* fix mobile icon
* rm skip dark
* fix cat
* update zip link
* update zip link
Co-authored-by: Golevka <huangsamfisher@163.com>
Co-authored-by: mihaideyu <zxy1010414746@163.com>
Co-authored-by: yingxirz <inseeing@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: myeunhyuk <39618466+myeunhyuk@users.noreply.github.com>
Co-authored-by: minTilda <31951290+minTilda@users.noreply.github.com>
Co-authored-by: ziyuan-174774 <61226089+ziyuan-174774@users.noreply.github.com>
Co-authored-by: 竹尔 <54707870+AntDesigners@users.noreply.github.com>
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
2020-02-27 10:53:30 +08:00