Commit Graph

97 Commits

Author SHA1 Message Date
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
Hossein Ahmadian-Yazdi
214458931d Gets the XMLHttpRequest Object in Onchange function () 2019-11-04 10:44:43 +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
zy410419243
bf4560cf37 docs: fix wrong usage of comma 2019-02-07 13:59:32 +08:00
afc163
c741c2f0df 📝 enhance upload documentation 2019-01-04 22:12:29 +08:00
Ali Zhdanov
4c6244bd0c Outdated url to file input accept prop ()
Looks like outdated URL to file input `accept` prop. I've added the proper one.
2018-12-10 00:21:48 +08:00
afc163
13c25adc6d
📝 Upload action is not required prop 2018-11-19 18:52:47 +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
Ilan Hasanov
6cecc9a0ea 💬 fixing upload component typos and capitalization consistency for en-US 2018-07-29 01:15:02 +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
Zheeeng
fdc8d357ef Fix doc missing info () 2017-08-11 12:39:26 +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
Bruce Mitchener
36508ffabd Typo fixes. 2016-11-16 20:33:37 +07:00
ddcat1115
0baef0627e docs: 调整组件导航结构 ()
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
edgji
ea4e98d5f7 docs: add documentation and reference for customRequest () 2016-10-31 13:36:40 +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
697b6c7b19 update upload demos 2016-09-18 11:08:54 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
ddcat1115
41a7f51e12 docs: update Upload en doc ()
refer to https://github.com/ant-design/ant-design/issues/2892
2016-09-09 14:45:07 +08:00
hellowenqi
a25b8b0658 docs: Translation upload () 2016-08-25 09:46:19 +08:00