Commit Graph

100 Commits

Author SHA1 Message Date
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
Tom Xu
cea0e45671
docs: improve upload () 2020-05-26 22:29:04 +08:00
Teng YANG
b264589b77
fix: enhance upload custom progress bar ()
* 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
Teng YANG
ac50fa147c
feat: resolve customize progress bar in upload ()
* feat : customize progress bar in upload

* update doc for customize progress bar in upload
2020-05-20 22:29:45 +08:00
Amazing Turtle
83dcc0016f
Update index.zh-CN.md ()
Remove deprecated supportServerRender doc
2020-05-02 23:13:45 +08:00
chenlei
b57c000678
docs: Fix Upload index.en-US.md ()
* docs: fix Upload index.en-US.md

* docs: update Upload index.zh-CN.md
2020-04-30 17:06:05 +08:00
nick
87da7bfe67
feat: add custom isImgurl prop to Upload Component ()
* 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
Clair Duan
a875bfd28c
feat: custom Upload action icons removeIcon and downloadIcon ()
* 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
2020-02-17 14:55:16 +08:00
叶枫
6c3d6e7247 feat: upload add icon ()
* feat: add custom icon

* chore: test

* fix: eye style

* fix: anticon style

* fix: stylelint

* Update Form.tsx

* Update Form.tsx

* feat: 26

* feat: fiie-type

* Update basic.md

* Update debug.md

* Update target.md

* Update Steps.tsx

* Update element.md

* chore: clearn up

* chore: clearn up

* chore: clearn up

* fix: handleIconRender

* fix: iconNode
2020-01-03 17:48:10 +08:00
偏右
7dea548551 refactor: 🗑 remove deprecated or compatibility css code ()
* 🗑️ remove deprecated or compatibility css code

*  update snapshots

*  fix test case and compile error

*  fix stylelint
2019-12-31 11:54:39 +08:00
wangxingkang
336fb41ec2 docs: Removed version column in 4.0 ()
Issue 
2019-11-20 14:55:34 +08:00
afc163
53efaa89a5 support Upload method 2019-11-03 12:37:48 +08:00
偏右
9e9abfdc79
Merge branch 'feature' into master-for-merge 2019-09-23 15:33:43 +08:00
plainnany
068556c029 docs: update props data description for Upload () 2019-09-20 15:45:32 +08:00
叶枫
f659d23d22 feat: upload add download icon ()
* 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
2019-09-11 21:46:56 +08:00
Jinke Li
0240d126ec feat(Upload): add transformFile option for transform file before request ()
* feat: add transformFile optionfor transform file before request

* feat: bump rc-upload 2.7.0

* feat(Upload): optimize doc
2019-08-04 12:18:46 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added ()
* 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
2019-07-11 14:14:33 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master ()
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode ()

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable ()

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile ()

* 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 ()

* 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 ()

* 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 () ()

* 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 ()

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item ()

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type ()

close 

* feat: Add Timeline.Item.position () ()

* fix: Timeline.pendingDot interface documentation there is a small problem ()

* feat: Add Timeline.Item.position ()

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps ()

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` ()

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown ()

* 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 () ()

* 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 ()

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
afc163
bd27b6b836
📝 Optimize some docs 2019-03-19 11:44:00 +08:00
afc163
c741c2f0df 📝 enhance upload documentation 2019-01-04 22:12:29 +08:00
afc163
8d2a42fa91
📝 fix outdated link 2018-12-10 00:23:50 +08:00
bukas
814980d9c6 fix: upload blob preview && upload beforeUpload doc ()
* fix: upload not preview blob

* fix: test && readme

* fix: upload promise
2018-12-10 00:16:51 +08:00
afc163
13c25adc6d
📝 Upload action is not required prop 2018-11-19 18:52:47 +08:00
afc163
213693e333 🌐 site: transition component category, close 2018-11-04 16:20:35 +08:00
Tom Xu
0b9d00a0ad Upload add props openFileDialogOnClick 2018-09-21 15:56:18 +08:00
afc163
9d5920b39d doc: remove old usage instruction 2018-09-14 11:31:53 +08:00
Dmitriy Mironov
a270597d63 Fix a typo 2018-08-08 10:36:07 +08:00
afc163
fd96967c87 upgrade rc-upload to 2.5
- support `directory` close 
- action can be a function return Promise
2018-06-12 16:07:06 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
niko
70491fe4ad fixed https://github.com/ant-design/ant-design/pull/7733 () 2017-10-18 00:05:10 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
afc163
0d26b4c972 doc: update Upload API description 2017-08-24 18:37:26 +08:00
Xiaohan Lee
c23c0a6b16 Update docs for Table.render and Upload.onChange ()
* Docs: fix invalid link in docs of Table.render

* Docs: add link for "onChange" in docs of Upload.onChange
2017-08-11 17:05:58 +08:00
Zheeeng
fdc8d357ef Fix doc missing info () 2017-08-11 12:39:26 +08:00
peiming
426a35c248 docs: fix Upload[beforeUpload] 2017-06-06 21:51:27 +08:00
shlice
38a7a87690 feat: enhance handleRemove in Upload ()
onRemove will be executed when removing file button is clicked, remove event will be prevented when return value is false.
But, if we want't to popup a confirm dialog, it can't block the execution of onRemove.
So, I add Promise support for onRemove. The return value of onRemove now can be a Promise, and the handleRemove function in Upload can wait for the non-blocking confirm dialog.
2017-05-02 16:31:39 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming ()
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
偏右
aa89addcc2 Improve upload list ()
* support prevent removing when return value is false, close 

* Add showRemoveIcon & showPreviewIcon into showUploadList

close  & 

* fix typo
2017-01-10 20:15:02 +08:00
afc163
dba6b70e38 update upload API, 2016-12-13 18:48:11 +08:00
Benjy Cui
a985c15872 deps: upgrade rc-upload 2016-12-12 12:08:15 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 ()
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
27708b702c docs: update docs for upload, ref: 2016-10-31 13:44:13 +08:00
afc163
e0a986ed71 Update upload document 2016-10-11 15:23:18 +08:00
Benjy Cui
a40a8e914f docs: add ref for upload, close: 2016-09-29 15:37:32 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
afc163
bab669d17d Merge branch "1.x-stable" 2016-09-08 15:17:39 +08:00
hellowenqi
a25b8b0658 docs: Translation upload () 2016-08-25 09:46:19 +08:00