Commit Graph

105 Commits

Author SHA1 Message Date
afc163
fc6ac421c2 Refactor Badge and support count as custom component
close #11134
close #12140
2018-10-16 15:07:24 +08:00
afc163
fd409df14d tweak badge vertical align 2018-09-11 19:04:35 +08:00
afc163
ab7855d104 demo: update badge demo 2018-08-20 15:07:05 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
Ludwig Bäcklund
74d81c2d07 Add title prop to Badge that shows when hovering it 2018-04-12 11:53:32 +08:00
Mathew
947cee4475 fix issue #9359 (#9364)
* fix issue #9359

* fix trailing whitespaces
2018-02-24 11:40:44 +08:00
afc163
914fec9ac4 Tweak badge padding 2017-10-18 17:19:42 +08:00
afc163
26e416c364 Tweak style 2017-10-16 19:56:04 +08:00
afc163
a88f8fcc21 fix badge demo 2017-07-31 18:03:16 +08:00
Benjy Cui
ef2375885e feat: support Badge[showZero], close: #4251 (#5096) 2017-03-01 11:16:58 +08:00
Wei Zhu
1fc8990531 docs: Rewrite Badge demos to ES6 component 2017-02-19 20:27:06 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
偏右
f786f607cf Fix misplace Badge when browser zoom above 100% (#4749)
close #4747 #4290 #4176
2017-02-03 14:20:42 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
Benjy Cui
e6052d5832 docs: update demo for badge 2016-12-20 11:06:40 +08:00
afc163
bd8482c893 update doc 2016-11-03 16:59:42 +08:00
afc163
6dd222a8a4 Refactor code of status Badge 2016-10-12 19:42:10 +08:00
Shawn Sit
7ce12fe36a doc: demo translation enhancement (#3033)
* doc enhancement

* keep chinese simplified demo
2016-09-18 14:30:37 +08:00
Marius Ileana
3d25f65c2b docs: Badge - demos - english translation (#3058) 2016-09-18 09:06:31 +08:00
Benjy Cui
969cbed2ca docs: update demo of Badge 2016-09-13 10:27:16 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
Benjy Cui
ff19dcc1fc feat: add Badge[status, text], close: #2715 (#2780)
* feat: add Badge[status, text], close: #2715

* feat: optimize Badge[status, text]
2016-08-20 17:43:46 +08:00
偏右
bb03c89ebf docs: translate badge to english (#2269) 2016-07-11 11:45:42 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
e044041305 fix(badge): fix count not change, close #983 2016-02-02 18:17:50 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
Benjy Cui
155c22efd4 docs: update demo 2015-12-22 14:49:46 +08:00
Benjy Cui
24398cd3e5 docs: add demo for overflowCount 2015-12-22 14:34:31 +08:00
afc163
8a69058364 badge can be use like <Badge />, ref #413 2015-12-18 17:29:06 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
jljsj
64be14e89e update 2015-11-23 15:21:52 +08:00
jljsj
f7176f31f4 Merge branch 'badge-anim' of github.com:ant-design/ant-design into badge-anim 2015-11-23 15:19:00 +08:00
jljsj
23b5bf0cb0 update badge getTranslateY 2015-11-23 15:08:19 +08:00
afc163
250836371b improve code style 2015-11-20 21:44:05 +08:00
jljsj
7ce4a11d62 update badge number 2015-11-20 17:00:39 +08:00
jljsj
b08513a082 update badge number utils 2015-11-20 17:00:39 +08:00
jljsj
a834a9f83e update badge anim demo 2015-11-20 17:00:39 +08:00
jljsj
75d2d21b0b update badge anim 2015-11-20 17:00:39 +08:00
jljsj
0a1c8ba811 update badge anim 0-9, 9-0 2015-11-20 17:00:38 +08:00
jljsj
ae287a2b68 update badge change.md 2015-11-20 17:00:38 +08:00
jljsj
a52567bee6 add badge the number scroll anim 2015-11-20 17:00:38 +08:00
afc163
c301c6b06d improve code style 2015-11-19 00:13:16 +08:00
jljsj
58f4c2f086 add badge anim 2015-11-18 23:42:01 +08:00
afc163
bf8b156413 Add badge demo 2015-11-18 17:05:56 +08:00
afc163
27155b5d81 hide badge when count is 0, fix #476 2015-11-04 18:00:37 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
elrrrrrrr
7f701cc2b7 chore: 迁移 badge iconfont 2015-10-02 14:23:53 +08:00
afc163
63fa44867c update badge style 2015-09-18 17:24:14 +08:00
afc163
af2425d7d5 Add component badge 2015-09-01 13:59:45 +08:00