Commit Graph

70 Commits

Author SHA1 Message Date
偏右
189ad71d32
Revert "chore: use none-dist icons entry" 2019-07-09 11:33:03 +08:00
afc163
390807605e
🔧 use none-dist icons entry 2019-07-08 20:46:19 +08:00
zombieJ
5987792a44
fix: typescript definition update (#16202)
* fix lint

* update snapshot

* update define
2019-04-20 23:38:02 +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
偏右
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
488f5a101d Fix <Icon type="cross" /> compatibility, #12970 2018-11-06 11:41:05 +08:00
Wei Zhu
3dbc357ff2 Update Icon typeings 2018-10-22 13:36:03 +08:00
Wei Zhu
ee84f4ce0a fix: some type definitions 2018-09-30 16:07:01 +08:00
Wei Zhu
335f821aec fix: warning on conflicting theme of Icon
fix #12441
2018-09-28 19:31:50 +08:00
afc163
c21ff5251d Fix React.Children.only error when Icon contain children
<Icon>xxx</Icon>
2018-09-19 11:38:07 +08:00
HeskeyBaozi
c76a90b2b7 fix tweak icon 2018-09-07 14:14:23 +08:00
HeskeyBaozi
71baf32151 add unstable methods 2018-09-07 14:14:23 +08:00
afc163
c4b6dafb64 should passing all props to icon, close #12005 2018-09-03 11:33:19 +08:00
HeskeyBaozi
3859a60d3e fix the default theme outlined 2018-09-02 20:59:37 +08:00
HeskeyBaozi
4d681c7fd3 optimize 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
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
7ffb205efe two-tone -> twoTone 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
HeskeyBaozi
1603cec802 upgrade icon docs 2018-08-16 18:44:43 +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
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
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
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
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
a5b85fd520 remove AntdIcon.library, make it inner. 2018-07-19 20:24:04 +08:00
HeskeyBaozi
3589159489 use <i/> to wrap <svg/>, <i/> only inherit className. 2018-07-19 20:08:04 +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