Albert Zhang
cf9c08aca4
fix: customRequest file interface ( #25598 )
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
xrkffgg
1503a58aee
docs: format api timepicker/transfer/upload ( #25351 )
4 years ago
偏右
2b4d049921
fix: Upload don't support Popover ( #25090 )
close #25077
5 years ago
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
5 years ago
Miclle Zheng
3d51c801e6
Upload support patch method ( #24936 )
5 years ago
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
* docs: Update components cover
#24629
* docs: Update components cover
5 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
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
5 years ago
Teng YANG
8e20fe6779
fix: make upload action buttons focusable ( #24604 )
5 years ago
Kermit Xuan
9b8e0bb908
feat(upload): data support return Promise( #22529 ) ( #24546 )
5 years ago
Tom Xu
cea0e45671
docs: improve upload ( #24482 )
5 years ago
Teng YANG
b264589b77
fix: enhance upload custom progress bar ( #24339 )
* enhance customize progress bar in upload
- fix progress bar `type` could be overridden
- update demo
* update docs in upload customize progress bar
* update docs in upload
5 years ago
偏右
0f93896f0b
fix: Upload type missing ( #24325 )
close #24229
5 years ago
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
5 years ago
南小北
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
5 years ago
xrkffgg
8cb146becd
style: adjust upload error icon ( #24160 )
* fix: adjust uoload error icon
* use less var
* use antd-color
* fix: adjust uoload error icon
* use less var
* use antd-color
* up snap
* fix package
* use svg fill
* fix error
* Update components/upload/style/index.less
Co-authored-by: 偏右 <afc163@gmail.com>
* Update components/upload/style/index.less
* fix fill
* fix snap
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
偏右
a820046130
fix: Upload.Dragger triggered by label when disabled ( #24202 )
* refactor Dragger.tsx
* 🐛 Avoid disabled Upload.Dragger being triggered by label
close #24197
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
二货机器人
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>
5 years ago
mraiguo
28f71921ea
fix: Tooltip in Upload components location error ( #24001 )
5 years ago
Amazing Turtle
5c1257d726
docs: Remove deprecated supportServerRender doc
5 years ago
Amazing Turtle
83dcc0016f
Update index.zh-CN.md ( #23824 )
Remove deprecated supportServerRender doc
5 years ago
chenlei
b57c000678
docs: Fix Upload index.en-US.md ( #23781 )
* docs: fix Upload index.en-US.md
* docs: update Upload index.zh-CN.md
5 years ago
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
5 years ago
xrkffgg
be72d1762a
fix: upload disabled hover border ( #23522 )
5 years ago
xrkffgg
eb5c7ffc7e
style: complete upload rtl ( #23520 )
5 years ago
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
5 years ago
xrkffgg
6c451865eb
site: add title upload picture-card ( #23312 )
* style: fix modal body padding without header
* change demo
* add url
5 years ago
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
5 years ago
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.
5 years ago
xrkffgg
e652eef04c
style: add rtl base ( #22857 )
* style: add rtl base
* fix: add test snap
5 years ago
dpyzo0o
69daa6fea7
fix: improve typing of upload component ( #22921 )
5 years ago
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
5 years ago
偏右
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
5 years ago
xrkffgg
d0dee05c28
style: optimize upload rtl style ( #22630 )
5 years ago
zefeng
dda45e4796
feat: support compact theme ( #22126 )
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
5 years ago
二货机器人
56aabf3966
chore: make bundle size smaller ( #22693 )
* update rc-resize-observer deps
* clean icons
* rm lodash/findIndex
* rm isPlainObject
* rm lodash uniqueBy
* rollback of icons
* clean up
5 years ago
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
5 years ago
二货机器人
8453cb7b2d
fix: Upload onChange immutable ( #22322 )
* refactor tree dir
* Upload onChange immutable
* update test case
* fix lint
5 years ago
xrkffgg
862cbbceec
style: add rtl.less of Select\Transfer\Upload ( #22307 )
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
二货机器人
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>
5 years ago
afc163
b4636ab2df
💄 tweak Upload showDownloadIcon default value
it should be false
5 years ago
二货机器人
9f26e7a85e
fix: Form item has default height align with form size ( #21476 )
* fix: Form item has default height align with form size
* fix lint
* update snapshot
5 years ago
程成
c968184348
fix: upload 识别图片类型逻辑错误 ( #21473 )
* fix: upload 识别图片类型逻辑错误
当 uploadFile 有类型时,直接对 类型 进行判断即可
* test: 增加识别文件类型的测试用例
5 years ago
Clair Duan
a875bfd28c
feat: custom Upload action icons removeIcon and downloadIcon ( #21363 )
* feat: add removeIcon and uploadIcon in API showUploadList
* test: test for removeIcon and downloadIcon
* docs: Upload docs and demo of downloadIcon and removeIcon
* test: update snapshot of uploadlist
* test: update Upload demo test snapshots
* fix: remove className of Upload custom action icons
* test: upldate Upload snapshot
* test: add trailing comma in upload-custom-action-icon.md
* fix: render Upload custom action icons with React.cloneElement
* test: update Uploadlist tests
* test: use string in Upload custom icon test
* fix: remove unused-var SmileOutlined in Upload demo
* fix: fix mouseEvent param missing in Upload ActionIconRender
* fix: fix mouseEvent type in Upload ActionIconRender
* fix: test mouseEvent in upload-custom-action-icon demo
* fix: fix the missing props spread in Upload custom icon
* test: add test for custom onClick in custom Upload icon
* fix: add remove test for custom Upload icon
5 years ago
tae
88642f6048
refactor: Progress use `React.Fragment` to remove unused div ( #21170 )
5 years ago