Commit Graph

261 Commits

Author SHA1 Message Date
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
HeskeyBaozi
5b87f32cff don't need to locally deploy any more. 2018-07-19 12:27:06 +08:00
HeskeyBaozi
3bf122abac make <CustomIcon/> as an inner component in <Icon/> 2018-07-19 12:23:33 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00
HeskeyBaozi
7503a0c827 use antd-icons 2018-07-18 10:07:10 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Wei Zhu
2437ca419e Use snapshot test 2017-09-15 10:50:45 +08:00
Khalifa Lame
ec2322a906 Update Icon English doc (#7441)
Fixed small typo.
2017-09-04 21:01:48 +08:00
afc163
e13ffac490 update doc 2017-06-13 17:36:54 +08:00
afc163
d7837da175 Fix icon API documentation 2017-06-07 17:06:21 +08:00
afc163
8703145d70 Fix prop-types and createClass warning, #5678 2017-05-18 14:22:47 +08:00
afc163
31273135e2 remove displayName 2017-04-13 11:10:40 +08:00
偏右
c1c261e081 Merge pull request #5643 from handycode/patch-1
fix: Icon add displayName
2017-04-13 11:05:36 +08:00
afc163
a8808c45ac react-addons-test-utils => react-dom/test-utils 2017-04-12 20:49:02 +08:00
afc163
11852b815a Add instruction for setting iconfont size and color, ref #2125 2017-04-06 20:52:43 +08:00
handycode
4b6c5643e7 Update index.tsx 2017-04-06 11:51:48 +08:00
handycode
4736a1b990 Update index.tsx 2017-04-06 03:41:03 +08:00
handycode
fb837ea9a8 Update index.tsx 2017-04-06 03:36:54 +08:00
handycode
99639bf5de Update index.tsx 2017-04-06 03:24:47 +08:00
handycode
93cc6d5cbc Icon组件增加displayName 2017-04-06 02:50:12 +08:00
afc163
9a72f94027 update documentation of icon 2017-03-19 14:12:58 +08:00
afc163
b3982ad210 site: improve copy icon and color 2017-03-10 18:04:14 +08:00
afc163
7645a77c44 Update iconfont url and docs 2017-03-03 14:42:00 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +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
偏右
3caa85b3f3 Merge pull request #3908 from ant-design/docs-customize-theme
Docs customize theme
2016-11-20 19:17:59 +08:00
afc163
7af7e8382d Add customize-theme.md 2016-11-18 15:38:36 +08:00
afc163
ca9ed27445 upgrade demo primary-color 2016-11-18 14:24:50 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
a7d335ec7a docs: update docs detail 2016-10-30 12:43:59 +08:00
afc163
49256c59c9 Merge branch 'master' of github.com:ant-design/ant-design 2016-10-21 20:20:03 +08:00
afc163
3bb4b6ea7c fix icon spin style, close #3536 2016-10-21 20:18:47 +08:00
feng zhi hao
0257e02e65 optimize declaration (#3531) 2016-10-21 16:27:26 +08:00
yiminghe
8afe3965c1 upgrade ts 2.0 2016-10-19 17:52:23 +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
偏右
795df0ea96 feat: Add icon[spin], close #2363 (#3322) 2016-10-08 15:09:56 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
afc163
d2effd165b update icon doc 2016-09-10 14:00:57 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Benjy Cui
cb367f3f35 site: update site details 2016-09-08 16:53:50 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
ryangun
bc651a207c docs: Translation icon (#2706) 2016-08-20 11:58:31 +08:00
Benjy Cui
3411765ce9 Refactor ts (#2760)
* refactor: add interface form Calendar

* refactor: add interface for layout

* refactor: add interface for DatePicker

* refactor: add interface for Icon

* refactor: add interface for InputNumber

* refactor: add interface for Input
2016-08-19 17:11:06 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
afc163
75da5a358a fix some site style 2016-07-26 19:45:55 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
Benjy Cui
0869e2959a docs: translate message 2016-07-04 10:44:55 +08:00
afc163
9bf8c81ec8 fix icon.tsx 2016-06-28 22:22:42 +08:00
afc163
11283d01a3 Merge 1.x-stable 2016-06-28 22:14:53 +08:00
jiang
d5d7aa48b3 Alert tag animate (#2209)
* fix alert animation

* improve code
2016-06-28 22:13:11 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
RaoHai
ff31a5b555 Revert "Revert "refactor with bisheng""
This reverts commit 7a07b128d1.
2016-05-27 11:48:08 +08:00
RaoHai
7a07b128d1 Revert "refactor with bisheng" 2016-05-27 11:03:49 +08:00
Benjy Cui
0d0b6b0a32 site: update 2016-05-27 09:44:07 +08:00
afc163
7c2ac50ca7 Add new icons, close #1170
`pushpin` `pushpin-o` `enter` `file-pdf` `file-ppt` `file-excel`
`file-jpg`
2016-05-23 16:41:33 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
3487e06f28 fix detail site style 2016-05-11 00:24:00 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
Benjy Cui
71e4a6fb7d site: support import style respectivly 2016-04-08 15:29:04 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
ebab622add Merge branch 'master' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-15 09:47:55 +08:00
afc163
ece5b0cfb2 Add docs for #1193 2016-03-14 18:39:32 +08:00
Benjy Cui
ba9ec11079 chore: support IconSet 2016-03-10 10:50:39 +08:00
afc163
5035a3ec5c Add new icons 2016-03-06 00:10:20 +08:00
afc163
aa16f6c398 Fix(site): fix icon copy text 2016-02-23 14:36:24 +08:00
afc163
d4a65d14ba Merge branch 'master' into new-design-spec 2016-01-13 16:30:30 +08:00
afc163
33f2863e68 update new design spec style 2016-01-13 15:11:54 +08:00
afc163
7470b3e5c5 Fix qrcode icon, close #772 2016-01-12 19:00:40 +08:00