Commit Graph

174 Commits

Author SHA1 Message Date
Ludwig Bäcklund
74d81c2d07 Add title prop to Badge that shows when hovering it 2018-04-12 11:53:32 +08:00
Wei Zhu
43537ed368 Fix type error
Close #9931
2018-04-04 17:51:51 +08:00
afc163
454567dee4 remove !important 2018-03-23 11:45:39 +08:00
Mathew
947cee4475 fix issue #9359 (#9364)
* fix issue #9359

* fix trailing whitespaces
2018-02-24 11:40:44 +08:00
George Gray
053396810b add @badge-font-weight var (#9352) 2018-02-14 12:35:52 +08:00
afc163
ba236419be Fix badge API doc 2018-02-11 19:21:12 +08:00
bzone
3418cb8a60 update Badge doc (#8905)
* Update index.zh-CN.md

* Update index.en-US.md
2018-01-13 04:10:45 -06:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
Wei Zhu
db560bb10d Fix implicit any error for Badge 2017-11-22 11:25:05 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
afc163
3c648820a0 Fix badge style 2017-11-12 14:10:41 +08:00
afc163
09af43c314 Allow Badge[status] usage with Badge[children], close #8164 2017-11-12 13:58:12 +08:00
Graeme Yeates
b46cb4b740 Add a variable to control processing colors (#8166) 2017-11-11 14:15:16 +08:00
afc163
ca1b79ad34 Add Badge[offset] 2017-11-03 11:37:35 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
afc163
914fec9ac4 Tweak badge padding 2017-10-18 17:19:42 +08:00
afc163
c5ffc3b4f0 Fix upload and badge styles 2017-10-17 15:01:21 +08:00
afc163
00bfa49031 Merge branch 'master' into antd-3.0 2017-10-16 20:45:25 +08:00
afc163
26e416c364 Tweak style 2017-10-16 19:56:04 +08:00
vgeyi
0a6475cb0d Badge add scrollNumberPrefixCls (#7882)
* badge add scrollNumberPrefixCls

* badge add scrollNumberPrefixCls
2017-10-14 14:29:18 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
Khalifa Lame
81e3429955 Update Badge English doc (#7628)
* Update Badge English doc

Fixed typos.

* Update index.en-US.md

Reverted some changes after studying the component.
2017-09-16 11:29:38 +08:00
afc163
a0a1bff7fe Use real count as badge title 2017-08-31 10:55:25 +08:00
afc163
8892d85e33 use @font-size-base for Badge[text] 2017-08-08 14:23:50 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
afc163
a88f8fcc21 fix badge demo 2017-07-31 18:03:16 +08:00
afc163
330e1f7a4b Fix badge title, close #7024 2017-07-31 18:01:45 +08:00
afc163
39207efa4d Add @badge-font-size and @tabs-title-font-size 2017-07-12 17:32:31 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign (#6677) 2017-07-03 16:57:11 +08:00
Benjy Cui
8e9a2eae38 chore: fix ts lint 2017-06-28 16:49:49 +08:00
afc163
fd625ef1a0 upgrade and fix tslint problems 2017-05-31 15:48:35 +08:00
afc163
4417dcf300 fix tsc 2017-05-29 19:06:26 +08:00
Jordan Hornblow
03adcefafd Make count prop optional in BadgeProps interface
E.g. https://ant.design/components/badge/#components-badge-demo-dot
2017-05-29 20:14:16 +10:00
Benjy Cui
0e5431d21b deps: upgrade antd-tools and code style 2017-05-25 16:54:15 +08:00
Tyler
919cb22eb7 Use the prop-types package from npm instead of React.PropTypes (#6057)
* Use the prop-types package from npm instead of React.PropTypes

* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +08:00
afc163
56775e5ed7 fix badge snap 2017-03-24 14:58:00 +08:00
afc163
b090dec8e0 Fix badge style in Maxthon, close #5477 2017-03-24 14:34:37 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
ddcat1115
7ab95b7eae - fix ts error (#5145)
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +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
afc163
49b050ccc1 Improve button and badge[status] with pulse animation 2017-02-16 17:08:15 +08:00
afc163
e5ccc1d4ba fix for stylelint 2017-02-13 15:01:02 +08:00
afc163
8726e8581b New animation for Badge[status="processing"] 2017-02-13 14:49:03 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00