Commit Graph

129 Commits

Author SHA1 Message Date
马斯特
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
kvetoslavnovak
10709251ec #1471 (#3000)
#1471
2016-09-11 00:30:08 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +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
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +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
afc163
7cb1fb02b8 color fix inside button #1882 2016-05-28 15:47:02 +08:00
afc163
4b00e05cfb fix for button ummount 2016-05-28 15:31:39 +08:00
Benjy Cui
f22e682217 docs: update translation 2016-05-25 09:43:26 +08:00
afc163
62e55e2080 update button demo 2016-05-18 14:40:09 +08:00
afc163
8bd421efc7 fix loading button clicked effect 2016-05-18 13:15:42 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
be2bac4b25 site: resolve rebase errors 2016-05-16 15:41:55 +08:00
Benjy Cui
d2a4dcf1eb docs: hide style 2016-05-16 15:41:55 +08:00
Benjy Cui
518495a948 docs: update translation 2016-05-16 15:41:55 +08:00
Benjy Cui
5909438ed3 docs: update translation 2016-05-16 15:41:55 +08:00
Benjy Cui
2fe4a49182 docs: translate the documentation of Button to English 2016-05-16 15:41:55 +08:00
Benjy Cui
8971074b3d site: add i18n for common md file 2016-05-16 15:41:55 +08:00
Benjy Cui
b9a550c0fe site: i18n for demo 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
8b894f908d upgrade antd-tools and fix typo 2016-04-29 22:24:20 +08:00
afc163
c66a226004 Fix lesshint problems 2016-04-29 17:03:28 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
e071fc4aa9 Fix disabled button event bubble
close #1541

ref http://stackoverflow.com/a/17877723
2016-04-29 00:43:03 +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
afc163
7e3b52f0fb Merge branch master into develop-1.0.0 2016-04-20 12:18:59 +08:00
afc163
6dc187e5f4 Not focus it when click button
91117c0faa (diff-39f43a348016e3a62dc9c315917c402bR108)
2016-04-20 12:14:57 +08:00
afc163
07ea8ff323 Merge branch master into develop-1.0.0 2016-04-18 17:24:51 +08:00
afc163
63e110fbc6 fix #1442 2016-04-18 17:02:05 +08:00
afc163
cc2f93a4e1 loading button should not be transparent 2016-04-15 16:21:08 +08:00
Benjy Cui
047bfc2574 style: enable react/prefer-stateless-function 2016-04-13 17:38:53 +08:00
afc163
b4be06f816 improve button loading animation 2016-04-12 12:17:03 +08:00
afc163
5f0b1ef006 Fix button text span wrap 2016-04-12 11:56:14 +08:00
afc163
e4c3faeabc fix size propTypes 2016-04-06 15:52:38 +08:00
afc163
41182f5619 fix prefixCls 2016-04-06 15:50:58 +08:00
afc163
611665fa6d button contains icon only should has smaller padding 2016-04-06 15:43:50 +08:00
afc163
5b1ccce554 fix button demo 2016-04-05 19:33:26 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
d75c0d0b24 Merge pull request #1307 from ant-design/docs-format
Update docs format
2016-03-31 15:48:38 +08:00
afc163
5c884a64c4 Remove Button type PropTypes limit, close #1308 2016-03-31 14:57:29 +08:00
afc163
9f342a0568 update button group demo 2016-03-31 14:55:12 +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
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
afc163
72db02ef04 Add icon prop for Button, close #1199 2016-03-25 18:13:51 +08:00
闲耘™
8d817e6eee update(propTypes): more restrictions on propTypes 2016-03-16 11:27:27 +08:00