Commit Graph

205 Commits

Author SHA1 Message Date
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
afc163
8155756826
site: 💄 optimize icon doc 2019-04-08 10:17:03 +08:00
偏右
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