Commit Graph

232 Commits

Author SHA1 Message Date
Wei Zhu
ee84f4ce0a fix: some type definitions 2018-09-30 16:07:01 +08:00
Wei Zhu
3d58ea4d4c Don't need prepend https to script url 2018-09-29 16:45:57 +08:00
Wei Zhu
c3b2d59bc8 Revert "Feature Icon.createFromIconfontCN adaptive http or https (#12344)"
This reverts commit 7c67dacc12.
2018-09-29 16:44:57 +08:00
Wei Zhu
4ce3800de7 Merge branch 'master' into feature 2018-09-29 16:27:07 +08:00
Wei Zhu
335f821aec fix: warning on conflicting theme of Icon
fix #12441
2018-09-28 19:31:50 +08:00
Wei Zhu
03bf891259 docs: uppercase SVG 2018-09-28 14:48:56 +08:00
Wei Zhu
17e2002c3c docs: Update icon docs 2018-09-28 14:45:35 +08:00
qiaojie
7c67dacc12 Feature Icon.createFromIconfontCN adaptive http or https (#12344)
close #12316
2018-09-21 19:07:13 +08:00
afc163
c4b17f23ef doc: move font icon doc before svg icon 2018-09-21 00:00:19 +08:00
afc163
c21ff5251d Fix React.Children.only error when Icon contain children
<Icon>xxx</Icon>
2018-09-19 11:38:07 +08:00
afc163
adb2637fdb site: improve icon documentation about svg icons 2018-09-16 15:09:58 +08:00
HeskeyBaozi
c76a90b2b7 fix tweak icon 2018-09-07 14:14:23 +08:00
HeskeyBaozi
9fae6b443d remove fields.js 2018-09-07 14:14:23 +08:00
HeskeyBaozi
71baf32151 add unstable methods 2018-09-07 14:14:23 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
HeskeyBaozi
c0f709c35c icon-docs: remove namespace fields 2018-09-04 19:22:25 +08:00
afc163
54a1534a3d Add test case for Tooltip and Icon 2018-09-03 17:41:48 +08:00
HeskeyBaozi
f2467a1f69 fix: can not use iconfont 2018-09-03 13:10:49 +08:00
HeskeyBaozi
6f835e6b7a bugfix: fix iconfont unuseful 2018-09-03 13:10:49 +08:00
HeskeyBaozi
633d73b21a fix Icon.createFromIconfontCN usage 2018-09-03 12:00:27 +08:00
afc163
1ecd2b4150 upgrade snapshot 2018-09-03 11:33:19 +08:00
afc163
c4b6dafb64 should passing all props to icon, close #12005 2018-09-03 11:33:19 +08:00
afc163
1fc9ad6129 improve two-tone.md and icon doc 2018-09-03 00:30:41 +08:00
HeskeyBaozi
24568f61ff use the whole svg icons 2018-09-02 23:39:58 +08:00
afc163
3661689ad3 Add old-icons.md for test 2018-09-02 23:22:05 +08:00
HeskeyBaozi
52f162533c fix icon test coverage 2018-09-02 20:59:37 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
3859a60d3e fix the default theme outlined 2018-09-02 20:59:37 +08:00
HeskeyBaozi
4ceeab77d1 two-tone color setting docs 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d246724205 fix icon test case 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
4d681c7fd3 optimize icon docs 2018-09-02 20:59:37 +08:00
HeskeyBaozi
27c9754feb optimize icon docs: nomalize title 2018-09-02 20:59:37 +08:00
HeskeyBaozi
866ff008bb add tip title before icon font method 2018-09-02 20:59:37 +08:00
HeskeyBaozi
f23b30e8d7 add new api tips in Icon docs 2018-09-02 20:59:37 +08:00
HeskeyBaozi
b8b64f92c8 remove prop 'svgStyle' and i think it's really good 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
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
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
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
afc163
b84d515969 site: add promote badge 2018-08-31 17:03:27 +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
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +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
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
abfd50a7bf use component 2018-08-24 19:47:07 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
af11401d33 upgrade svg 2018-08-24 17:36:22 +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
1b93d795e0 normalize scriptUrl 2018-08-21 18:00:08 +08:00
HeskeyBaozi
ed19561fdd Icon: url => scriptUrl 2018-08-21 17:52:41 +08:00
HeskeyBaozi
88fa58aafa icon English docs 2018-08-20 17:23:28 +08:00
HeskeyBaozi
65600c8a95 upgrade to 3.8.2 2018-08-20 14:00:51 +08:00
HeskeyBaozi
1603cec802 upgrade icon docs 2018-08-16 18:44:43 +08:00
HeskeyBaozi
8c4f98572b update tab snapshot 2018-08-16 16:15:25 +08:00
HeskeyBaozi
b5db75f8ea upgrade svg tabs prev & next icon 2018-08-16 16:13:18 +08:00
HeskeyBaozi
7a31fd37ad Icon.create => Icon.createFromIconfontCN 2018-08-16 15:22:38 +08:00
HeskeyBaozi
6557917554 update custom demo 2018-08-16 14:46:31 +08:00
HeskeyBaozi
f275f3090a update Icon api 2018-08-16 11:41:37 +08:00
HeskeyBaozi
7925355ca7 upgrade Icon api 2018-08-15 17:21:02 +08:00
HeskeyBaozi
cd778e7a57 upgrade Icon api 2018-08-15 17:19:13 +08:00
HeskeyBaozi
48bd38b6af update icon test cases 2018-08-14 17:37:23 +08:00
HeskeyBaozi
3f9d5e949f update icon demo code 2018-08-14 17:17:51 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
b9a9c308c9 [breaking] remove iconfont-font class helper 2018-08-14 15:31:20 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
15bc92dd3c remove useless jsx prop 2018-08-07 16:35:26 +08:00
HeskeyBaozi
f90d32a0ef fix lint 2018-08-06 20:16:32 +08:00
HeskeyBaozi
bcfbf1f46a update docs & support svg-sprite-loader 2018-08-06 18:10:30 +08:00
HeskeyBaozi
535f68dbd0 add icon features 2018-08-04 18:42:41 +08:00
HeskeyBaozi
ee16585b6d update test cases 2018-07-25 11:51:19 +08:00
HeskeyBaozi
2c53e988a1 it should pass style to svg 2018-07-23 20:12:59 +08:00
HeskeyBaozi
87594997d2 ignore className and style props 2018-07-23 12:06:07 +08:00
HeskeyBaozi
ae8f29d628 update test snapshot 2018-07-23 09:55:13 +08:00
HeskeyBaozi
2485d0de62 hotfix: svg sprite demo 2018-07-20 17:09:26 +08:00
HeskeyBaozi
e07dfea33f chinese api doc 2018-07-20 16:55:45 +08:00
HeskeyBaozi
fa31c34f78 optimize CustomIcon, modify option field scriptLink => scriptUrl. 2018-07-20 10:32:00 +08:00
HeskeyBaozi
e07321024a fix demo for ssr 2018-07-19 21:15:51 +08:00
HeskeyBaozi
50f5ee9059 tslint fix 2018-07-19 21:07:33 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
05ef3127bd use typeof to judge DOM object. 2018-07-19 20:32:34 +08:00
HeskeyBaozi
a5b85fd520 remove AntdIcon.library, make it inner. 2018-07-19 20:24:04 +08:00
HeskeyBaozi
5b5af6ae77 hotfix: svg should receive viewBox prop. 2018-07-19 20:10:36 +08:00
HeskeyBaozi
3589159489 use <i/> to wrap <svg/>, <i/> only inherit className. 2018-07-19 20:08:04 +08:00
HeskeyBaozi
0db233ddb6 update icon chinese doc 2018-07-19 19:24:19 +08:00
HeskeyBaozi
6b8360c349 add viewBox attr & create method can add extra props 2018-07-19 19:23:33 +08:00