Commit Graph

186 Commits

Author SHA1 Message Date
Graeme Yeates
1e47a6c518 Control checkbox button size with btn-height base instead of input-height-base (#8340) 2017-12-02 16:05:51 +08:00
Wei Zhu
d2dc88c470 Add focus() and blur() document
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
01f4b4e713 Merge branch 'master' into antd-3.0 2017-12-01 11:50:07 +08:00
afc163
7604495ab4 Fix RadioGroup id props 2017-11-27 10:49:17 +08:00
ChrisF
eb5d423ca7 make children prop of RadioGroupProps optional (#8307) 2017-11-24 15:36:59 +08:00
Wei Zhu
9b5a16ba93 Fix implicit any for Radio 2017-11-21 15:22:27 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support (#8204)
* Add test for select

* Add focus() and blur() for AutoComplete

* Add focus() and blur() to Cascader

* Add focus test for input

* Add focus() and blur() for Checkbox

* Add focus() and blur() for Radio

* Add focus() and blur() for Switch

* Add blur() for TimePicker

* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
afc163
25771bed77 Tweak radio style 2017-09-29 11:45:01 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
afc163
acc4061eeb Tweak align problems 2017-09-21 18:13:36 +08:00
Benjy Cui
070b2696ba chore: remove hacks for IE8-, close: #7447 (#7512) 2017-09-08 13:08:46 +08:00
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