Commit Graph

54 Commits

Author SHA1 Message Date
偏右
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
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
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
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
Amazing Turtle
5c1257d726
docs: Remove deprecated supportServerRender doc 2020-05-02 23:14:43 +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
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
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
2020-02-17 14:55:16 +08:00
叶枫
6c3d6e7247 feat: upload add icon (#20034)
* 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 (#20547)
* 🗑️ 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 (#19821)
Issue #19815
2019-11-20 14:55:34 +08:00
Hossein Ahmadian-Yazdi
214458931d Gets the XMLHttpRequest Object in Onchange function (#19539) 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 (#18915) 2019-09-20 15:45:32 +08:00
叶枫
f659d23d22 feat: upload add download icon (#18664)
* 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 (#18009)
* 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 (#17373)
* 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 (#16421)
* use ul in list

* update snapshot

* update comment

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

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

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

* feat: Upload support customize previewFile (#15984)

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

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

* 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 (#16078) (#16128)

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

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

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

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

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

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

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

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* 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 (#16186) (#16225)

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

* 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 (#13531)
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 #7315
- 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 (#7914) 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 (#7175) 2017-08-11 12:39:26 +08:00
shlice
38a7a87690 feat: enhance handleRemove in Upload (#5974)
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 (#4636)
* 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 (#4516)
* support prevent removing when return value is false, close #4456

* Add showRemoveIcon & showPreviewIcon into showUploadList

close #4384 & #4351

* fix typo
2017-01-10 20:15:02 +08:00
afc163
dba6b70e38 update upload API, #863 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: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
edgji
ea4e98d5f7 docs: add documentation and reference for customRequest (#3651) 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: #3171 2016-09-29 15:37:32 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00