陈帅
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
6 years ago
zombieJ
c4283ebe72
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
6 years ago
Aleksandr Chernokondratenko
357e79cf48
Fix checking if file is image or not in the UploadList ( #15412 )
* Fix checking if file is image or not in the UploadList
* Fix type
* Add correct checking if file is image or not
* Change startWith to indexOf, update test
* Increase delay in test to pass CI
* Update test
6 years ago
偏右
779ba73528
🐛 fix upload instance cannot exposed in TypeScript ( #15090 )
close #14439
6 years ago
afc163
8fc3cb8d24
🐛 Fix always uploading if upload button is hidden during
close #14779
caused by the previous fix in #14298
reverted and change another way to fix #14299
6 years ago
afc163
d3e16b2dc6
🐛 Remove upload control if there is no trigger
in case of upload control triggered by label in some situations
close #14298
6 years ago
Subroto
7b8a39772b
Fix `fileIndex` not found TypeError (IE 11)
fileIndex is not present in IE 11 Array.prototype
6 years ago
Hal-pan
4ac517d610
fix upload remove
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
ztplz
6ad23c370e
Fix CI
6 years ago
zombiej
1883996943
no need to use let
6 years ago
zombiej
273fd2ea1b
fix #10953 . Dedup of file onStart upload
6 years ago
张聪
8a9fbcb5e4
Migrate lifecycle method: Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm ( #11682 )
* Upload lifecycle method migrate
* CheckboxGroup lifecycle method migrate
* Layout.Sider lifecycle method migrate
* Tooltip lifecycle method migrate
* Popconfirm lifecycle method migrate
* test Spin as a controlled component
6 years ago
afc163
7d038d1aee
revert 4d5d3c142e
6 years ago
afc163
763d32ac68
Fix tslint
6 years ago
afc163
4d5d3c142e
fix fileList in onChange when uid is 0, close #11089
7 years ago
Junbin Huang
e1ba74e5fc
fix: still keep order when upload fails ( #10794 )
7 years ago
afc163
89ed0dcb35
fix autoUpdateProgress percent and add test case
7 years ago
afc163
e97977b891
Fix upload onChange arg type when beforeUpload return false, close #10293
7 years ago
Wu Haotian
7eb2792072
fix typing for `Upload.beforeUpload` ( #10059 )
* fix typing for `Upload.beforeUpload`
fix #9775
* add RcFile interface, fix tests
* fix typing of `Upload.onStart`
7 years ago
Ed Moore
31e50e50b6
Fix types ( #10063 )
* Fix types
Fix https://github.com/ant-design/ant-design/issues/8796
* Fix exported types
7 years ago
Wei Zhu
5ab1c4ce53
Revert "Convert file object"
This reverts commit ee0bf41672
.
7 years ago
Wei Zhu
ee0bf41672
Convert file object
Close #9775
7 years ago
afc163
e071002fae
use lodash
7 years ago
afc163
626ebf2063
Fix upload list update logic when beforeUpload return false
close #8020 #8779 #9248 #9191
ref #8036
7 years ago
Wei Zhu
179528af50
Don't change fileList when beforeUpload returns false ( #8299 )
Close #8036
7 years ago
Wei Zhu
cbaf54415e
style: Use single quote
7 years ago
Wei Zhu
45135e4ec8
Improve upload type definition.
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Wei Zhu
0c7ce9db17
Use props
Related #7706
7 years ago
Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
偏右
43362de756
Fix beforeUpload will stop uploading when return ( #7870 )
value is undefined
it should be same as rc-upload
7 years ago
afc163
9a5894c46e
data should be call when beforeUpload promise resolved, close #7833
7 years ago
niko
9dc4102cdd
fix: should trigger onChange before beforeUpload
7 years ago
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
7 years ago
Wei Zhu
047f62e9b4
Mark refs to private ( #7600 )
7 years ago
Wei Zhu
8c0c6ecf6e
refactor: upload string refs to callback ( #7496 )
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
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.
8 years ago
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
natergj
c2cb111f7b
fix: Upload should work with LocaleProvider ( #5388 )
8 years ago
Benjy Cui
be13831d92
Fix upload ( #5358 )
* docs: add demo to re-produce bug
* fix: dragger should work with form decorator, close : #5334
* test: update snapshot
8 years ago
afc163
b271a94e0a
Fix Upload progress not showing, close #5323
8 years ago
afc163
89ace33480
Upload onChang(file) argument should be immutable, close #5280
8 years ago
afc163
7290e1070b
update code style
8 years ago