Commit Graph

151 Commits

Author SHA1 Message Date
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
D & R
57bb12ca3c fix: radio button在disabled和checked状态多了点box-shadow (#4114) 2016-12-05 13:15:49 +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
Benjy Cui
932443099a css: use @component-background, ref: #4040 2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc Fix #4039. Replace background-color: #fff with background: @body-background (#4040) 2016-11-29 09:54:54 +08:00
ddcat1115
29001ffe4c Merge pull request #3830 from ant-design/fix-popover
Let Checkbox and Radio response hover events
2016-11-17 22:59:31 +08:00
afc163
16fdb00282 No need Radio[key] in RadioGroup 2016-11-17 17:50:26 +08:00
Meck
0a30315a32 Let Checkbox and Radio response hover events
Close #3455
2016-11-14 11:55:32 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
2d0f532f73 Improve checkbox and radio style (ref #3590) 2016-11-08 21:42:46 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
Benjy Cui
ad88118373 feat: support Radio.Group[children] = undefined | null, ref: #3721 2016-11-04 09:38:57 +08:00
Benjy Cui
01ddb398c7 feat: add Radio.Group[className] 2016-11-03 11:33:26 +08:00
afc163
002f3f5127 Fix Radio[disabled] style and add label-hovering style, close #3590 2016-11-01 00:54:47 +08:00
Wei Zhu
f8d2aeefc3 refactor: Replace react-addons-pure-render-mixin with rc-util/lib/PureRenderMixin (#3627) 2016-10-28 13:56:23 +08:00
Benjy Cui
08e21e0a2f refactor: close: #3490 2016-10-24 16:30:38 +08:00