Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
2020-08-19 09:50:04 +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
偏右
86f6b5f0bc
docs: improve code demo box style ( #26242 )
...
* docs: improve code demo box style
* chore: update lighthouse.yml
* use node 14
2020-08-17 19:32:03 +08:00
afc163
fa9316f78c
docs: info about Upload file.status
2020-08-07 17:31:18 +08:00
偏右
d02290c922
Update index.zh-CN.md
2020-08-07 17:25:23 +08:00
afc163
7502d84d15
docs: fix demo typo
2020-08-07 17:14:55 +08:00
afc163
5447db9239
docs: 🎬 add Upload demo about beforeUpload usage
2020-08-07 17:08:47 +08:00
Albert Zhang
cf9c08aca4
fix: customRequest file interface ( #25598 )
2020-07-13 14:11:55 +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
xrkffgg
1503a58aee
docs: format api timepicker/transfer/upload ( #25351 )
2020-07-01 20:18:48 +08:00
偏右
2b4d049921
fix: Upload don't support Popover ( #25090 )
...
close #25077
2020-06-19 10:59:21 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
Miclle Zheng
3d51c801e6
Upload support patch method ( #24936 )
2020-06-12 10:31:07 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
...
* docs: Update components cover
#24629
* docs: Update components cover
2020-06-05 13:50:09 +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
偏右
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>
2020-05-31 11:48:34 +08:00
Teng YANG
8e20fe6779
fix: make upload action buttons focusable ( #24604 )
2020-05-31 01:00:23 +08:00
Kermit Xuan
9b8e0bb908
feat(upload): data support return Promise( #22529 ) ( #24546 )
2020-05-28 22:02:56 +08:00
afc163
d039e32e6b
merge feature into master-to-merge-feature
2020-05-28 15:30:36 +08:00
Tom Xu
cea0e45671
docs: improve upload ( #24482 )
2020-05-26 22:29:04 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
...
chore: merge master into feature
2020-05-21 23:41:37 +08:00
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
2020-05-21 14:58:36 +08:00
偏右
0f93896f0b
fix: Upload type missing ( #24325 )
...
close #24229
2020-05-20 22:33:34 +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
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>
2020-05-18 10:31:23 +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
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54: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
mraiguo
28f71921ea
fix: Tooltip in Upload components location error ( #24001 )
2020-05-09 18:58:44 +08:00
Amazing Turtle
5c1257d726
docs: Remove deprecated supportServerRender doc
2020-05-02 23:14:43 +08:00
Amazing Turtle
83dcc0016f
Update index.zh-CN.md ( #23824 )
...
Remove deprecated supportServerRender doc
2020-05-02 23:13:45 +08:00
chenlei
b57c000678
docs: Fix Upload index.en-US.md ( #23781 )
...
* docs: fix Upload index.en-US.md
* docs: update Upload index.zh-CN.md
2020-04-30 17:06:05 +08:00
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
2020-04-28 11:16:01 +08:00
诸岳
f955620601
chore: Merge master branch and fix conflicts
2020-04-26 13:34:11 +08:00
xrkffgg
be72d1762a
fix: upload disabled hover border ( #23522 )
2020-04-23 15:58:17 +08:00
xrkffgg
eb5c7ffc7e
style: complete upload rtl ( #23520 )
2020-04-23 15:01:20 +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
xrkffgg
6c451865eb
site: add title upload picture-card ( #23312 )
...
* style: fix modal body padding without header
* change demo
* add url
2020-04-17 14:28:18 +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
xrkffgg
e652eef04c
style: add rtl base ( #22857 )
...
* style: add rtl base
* fix: add test snap
2020-04-09 12:39:10 +08:00
dpyzo0o
69daa6fea7
fix: improve typing of upload component ( #22921 )
2020-04-05 22:26:13 +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
zombiej
7212a9746d
chore: Merge feature
2020-03-29 20:21:14 +08:00
xrkffgg
d0dee05c28
style: optimize upload rtl style ( #22630 )
2020-03-29 15:07:04 +08:00