Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
2017-02-08 14:21:29 +08:00
afc163
0eb5c689a3
remove type="ghost" from demo
2017-02-04 22:35:33 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d
Merge from master
2017-01-27 17:23:51 +08:00
afc163
f4021d5255
Fix default locale in Upload, close #4697
2017-01-24 15:02:54 +08:00
afc163
a81bf8f73e
use file.thumbUrl for <img /> in priority, close #4653
2017-01-24 14:59:39 +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
afc163
35523be6e9
Merge from master
2017-01-20 18:28:09 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +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
024e398ad0
Fix lint for latest eslint-config-airbnb
2017-01-09 11:51:56 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +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
Zack Craig
f62fa38ebd
Re-word description of upload component ( #4085 )
...
Just a little bit of rewording for english speakers, same stuff, just sounds better.
2016-11-30 22:31:30 +08:00
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
...
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Benjy Cui
59e0c6a4c1
docs: update demo for upload
2016-11-25 15:00:28 +08:00
Wei Zhu
bd55d21f83
style: Fix jsx-no-multiline-js ( #3994 )
...
* Fix jsx-no-multiline-js
* TimePicker addon test
* Transfer search test
2016-11-25 12:03:39 +08:00
Benjy Cui
f5cc937c8f
fix: Upload should work without children
2016-11-24 17:44:40 +08:00
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
2016-11-23 17:53:10 +08:00
afc163
e62dc08d2c
improve preview icon display logic, #3644
2016-11-22 14:44:16 +08:00
afc163
e552880c32
update upload detail
2016-11-22 14:29:07 +08:00
afc163
f77d568322
fix upload prefixCls
2016-11-22 14:29:07 +08:00
Wei Zhu
d20572bdab
test: demo snapshot testing ( #3916 )
...
* Run snapshot testing against all demos
* Split demo tests
* ignore coverage folder
* Upgrade antd-demo-jest
* enable cache
* intergate with coveralls.io
* Add node test
* Set worker to 2
https://github.com/facebook/jest/issues/1742
* config coverage
* Set default supportServerRender to true
2016-11-22 13:43:53 +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
afc163
0ec4276eab
@font-size-lg ( #1752 )
2016-11-08 21:07:01 +08:00
afc163
e4974ac72a
use @font-size-base ( #1752 )
2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb
use @text-color
2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
denzw
5fb01c8300
修复上传组件卡片样式时,新增加上传图片不能预览的问题 ( #3706 )
2016-11-03 13:43:34 +08:00
Benjy Cui
27708b702c
docs: update docs for upload, ref: #3651
2016-10-31 13:44:13 +08:00
edgji
ea4e98d5f7
docs: add documentation and reference for customRequest ( #3651 )
2016-10-31 13:36:40 +08:00
Benjy Cui
08e21e0a2f
refactor: close : #3490
2016-10-24 16:30:38 +08:00
afc163
1e5264bad7
fix tslint
2016-10-20 22:10:46 +08:00
yiminghe
c2d3f16dfb
update tslint
2016-10-20 19:19:16 +08:00
Benjy Cui
3112b0d7ca
site: support debug mode for demo, close : #3506
2016-10-20 17:45:38 +08:00
Benjy Cui
9ac21d010b
docs: add demo for show image in-place, close : #3319
2016-10-18 15:16:25 +08:00
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
...
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
2016-10-18 11:55:00 +08:00
afc163
e0a986ed71
Update upload document
2016-10-11 15:23:18 +08:00
偏右
8bf99b7773
Fix Upload onRemove and style ( #3331 )
...
* fix onRemove prevent origin behavious, close #3317
* remove onPreview if
* improve upload render props code style
* Fix upload trigger click area, close #3316
2016-10-10 22:38:11 +08:00
Benjy Cui
a40a8e914f
docs: add ref for upload, close : #3171
2016-09-29 15:37:32 +08:00
Benjy Cui
50e978de53
fix: should show all the uploaded files, close : #3113 ( #3117 )
2016-09-22 11:54:36 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +08:00
Benjy Cui
f04b65b25e
fix: should pass style to upload correctly, close : #3072
2016-09-20 15:11:30 +08:00
Benjy Cui
d1b9db9f97
fix: should use rc-calendar@7.1.0
2016-09-19 15:23:49 +08:00
afc163
3d8c63b821
Merge branch 'master' of github.com:ant-design/ant-design
2016-09-19 11:08:00 +08:00
afc163
701425250f
fix demo markdown
2016-09-19 11:01:58 +08:00
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
afc163
697b6c7b19
update upload demos
2016-09-18 11:08:54 +08:00
afc163
9e5061acdc
Merge branch "1.x-stable"
2016-09-15 01:25:28 +08:00
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
cbfc181fa4
fix: should not wrap upload list
2016-09-14 10:21:26 +08:00
Marius Ileana
39a11f00a0
docs: upload, alert, tooltip - translations of remaining demos ( #3035 )
...
* upload - translations of two remaining demos
* alert & tooltip - remaining demo translations
* Prompt typo
2016-09-14 09:52:14 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
afc163
c897243d33
Fix upload beforeUpload, close #3001
2016-09-12 15:19:44 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +08:00
ddcat1115
41a7f51e12
docs: update Upload
en doc ( #2982 )
...
refer to https://github.com/ant-design/ant-design/issues/2892
2016-09-09 14:45:07 +08:00
afc163
bab669d17d
Merge branch "1.x-stable"
2016-09-08 15:17:39 +08:00
ddcat1115
dcd4477bb8
docs: Upload 修正老旧文档 close #2892 ( #2941 )
2016-09-07 10:19:51 +08:00
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
2016-09-01 18:12:12 +08:00
hellowenqi
a25b8b0658
docs: Translation upload ( #2770 )
2016-08-25 09:46:19 +08:00
afc163
363f610d8b
Fix tsc errors beside DatePicker
2016-08-24 16:09:55 +08:00
afc163
77949bb9e3
upgrade eslint-config, close #2811
2016-08-23 21:00:35 +08:00
afc163
10e1b8b269
Fix some ts errors
2016-08-16 18:07:37 +08:00
afc163
24d2973c32
Merge branch "1.x-stable"
2016-08-16 17:54:59 +08:00
ddcat1115
a5585bff77
fix #2571 #2518 #2645 增加disabled属性及取消上传时cancel请求 ( #2690 )
...
* fix #2571 #2518 use rc-upload@2.x abort
fix #2645 add `disabled`
* fix
2016-08-14 15:20:00 +08:00
Eddie Xie
dc62976b39
docs: Fix typos ( #2694 )
2016-08-12 14:16:59 +08:00
afc163
77fa03240b
Merge branch '1.x-stable'
2016-08-03 11:43:43 +08:00
afc163
4bbe2291ef
Fix uploading picture style
2016-08-02 15:05:25 +08:00
afc163
25b3517cc3
Add types for tree-select and upload ( #1846 )
2016-08-01 16:35:01 +08:00
afc163
10a0709b3a
update dragger demo
2016-07-29 14:40:19 +08:00
afc163
ea61aa3cab
upload code style
2016-07-19 20:28:56 +08:00
yiminghe
b140856836
add class
2016-07-19 19:08:59 +08:00
yiminghe
3342aae9f3
upgrade
2016-07-19 15:46:00 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
afc163
4954f5d733
Merge branch '1.x-stable'
2016-07-12 13:59:58 +08:00
afc163
129df7dc2a
Fix removed upload item bug, close #2342
2016-07-12 12:09:12 +08:00
afc163
64b2381759
Merge 1.x-stable
2016-07-09 17:43:31 +08:00
afc163
0977a656aa
Fix default upload item link, close #2331
2016-07-09 17:22:48 +08:00
afc163
28c470cb37
Merge 1.x-stable
2016-07-09 16:03:47 +08:00
afc163
ec8a0821cd
Fix controlled fileList prop, close #2236
2016-07-09 15:08:39 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
95351bfffa
Merge branch '1.x-stable'
2016-06-27 19:31:38 +08:00
afc163
089f1ae512
update components category name
2016-06-27 18:21:12 +08:00
afc163
2ffa087aa1
Merge branch '1.x-stable'
2016-06-24 14:33:37 +08:00
afc163
dc191a321b
fix for onPreview works only when file.url existed
...
close #2163
2016-06-24 13:35:11 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
afc163
069857a476
update upload style
2016-06-15 19:48:42 +08:00
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
afc163
6f11e1fda0
update upload demo doc
2016-05-25 17:32:59 +08:00
afc163
6c3d00368c
improve upload code style
2016-05-24 17:57:31 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
afc163
664bb8ea08
hide upload button when no children in <Upload />
...
close
https://github.com/ant-design/ant-design/issues/1610#issuecomment-218075160
2016-05-12 17:02:34 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
45921c55e0
upgrade Upload
2016-05-10 17:31:15 +08:00