Commit Graph

167 Commits

Author SHA1 Message Date
Randy
e4c5ab9c69 Radiogroup with name (#7009)
* Add a name property for RadioGroup

* Add document for RadioGroup's name property

* Add test case for RadioGroup name property
2017-08-07 10:41:38 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
Wei Zhu
401519ec6f Fix types 2017-07-31 01:50:46 +08:00
clinyong
6f586ba243 change type of radio group value to any 2017-07-20 17:04:10 +08:00
neekey
7e522291c8 add unit px to all less value, make them explicit 2017-07-17 17:44:40 +10:00
afc163
eccaeaea0e Add click animation for checkbox and radio 2017-07-02 19:14:56 +08:00
Pierre Neter
f512baeb71 Add relative for radio-button-wrapper.
Fix e585103d4d (commitcomment-22720463)
2017-06-24 01:22:35 +07:00
Harshit Mehrotra
c7c3625899 Update docs for checkbox and radio
Update docs with prop "disabled" for Radio, RadioGroup, Checkbox and CheckboxGroup.
2017-06-23 16:38:22 +05:30
Pierre Neter
e585103d4d Left border for wrap radio wrapper, small screen.
Fix #6492
2017-06-16 04:53:05 +07:00
afc163
8703145d70 Fix prop-types and createClass warning, #5678 2017-05-18 14:22:47 +08:00
Benjy Cui
2feb3d42e6 chore: add definition for Button[onMouseDown], close: #6054 2017-05-16 11:55:17 +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
BK Heleth
291ca97428 Fix #6044 | Radio.Button types (#6053) 2017-05-08 13:12:34 +08:00
Graeme Yeates
5841746ec9 Decompose @background-color-base into several variables 2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7 Consistently use @background-color-base for disabled states 2017-04-28 15:43:02 -04:00
afc163
45e7c86067 Fix Checkbox and Radio disabled cursor, close #5935 2017-04-27 20:58:46 +08:00
Graeme Yeates
1790642e98 Allow styling of radio button backgrounds (#5791) 2017-04-22 14:09:25 +08:00
Benjy Cui
eb9e19be1f feat: make Checkbox work in Checkbox.Group, close: #5645 (#5714)
* refactor: simplify Radio's code

* feat: make Checkbox work in Checkbox.Group, close: #5645

* test: add snapshot
2017-04-14 16:20:09 +08:00
afc163
139eedf87c update radio group demo 2017-04-05 11:32:35 +08:00
Wei Zhu
1a8e738142 Set snapshotSerializers 2017-04-02 18:09:23 +08:00
afc163
0bfb35c562 fix snapshot 2017-03-30 14:29:30 +08:00
黄子毅
0648172973 fix jslint (#5514) 2017-03-28 11:56:38 +08:00
afc163
4723173c33 update Radio demo description 2017-03-27 10:09:38 +08:00
Wei Zhu
68cdfc550d refactor: RadioGroup's cloneElement to context (#5453) 2017-03-27 10:09:06 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Wei Zhu
54b49afd32 Use a special static property for type detecting
close #5359
2017-03-17 17:54:02 +08:00
一喵呜
5bf0552691 Radio组件的一个样式问题 (#5336)
box-shadow
2017-03-16 23:37:10 +08:00
Benjy Cui
15c3656a6d test: update test for Radio className 2017-03-15 14:25:43 +08:00
Benjy Cui
4579d8c419 fix: should not generate className twice, close: #5295 2017-03-15 11:01:06 +08:00
afc163
696a3c0e34 fix Checkbox and Radio text alignment with form label, close #5276 2017-03-13 12:43:33 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
Benjy Cui
27def1e7dd fix: should not generate cls twice 2017-02-28 16:14:53 +08:00
afc163
d8fb282088 Adjust checkbox and radio vertical, close #5001 2017-02-22 21:22:42 +08:00
afc163
18203972a1 rewrite Radio demos to es6 component, #4878 2017-02-20 22:04:17 +08:00
HQidea
7471780ffe fix: fix Radio children === 0 (#4882) 2017-02-16 10:00:00 +08:00
afc163
94ec19570e Make InputNumber & RadioButton height style more flexible 2017-02-15 11:47:22 +08:00
afc163
df1e30d9f8 Tweak radio vertical align 2017-02-13 16:38:31 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +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
Wei Zhu
f6c0e69af5 cleanup npm scripts (#4499)
* Cleanup npm scripts

* Lint fix

* Don't need ignore js files

* Upgrade jest

* Add components index.tsx test
2017-01-08 17:04:09 +08:00
偏右
d811ebee5c New color system (#4426)
* Add new color patterns algorithm

* Add color palettes

* update other colors

* fix gray color

* update more tint/shade to colorPalette

* new font color

* Update doc for new color system

* improve doc style
2017-01-01 22:20:06 +08:00
Rex
ca8e88971a fix: callback is triggered only when the value changes (#4278)
* callback is triggered only when the value changes

* optimize lastValue assignment
2016-12-19 10:52:47 +08:00
BK Heleth
a973ae18b5 docs: update document (#4263) 2016-12-16 16:38:14 +08:00
feng zhi hao
6e416f4746 optimize Radio declaration (#4260)
chore: optimize Radio declaration (#4260)
2016-12-15 16:25:15 +08:00
Pierre
827aa2f94c style: remove hardcoded inputs height (#4175)
* remove hardcoded inputs height

* revert pagination input height

* revert pagination input heights bis
2016-12-15 11:17:09 +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