Commit Graph

134 Commits

Author SHA1 Message Date
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
afc163
f675b636cd Merge 1.x-stable 2016-07-08 16:34:02 +08:00
afc163
9e4c02aabd Fix checkbox API table style 2016-07-08 15:58:25 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
RaoHai
18f35047ec Rewrite Checkbox in typescript
+ add return type of splitObject
 + rewrite `import React from 'react'` to `import * as React from 'react'`
 + rewrite Checkbox in typescript
2016-06-30 10:05:29 +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
afc163
ef4c1a4749 Merge branch '1.x-stable' 2016-06-27 17:58:16 +08:00
afc163
f31e4b6186 Fix checkbox margin 2016-06-27 14:52:46 +08:00
afc163
cc4cab5b1e Merge 1.x-stable 2016-06-23 23:11:14 +08:00
afc163
230016825e Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-06-23 12:32:24 +08:00
afc163
3310f59d20 Fix Checkbox check rotate in IE8, close #2148 2016-06-23 12:30:45 +08:00
ddcat1115
618bea689d fix #2114 (#2146) 2016-06-23 11:15:24 +08:00
afc163
695c26c859 Merge 1.x-stable 2016-06-22 22:56:55 +08:00
afc163
3cf0a59916 Better default margin for Checkbox & Radio, close #2137 2016-06-22 18:08:52 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
偏右
09db9f2436 Revert "Remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead" (#2074) 2016-06-16 22:06:06 +08:00
Leon Shi
0f8855dff7 remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead (#2055) 2016-06-15 16:57:06 +08:00
Leon Shi
71fc0774c0 implement shouldComponentUpdate to make the re-render much faster for Checkbox 2016-06-08 19:43:46 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
RaoHai
d6c0aa2e1c Checkbox show its label while label equals number 0.
close #1811
2016-05-23 17:37:31 +08:00
Leon Shi
48317ad261 Improve Checkbox style for Transfer custom render 2016-05-18 15:34:18 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
d57632ca5b Fix CheckboxGroup initialValue, close #1631 2016-05-11 11:30:10 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +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
yiminghe
1021d62ef6 fix checkbox 2016-04-27 21:47:47 +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
e59715f98d fix checkbox and radio empty span 2016-04-14 14:23:12 +08:00
afc163
dab3ce4513 Add focused style to Select & TreeSelect 2016-04-08 15:30:49 +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
Benjy Cui
fd3406bd03 style: enable react/jsx-no-bind 2016-03-30 17:06:19 +08:00
Bruce Mitchener
ba965dc746 Convert several React.createClass usages to classes. 2016-03-29 11:13:04 +07:00
Bruce Mitchener
63c06e8652 Use ES2015 classes instead of React.createClass.
Make Breadcrumb, Checkbox, Dropdown, Steps and Timeline
components use ES2015 classes rather than React.createClass.

This includes:

* getDefaultProps method becomes a defaultProps value on the
  constructor.
* propTypes becomes a value on the constructor.
2016-03-18 09:35:15 +07:00
闲耘™
e0172caee4 feat(checkbox group): checkbox group support disable specified item. 2016-03-17 11:31:36 +08:00
afc163
ca15c9832e CheckboxGroup support label in option
close #1155, #1025
2016-03-09 21:10:00 +08:00
Benjy Cui
e571fb359c Merge pull request #1029 from ant-design/checkbox-new-usage
Make Checkbox usage same as Radio
2016-03-08 17:17:39 +08:00
afc163
7ce38e39b6 Fix CheckboxGroup value, close #1101 2016-03-01 17:01:03 +08:00
afc163
feaf02b406 make Checkbox usage same as Radio 2016-02-24 20:28:23 +08:00
afc163
c63f0b8060 update demo text 2016-02-21 14:14:59 +08:00
afc163
e539e08f4e Fix CheckboxGroup initial state 2016-02-21 14:13:33 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
yiminghe
dc3b34510b compatible with rc-form 2016-01-14 19:15:21 +08:00
afc163
a16903009e merge from master 2016-01-13 22:22:33 +08:00
afc163
4cd73289b3 update checkbox use instruction, fix #860 2016-01-13 21:56:51 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +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
afc163
c45c6877f8 fix lint problems 2015-12-27 16:20:59 +08:00
afc163
ca4f159145 update demo name 2015-12-25 11:56:25 +08:00
afc163
e14ee95e8f improve checkbox group
1. Add basic style
2. make it controlled component
3. code style
2015-12-25 11:48:59 +08:00
加缪
1f8e83c649 again fix group.md 2015-12-25 11:48:59 +08:00
加缪
6c5794e8ee fix group.md eslint 2015-12-25 11:48:59 +08:00
加缪
5000fa6b87 fix ant-design eslint 2015-12-25 11:48:59 +08:00
加缪
e0e94ef709 checkbox demo complete 2015-12-25 11:48:58 +08:00
Benjy Cui
7f2957b23b style: unify demos' code style 2015-12-16 15:25:15 +08:00
afc163
d9eaffb0c8 upgrade nico-jsx for marked and babel6 inside it 2015-12-03 17:41:44 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
cad3fdff45 lg => large, sm => small 2015-10-26 11:02:48 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
dc62d38456 fix code style 2015-08-18 14:03:44 +08:00
ustccjw
b34269a6b1 use es6 module import/export
convert var to const

fix bug

fix bug

fix for jshint

fix import
2015-07-24 11:22:49 +08:00
afc163
fa9914f34a components order 2015-07-20 12:28:36 +08:00
afc163
0e9335246c fix checkbox and radio 2015-07-17 11:06:38 +08:00
jljsj
200b856bba add radio 2015-07-16 18:23:25 +08:00
afc163
f394747429 fix checkbox demo 2015-07-16 14:48:57 +08:00
afc163
1638d49892 update checkbox demos 2015-07-16 14:34:42 +08:00
afc163
d651364968 whitespace 2015-07-16 13:49:36 +08:00
afc163
8a84bb264b Merge 2015-07-16 13:36:04 +08:00
yiminghe
d1cfcc83db update checkbox demo 2015-07-16 12:29:07 +08:00
afc163
86b722671a update checkbox style 2015-07-16 12:27:04 +08:00
yiminghe
5ffcbfefb4 fix checkbox style 2015-07-16 12:20:14 +08:00
蔡伦
40595178ce demo update 2015-07-15 16:01:24 +08:00
蔡伦
26c42c6cec add checkbox 2015-07-15 15:19:24 +08:00