Commit Graph

500 Commits

Author SHA1 Message Date
Benjy Cui
e9111a855f refactor: remove propTypes in private components 2016-10-24 16:51:53 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
afc163
1da5490ab8 Fix badge initial position jump bug 2016-10-24 11:48:25 +08:00
afc163
12e1735255 fix badge[style] 2016-10-24 11:34:12 +08:00
Benjy Cui
f52dcbfb37 chore: add warning for invalid usage, close: #3475 2016-10-19 09:45:46 +08:00
afc163
6dd222a8a4 Refactor code of status Badge 2016-10-12 19:42:10 +08:00
afc163
33b8b3345b Merge branch "1.x-stable" 2016-09-21 22:01:54 +08:00
afc163
11b019667c Fix badge props, close #3109 2016-09-21 21:52:43 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +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
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
Benjy Cui
969cbed2ca docs: update demo of Badge 2016-09-13 10:27:16 +08:00
Benjy Cui
1dac1370de deps: replace obejct.omit with omit.js, close: #2988 (#2994) 2016-09-10 17:17:55 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +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
afc163
730dbc72f7 Add typings 2016-07-14 18:15:59 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
Benjy Cui
6ee3da59c1 fix: badge scrollnumber 2016-07-11 11:50:34 +08:00
偏右
bb03c89ebf docs: translate badge to english (#2269) 2016-07-11 11:45:42 +08:00
afc163
94fe25f1b3 Merge 1.x-stable 2016-07-08 17:31:03 +08:00
afc163
45db4cab50 improve props passing 2016-07-08 17:17:57 +08:00
afc163
f675b636cd Merge 1.x-stable 2016-07-08 16:34:02 +08:00
ddcat1115
fe4dfa05b0 fix #2258 for Badge Spin 2016-07-08 10:14:45 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
11283d01a3 Merge 1.x-stable 2016-06-28 22:14:53 +08:00
afc163
d4b57fa4c8 Fix Badge render bug in Chrome, close #2208 2016-06-28 19:57:14 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
yiminghe
777692a207 fix index 2016-06-01 12:09:32 +08:00
yiminghe
56f4f0688d clean deps 2016-05-26 12:52:07 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
fcf3242570 upgrade eslint-config-airbnb and fix lints 2016-05-10 15:15:09 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
f13e40b887 Fix: isomorphic badge & spin
close #1300 again
2016-03-30 23:02:11 +08:00
afc163
7d700b01cc Fix server render difference
close #1300

ref #215
2016-03-30 19:39:20 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +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
a553f6b299 typo 2016-03-09 11:59:02 +08:00
afc163
1c5bc26e9f Fix badge in old webkit browser 2016-03-09 11:57:00 +08:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
afc163
6f20df5d5b update count render, ref #983 2016-02-02 18:23:00 +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
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
afc163
1e001d2d82 upgrade eslint-config-airbnb 2016-01-11 09:48:29 +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
5e18c37cce Add overflowCount for badge, close #660 2015-12-11 17:57:09 +08:00
afc163
c269f65d08 Fix badge count always 0 bug in IE8/9, #605 2015-11-27 15:45:38 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
a1e2099d4a update ScrollNumber render 2015-11-25 11:08:26 +08:00
afc163
47c8f3de69 improve badge anim 2015-11-24 15:29:57 +08:00
afc163
9d4aa291f3 Refactor ant scroll number 2015-11-23 23:01:04 +08:00
afc163
3768e49597 improve code style 2015-11-23 17:19:35 +08:00
jljsj
8026a92974 update transition-duration 2015-11-23 15:39:55 +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
55b9ec3feb update badge open max 99 2015-11-20 17:00:38 +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
57cde4ab18 update badge number 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
f7c3550377 document for 0 value 2015-11-04 18:02:59 +08:00
afc163
75ca864dec document for 0 value 2015-11-04 18:02:36 +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
偏右
5ab1a16a32 Merge pull request #443 from coderhaoxin/fix-badge-count
fix: get count from props
2015-10-28 17:51:14 +08:00
haoxin
147ffa4209 fix: get count from props 2015-10-28 17:47:28 +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
8ba3dedeec update badge index.md 2015-09-01 17:48:22 +08:00
afc163
034b561948 Fix PropTypes 2015-09-01 17:19:31 +08:00
afc163
3165da4246 update badge 2015-09-01 17:16:51 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
afc163
af2425d7d5 Add component badge 2015-09-01 13:59:45 +08:00