Commit Graph

38 Commits

Author SHA1 Message Date
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
afc163
6ee804cc66 update tag demo 2016-05-08 18:21:59 +08:00
afc163
adc89d4809 Merge branch master into develop-1.0.0 2016-04-17 18:00:46 +08:00
afc163
0fb0b465f6 Fix extra afterClose callback of Tag
close #1435
2016-04-16 20:24:50 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Bruce Mitchener
71594b0e5c Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.

This makes all existing ES2015 class usages in components use the
same mechanism for binding.
2016-03-28 20:36:11 +07:00
ShiTengFei
896c940768 Fixed lint error. 2016-03-27 18:06:09 +08:00
Mr.Tone
56b0650734 preventDefault for onClose. 2016-03-24 22:12:21 +08:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
afc163
30238a759c Fix Tag nested bug, close #1111 2016-03-03 12:16:25 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
afc163
dc1e05f9e9 fix(tag): Add enter animation 2016-01-27 14:48:25 +08:00
afc163
62dbc54eb2 improve tag code style 2016-01-27 01:51:54 +08:00
afc163
5602d90f12 improve tag code style 2016-01-27 01:47:12 +08:00
afc163
a75dfe8fd6 Add tag control demo 2016-01-27 01:20:05 +08:00
afc163
5719a83f36 chore(tag): some code style 2016-01-26 23:40:20 +08:00
zhangpc
db2ef44617 remove href attributes of tag 2016-01-14 09:26:20 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
afc163
e058e67cb4 fix iconfont 2015-11-20 11:05:34 +08:00
afc163
c301c6b06d improve code style 2015-11-19 00:13:16 +08:00
Benjy Cui
f7a8b11243 chore: remove deprecated APIs 2015-10-21 17:59:57 +08:00
elrrrrrrr
725a142669 chore: 迁移 tag iconfont 2015-10-02 16:39:15 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
yiminghe
7a6f190e9e upgrade animate 2015-08-24 00:50:22 +08:00
afc163
3a134c7219 Fix tag closing meaning 2015-08-21 17:27:29 +08:00
jljsj
ab09f9e537 add tag and uploadlist motion 2015-08-21 17:12:42 +08:00
afc163
9b28e46d4c still use Magic offsetWidth set 2015-08-20 13:56:08 +08:00
afc163
75fca79313 remove magic code, use getBoundingClientRect replace offsetWidth 2015-08-20 13:48:17 +08:00
afc163
59ea12f172 Fix tag render 2015-08-20 11:46:02 +08:00
afc163
e2ceed2dc6 Remove unused statement 2015-08-19 19:21:40 +08:00
afc163
cbd5a81a22 do not remove element manully when closing tag 2015-08-19 19:19:35 +08:00
afc163
3d975e4495 code style 2015-08-19 17:50:20 +08:00
jljsj
357cd5e37d add dom.remove 2015-08-19 17:35:18 +08:00
jljsj
ac27a1814d add tag animation 2015-08-19 17:26:55 +08:00
afc163
e00a562ca9 优化 Tag 关闭的逻辑, #84 2015-07-30 23:52:44 +08:00
afc163
3c47cf2039 set event as onClose argument 2015-07-29 20:13:42 +08:00
afc163
2e0be628a7 update tag style 2015-07-28 20:03:10 +08:00
afc163
6344e9151b Add component tag 2015-07-28 17:08:06 +08:00