Commit Graph

253 Commits

Author SHA1 Message Date
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
zombiej
752d64715b add webpack plugin link 2019-03-14 15:39:51 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
zombieJ
f483c4e604
Not show aria-label when Icon type is empty (#14972)
* remove aria-label if type is not defined

* update snapshot
2019-02-21 11:13:03 +08:00
zombieJ
c80136a9a7
New Component: Typography (#14250)
* text with prefix

* add edit style

* support editable

* enhance accessibility & type experience

* optimize IME case

* support copy

* add locale

* add secondary & disabled

* add ellipsis shadow text

* split to 3 components

* update snapshot

* update desc

* change lines also need update ellipsis

* skip aria when is in ellipsis

* add ResizeObserver in _util

* update snapshot

* move TestBase into test file

* update test case

* update doc

* fix typo

* important => level

* use rows

* update demo cols to 1

* fix cssText not work in firefox

* update doc

* add miss point

* support extendable

* update snapshot

* fix doc

* copyable support string

* update snapshot

* update doc

* update doc desc

* adjust style

* full test

* reset after test

* rename

* update snapshot

* fix compile

* adjust style

* update desc

* update prefixCls

* update margin

* adjust

* nest wrap of tag content

* adjust style

* update comment

* rm %

* one more thing

* tmp of measure

* merge string as children

* update snapshot

* update testcase

* remove comment

* use internal variable for configProvider passing

* update snapshot

* use expandable instead of extendable

* less variable it

* update demo

* update less

* adjust code & mark style

* remove mark padding

* update measure logic

* support nest element style

* use childNode.textContent to fix react 15 error

* update css

* popout Typography

* add link style

* adjust doc

* use ellipsis instead of rows & expandable

* update doc

* update doc

* update doc & style

* fix typo

* add css ellipsis support

* client render

* update snapshot

* enhance copyable

* support onExpand

* update test case

* add test of css ellipsis

* fix logic in react 15

* rename onChange -> onSave

* use tagName of article

* fix lint
2019-02-19 11:42:05 +08:00
zombieJ
0cb00e47b8
fix icon miss viewBox (#14686) 2019-02-01 23:04:41 +08:00
afc163
0b3d7d62fa
📝 fix typo 2019-01-29 10:46:42 +08:00
偏右
47e23d4137 Add expandIcon for Collapse (#14060)
close #14058 #12212
2019-01-23 10:41:07 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
afc163
fab24bf38c 🐛 Fix review problems 2018-12-28 23:00:34 +08:00
Sam Lanning
e56e1a71c3 [chore] fix useless assignments to local variables
This commit addresses all the instances of useless assignments to
local variables, as found by LGTM.com
2018-12-20 17:16:00 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
488f5a101d Fix <Icon type="cross" /> compatibility, #12970 2018-11-06 11:41:05 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
Wei Zhu
3dbc357ff2 Update Icon typeings 2018-10-22 13:36:03 +08:00
afc163
68c177cdc1 update snapshot 2018-10-10 15:12:06 +08:00
siyu77
9e72ca1b24 Update utils.ts (#12524)
Fix IE 11 or low version edge svg icon can be focusable
2018-10-10 14:12:33 +08:00
Wei Zhu
1c1a67fe1d Merge branch 'feature' 2018-09-30 16:53:28 +08:00
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