Commit Graph

171 Commits

Author SHA1 Message Date
偏右
f786f607cf Fix misplace Badge when browser zoom above 100% (#4749)
close #4747 #4290 #4176
2017-02-03 14:20:42 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
Benjy Cui
4b08601f0f style: update code style 2016-12-22 17:09:11 +08:00
Benjy Cui
e6052d5832 docs: update demo for badge 2016-12-20 11:06:40 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00
Andrey G
a307a7acf7 refactor: remove unnecessary computed props for classNames (#4055)
* remove unnecessary computed props for classNames

* rollback autocomplete optimization for possible css style order issue

* update snapshots

* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Will Chen
6b774a1343 docs: improve docs' detail (#4050) 2016-11-29 17:13:24 +08:00
Wei Zhu
bd55d21f83 style: Fix jsx-no-multiline-js (#3994)
* Fix jsx-no-multiline-js

* TimePicker addon test

* Transfer search test
2016-11-25 12:03:39 +08:00
afc163
a6e09ccfd0 fix Badge z-index, close #3898 2016-11-18 11:26:29 +08:00
afc163
5d2a2cc39b Add @highlight-color less variables 2016-11-09 21:30:02 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
e4974ac72a use @font-size-base (#1752) 2016-11-08 20:57:07 +08:00
afc163
bd8482c893 update doc 2016-11-03 16:59:42 +08:00
afc163
d44271ce45 Fix badge initial position jump bug again, close #3709 2016-11-03 16:58:51 +08:00
Benjy Cui
60ecb3c628 refactor: each message should warn just once 2016-11-01 11:10:11 +08:00
Benjy Cui
e7fb3447a2 style: fix lint 2016-10-30 12:44:47 +08:00
afc163
216f046f3b Change badge count title to raw value, close #3645 2016-10-29 15:26:05 +08:00
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