Commit Graph

7454 Commits

Author SHA1 Message Date
HeskeyBaozi
b8b64f92c8 remove prop 'svgStyle' and i think it's really good 2018-09-02 20:59:37 +08:00
HeskeyBaozi
359191abeb update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
e91aa112bf remove svgClassName 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0884490d6d update test case snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
016c1cfe92 fix collapse arrow style 2018-09-02 20:59:37 +08:00
HeskeyBaozi
ab2c866f0c simpify Icon api 2018-09-02 20:59:37 +08:00
HeskeyBaozi
bd59671585 default primary color #1890ff 2018-09-02 20:59:37 +08:00
HeskeyBaozi
6e90b3a57e update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
2a54d80639 new icon display 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d8014686b6 update Steps test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
b0d89aed23 use svg icon in rc-steps 2018-09-02 20:59:37 +08:00
HeskeyBaozi
ae9aabb1ac update test case 2018-09-02 20:59:37 +08:00
HeskeyBaozi
1cee617a9d update test case 2018-09-02 20:59:37 +08:00
HeskeyBaozi
7ffb205efe two-tone -> twoTone 2018-09-02 20:59:37 +08:00
HeskeyBaozi
349ebafc20 remove Icons naming convention 2018-09-02 20:59:37 +08:00
HeskeyBaozi
81058fa32c update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
39ffee1fa5 new getter & setter 2018-09-02 20:59:37 +08:00
HeskeyBaozi
73218926c3 filled, outlined and two-tone 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
67331efb67 theme props & two-tone icon 2018-09-02 20:59:37 +08:00
HeskeyBaozi
ef54d3fbb7 cross -> close 2018-09-02 20:59:37 +08:00
picodoth
f0bedb2176 fix: tests 2018-09-02 19:21:03 +08:00
picodoth
6237511c04 feat: use menu with 7.4.0-beta, supporting menu overflow collapsing. Currently React >= 16.0 only 2018-09-02 19:21:03 +08:00
afc163
0c6b3d5ac1 Improve message API documentation 2018-09-02 19:21:03 +08:00
Jack Hsieh
175ae5238e Make message icons optional 2018-09-02 17:19:05 +08:00
afc163
ea762a3c88 update card loading demo 2018-09-02 16:45:12 +08:00
afc163
fef685a15b update snapshots 2018-09-02 16:45:12 +08:00
afc163
afbf9e59bc refactor skeleton Paragraph 2018-09-02 16:45:12 +08:00
afc163
b951105b93 Fix avatar active animation in skeleton 2018-09-02 16:45:12 +08:00
afc163
1a3e59c0da Add some random width for skeleton paragraph 2018-09-02 16:45:12 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
afc163
53304d3b5a Fix extra padding of Card.Grid
close #11996
2018-09-01 13:08:39 +08:00
afc163
bc7164d871 Allow fontSize works on Card[headStyle], close #11995 2018-09-01 12:58:52 +08:00
afc163
fecb3b6914 update card demo jsx format 2018-09-01 12:50:52 +08:00
afc163
1bfbefb8e1 Fix snapshot 2018-08-31 23:09:24 +08:00
afc163
e23efe3f47 Fix wave color mixed up, close #11985 2018-08-31 17:38:02 +08:00
afc163
b84d515969 site: add promote badge 2018-08-31 17:03:27 +08:00
Simon Fraser
b02af8baa7 Updating warning message about cards not having size attribute. 2018-08-31 16:22:01 +08:00
Tom Xu
8ff9dc6bab Table added a new less variable @table-header-color 2018-08-31 10:42:50 +08:00
zombiej
fe2728cb20 fix #11969. Pass centered prop to popup modal 2018-08-30 22:27:32 +08:00
zombiej
b076b52756 fix #11967. Add children type validate in button.tsx 2018-08-30 17:59:09 +08:00
hongxuWei
278ad821a4 Fix issue #11908 missing right input border 2018-08-30 13:35:12 +08:00
hongxuWei
698aa3a01a Fix the bug of edit cell demo 2018-08-30 10:42:43 +08:00
陈帅
c73ad8021d
Merge pull request #11894 from ant-design/feature/svg-icon
Hotfix(Icon) fix SVG element style
2018-08-29 18:40:04 +08:00
afc163
7d5907500f revert steps description width to fix align issue 2018-08-29 17:40:05 +08:00
tangjinzhou
c63c971ded fix: Nesting tabs of different sizes, the style does not take effect (#11936) 2018-08-29 11:21:15 +08:00
Tomás Francisco
7d38f8f435 improve form types and docs (#11932) 2018-08-29 11:20:33 +08:00
Chandler Moisen
ce4a4bacaa add @menu-item-active-border-width to Menu.Item (#11934) 2018-08-29 11:20:13 +08:00
carrie-tanminyi
720b5f792c Update index.zh-CN.md (#11941) 2018-08-29 10:51:21 +08:00
偏右
6bf42db2ed
Fix abnormal picture card position of Upload list, close #11183 (#11931) 2018-08-29 00:21:46 +08:00
mushan0x0
dd37457048 feat: Anchor onClick (#11898)
* update: 添加AntAnchor类型

* update: 完成代码逻辑

* update: 添加测试

* update: 点击锚点不记录历史

* update: 添加示例

* docs: 更新文档

* update: 更改onClick事件里的link为对象

* update: 优化代码

* update: 修改propClick为onClick
2018-08-28 20:20:46 +08:00
mushan0x0
62d68b049f feat: Tabs render tab bar (#11856)
* feat: Customized bar of tab.

* docs: 更新关于renderTabBar的中文文档

* docs: 更新关于renderTabBar的英文文档

* update: 优化代码

* docs: 更新关于renderTabBar的文档

* update: 完善renderTabBar代码

* update: 完成自定义tabBar

* docs: 去掉旧的DefaultTabBar参数说明

* update: 修复CI测试

* fix: 去掉>选择器,解决自定义tabBar后样式错误

* update: 优化代码质量

* update: 添加测试

* fix: lint

* fix: 避免tab嵌套bug

* update: 把DefaultTabBar放在renderTabBar里
2018-08-28 18:56:25 +08:00
Sebastian Busch
d47a5be712 Input: new method select(), passed to underlying input (#11906)
* Input: pass through method select() to underlying input

* add test for Input select()
2018-08-28 18:54:21 +08:00
afc163
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +08:00
carrie-tanminyi
c2e50610ff Update index.zh-CN.md (#11924) 2018-08-28 17:14:04 +08:00
carrie-tanminyi
7c47ce9824 Update index.zh-CN.md (#11923)
* Update index.zh-CN.md

* Update index.zh-CN.md
2018-08-28 17:13:53 +08:00
y-take
6f443be4d5 Feat(Transfer): Allow to specify item-unit (#11348)
* Add itemUnit, itemsUnit props

* Add document

* Integrate locales

* Keep old locale props still working.
2018-08-28 16:26:32 +08:00
Chandler Moisen
badfac83b0 add @progress-text-color var to <Progress /> (#11771) 2018-08-28 11:36:00 +08:00
HeskeyBaozi
2e85c74898 svg should display block 2018-08-27 20:41:02 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
afc163
1707abb48d Fix switch click error, close #11891 2018-08-27 11:43:54 +08:00
陈帅
266a6ad817 Fix line breaks caused by div (#11888)
* Fix line breaks caused by div

* fix tag test

* use span replace null
2018-08-27 11:20:05 +08:00
zombiej
5e31067c78 add list-style in skeletion 2018-08-26 16:52:32 +08:00
诸岳
474f524df7 Fix conflicts after that master branch is merged into feature-3.9.0 branch 2018-08-26 13:46:29 +08:00
afc163
1a73fde89f Add @card-radius 2018-08-26 12:34:42 +08:00
afc163
5c26ce69c2 revert select demo 2018-08-26 00:28:22 +08:00
afc163
7396948c96 support controlled open for Select, close #10482 2018-08-25 23:41:30 +08:00
afc163
9d61dfff7a Merge branch 'master' into feature-3.9.0 2018-08-25 23:18:03 +08:00
afc163
0f472505db use const 2018-08-25 22:57:24 +08:00
afc163
325bff5324 update modal demo button text 2018-08-25 22:57:24 +08:00
afc163
9fdee487ce Add test case for modal update 2018-08-25 22:57:24 +08:00
afc163
b8b9c02fb9 Add update function for Modal.method, close #11721 2018-08-25 22:57:24 +08:00
nuintun
5f17ed789b Adjust input-number handler style
Make handler look better
2018-08-25 22:51:01 +08:00
afc163
b904f3de6a update demo description 2018-08-25 22:18:25 +08:00
afc163
eed77ea3be Merge branch 'master' into feature-3.9.0 2018-08-25 21:24:43 +08:00
afc163
877f9fd7d6 Add getContainer to Modal.info etc, close #11377 2018-08-25 21:24:18 +08:00
afc163
e4c9d69fc4 Avoid progress text wrap 2018-08-25 21:00:51 +08:00
afc163
be78706364 Merge branch 'master' into feature-3.9.0 2018-08-25 18:55:32 +08:00
HeskeyBaozi
7f22efbfae update test sanpshot 2018-08-25 16:09:10 +08:00
HeskeyBaozi
ec397fef5b update test snapshot 2018-08-25 15:52:14 +08:00
HeskeyBaozi
6fe79dff36 upgrade tree-select 2018-08-25 15:51:07 +08:00
afc163
98c3d8b1d7 tweak wave style 2018-08-25 14:25:21 +08:00
HeskeyBaozi
a62d0272b2 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	package.json
2018-08-25 13:33:32 +08:00
HeskeyBaozi
d9b38aee4b Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
984c4f7cb0 use loading 2018-08-25 13:14:43 +08:00
afc163
0ac47fe74f Fix abnormal width of Cascader in IE/Edge, close #11857 2018-08-24 21:07:29 +08:00
afc163
612c5d5c55 Fix Upload.Dragger drag area, close #11869 2018-08-24 20:44:43 +08:00
afc163
1ab61542e4 Fix Input[prefix|suffix] border in Input.Group, close #11863 2018-08-24 20:33:02 +08:00
afc163
1ba99510cd Fix @shadow-1-up, close #11873 2018-08-24 20:26:27 +08:00
afc163
33f5cc4364 Fix long step description overflow, close #11864 2018-08-24 20:25:23 +08:00
HeskeyBaozi
abfd50a7bf use component 2018-08-24 19:47:07 +08:00
HeskeyBaozi
56103c627a update step snapshot 2018-08-24 19:12:55 +08:00
HeskeyBaozi
28e2117c68 use cross 2018-08-24 19:00:06 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
43e6621fb7 use correct icon 2018-08-24 18:11:02 +08:00
HeskeyBaozi
af11401d33 upgrade svg 2018-08-24 17:36:22 +08:00
afc163
bb1ee6dbb4 Merge branch 'master' into feature-3.9.0 2018-08-24 15:12:57 +08:00
afc163
a54d06eb6f fix test case in react 15 2018-08-24 15:12:31 +08:00
HeskeyBaozi
d375070da5 waiting for upgrade rc-tree-select 2018-08-24 14:08:06 +08:00
HeskeyBaozi
9893fec5f1 fix rc-menu test case 2018-08-24 12:28:51 +08:00
afc163
62bacb09bf Fix wave render error in jest, close #11868 2018-08-24 12:11:44 +08:00
HeskeyBaozi
b4e6f756a7 use svg icon in dropdown 2018-08-24 11:51:52 +08:00
HeskeyBaozi
726d32031f upgrade rc-cascader 2018-08-23 22:15:25 +08:00
HeskeyBaozi
d8391d69f3 update steps test 2018-08-23 22:01:51 +08:00
afc163
5448277732 Merge branch 'master' into feature-3.9.0 2018-08-23 21:17:50 +08:00
afc163
e3aa2aaa84 fix submenu cannot hover 2018-08-23 21:14:16 +08:00
zombiej
500ef62638 fix https://github.com/ant-design/ant-design/issues/11423. TreeNode can accept custom prop 2018-08-23 20:38:56 +08:00
Cang Ta
044982ddb7 Remove duplicate theme property 2018-08-23 16:09:37 +08:00
zombieJ
796b56dbc4
New Component Skeleton (#11226)
* Add new component Skeleton
* Add related doc
* Add sample
* Add test case

ref: https://github.com/ant-design/ant-design/issues/10308
2018-08-22 23:34:36 +08:00
Nikolay
7bf50c85e1 Update Form.tsx 2018-08-22 23:28:07 +08:00
Nikolay
563e349946 add strict mode for submit object property names
This feature adds a posibility to validate property names in TypeScript by inserting required object interface.
2018-08-22 23:28:07 +08:00
陈帅
cc2bd76595 add top MultiDrawer 2018-08-22 23:27:52 +08:00
jljsj33
5676a10726 add ease-base-in ease-base-out 2018-08-22 23:27:52 +08:00
jljsj33
4233c55418 fix drawer scroll bar no animation 2018-08-22 23:27:52 +08:00
陈帅
2ca3661e87 placement add top and bottom 2018-08-22 23:27:52 +08:00
陈帅
83790dfee5 fix #11583 #11443 remove pointer-events 2018-08-22 23:27:52 +08:00
afc163
11d29fb522 use break-word over break-all, close #11722 2018-08-22 23:05:46 +08:00
HeskeyBaozi
0c751ca3b5 remove pseudo-class in pagination 2018-08-22 20:01:00 +08:00
苏秦
3ffc7f6ac2 Upload: remove necessary signatures 2018-08-22 20:00:42 +08:00
Bradley Xu
f20a1e4e5d docs: update button demo doc 2018-08-22 16:22:30 +08:00
jiang
110e65d74d
Fix drawer flash (#11833)
* fix drawer flash

* remove drawer transition
2018-08-22 16:06:33 +08:00
wangxueliang
fa89c79d80 fix: word error praentDrawer => parentDrawer 2018-08-22 14:33:42 +08:00
afc163
2e759e2bea Add initial prop for TypeScript, ref #11180 2018-08-22 13:54:51 +08:00
afc163
db736843ff Add Steps[initial], close #11180 2018-08-22 13:53:57 +08:00
afc163
711d78c892 Merge branch 'master' into feature-3.9.0 2018-08-22 13:51:20 +08:00
ohhoney1
a523706625 fix bug: If ItemGroup wraps the first menu, an error is displayed when the menu is collapsed 2018-08-22 11:26:07 +08:00
mmmveggies
09aaafe573 export specific TreeSelect treeData types 2018-08-22 11:21:27 +08:00
afc163
90b401e97b Fix submenu lap between menu, close #11725 2018-08-22 00:49:53 +08:00
afc163
c9901acb7f Fix WeekPicker style, close #11738 2018-08-22 00:41:29 +08:00
HeskeyBaozi
71be9c4a09 use svg icon in collapse 2018-08-21 20:03:48 +08:00
HeskeyBaozi
d369d2bfa5 update icon test snapshot 2018-08-21 18:42:12 +08:00
HeskeyBaozi
c523ae37b8 remove namespace & prefix 2018-08-21 18:41:35 +08:00
HeskeyBaozi
96b38dd3ec use svg icon in introduce 2018-08-21 18:33:52 +08:00
HeskeyBaozi
1b93d795e0 normalize scriptUrl 2018-08-21 18:00:08 +08:00
HeskeyBaozi
ed19561fdd Icon: url => scriptUrl 2018-08-21 17:52:41 +08:00
mofelee
611c127f6b Update index.zh-CN.md 2018-08-21 17:34:13 +08:00
HeskeyBaozi
3b598eafe1 update pagination test snapshot 2018-08-21 17:14:35 +08:00
HeskeyBaozi
b58e74de9f use svg icon in pagination 2018-08-21 17:13:12 +08:00
HeskeyBaozi
ea6656f734 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-21 16:32:30 +08:00
afc163
aba2f5e091 fix test case 2018-08-21 15:59:24 +08:00
afc163
60cff5de40 tweak wave effect detail 2018-08-20 23:55:35 +08:00
afc163
041173f059 tweak animation arguments 2018-08-20 21:02:51 +08:00
afc163
5e37710ecb improve click effect 2018-08-20 20:59:48 +08:00
afc163
e610830a1a Fix blurry checkbox style in windows chrome
https://stackoverflow.com/a/50412034/3040605

close #11797
2018-08-20 19:02:48 +08:00
HeskeyBaozi
88fa58aafa icon English docs 2018-08-20 17:23:28 +08:00
HeskeyBaozi
9330aaec06 update table test snapshot 2018-08-20 15:37:55 +08:00
afc163
40a702cebe fix locale-provide demo 2018-08-20 15:09:44 +08:00
afc163
ab7855d104 demo: update badge demo 2018-08-20 15:07:05 +08:00
afc163
22162fe04b Fix badge zoom animation style 2018-08-20 14:53:58 +08:00
HeskeyBaozi
65600c8a95 upgrade to 3.8.2 2018-08-20 14:00:51 +08:00