Commit Graph

233 Commits

Author SHA1 Message Date
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
William Cai
57c20e3622 refactor: add @radio-button-checked-bg 2019-03-20 16:46:23 +08:00
杨小事er
668c330cae fix(radio): delete unnecessary onChange (#14984)
* fix(radio): delete unnecessary onChange

* fix(radio): fix multi trigger
2019-02-21 20:53:19 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
ztplz
18332d8e76 FIx RadioButton cause RadioGroup onChange event trigger twice (#14523)
fix #14485
2019-01-25 10:32:30 +08:00
ztplz
be51df6c4c Format 2019-01-18 18:15:50 +08:00
ztplz
2d5b625177 Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364)
* Fix the bug that radio onchange will be ovrride by radioGroup onchange

* Update

* Remove unused comment

* Add tests

* Update
2019-01-18 16:12:47 +08:00
偏右
4102fe200b 💄 Improve Radio focused state style (#14191)
close #14186
2019-01-10 16:55:18 +08:00
afc163
1d06fbef4c 🐛 Fix disabled style of Radio.Button
close #14165
2019-01-08 00:04:39 +08:00
afc163
8b5e78f174
Merge branch 'master' into feature
* master:
  Fixed Modal width when screen size smaller than 768px
  🚨 coverage precision to 1
  🚨 update .codecov.yml
  💄 Fix Badge animation jump when count is ReactNode
  fix Popover arrow narrow line at top
  fix Popover arrow border in different directions
  fix popover arrow top shadow
  Change render of + & - icon fix #13924
  🐛 loose button type propTypes for custom usage
  fix input has min size close #3699
  fix: fix-picture-spell-error
2018-12-26 20:47:12 +08:00
zombiej
73b5437b3a fix input has min size
close #3699
2018-12-26 17:12:14 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
Damian Green
a140533a26 Fix lifecycle method for radio (#13239) 2018-12-17 15:01:55 +08:00
Gianfrancø Palumbo
219500ee7a Fix cursor for radio button disabled state
Add a style for `ant-radio-inner` span element.
2018-12-16 20:43:52 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
afc163
9b9c4c7dec fix typescript errors 2018-11-09 17:38:19 +08:00
afc163
f99b9ab56e Remove wave effect of Radio.Button 2018-11-07 14:25:02 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
afc163
83cc148a7a fix stylelint again by locking version :sad: 2018-10-31 17:51:22 +08:00
Jacques Kvam
4f8200bf53 more natural sounding english for radio component
This sounded a little awkward to me, so I tried to improve it.
2018-10-21 12:48:45 +08:00
afc163
2952a8625b site: remove old version hint of API 2018-09-12 21:43:01 +08:00
afc163
754a22ca24 Fix radio align problem in safari 2018-08-11 20:57:43 +08:00
afc163
9cf6ae6010 Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
Wei Zhu
6199340b5f Merge branch 'master' into feature-3.8.0 2018-07-24 14:55:53 +08:00
Raphael Chauveau
08e83193f2 Multiple row selection (#11406)
This PR intends to solve issue #11404 (Multiple row selection in table component).

The Chinese documentation is missing from the PR. Could someone please add it ?
2018-07-24 14:49:23 +08:00
Ed Moore
cd5cbafdf0 Fix types for Radio Group 2018-07-23 14:33:47 +08:00
afc163
3eee357bfb Add buttonStyle(outline|solid) for RadioGroup 2018-06-28 15:01:03 +08:00
afc163
c55fabc7b4 docs: improve radio API documentation 2018-06-28 14:18:23 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 (#10748) 2018-06-02 20:12:09 +08:00
Wei Zhu
8a6d9b92b7 Improve table types
Fix #10374
2018-05-07 12:32:26 +08:00
afc163
52c8f34a73 Fix radio border radius 2018-04-25 11:08:21 +08:00
Wei Zhu
7ee2eca848 Pass CheckboxGroup/RadioGroup prefixCls down to children (#10002)
Close #9950
2018-04-22 16:35:34 +08:00
Wei Zhu
473872af66 Remove AbstractCheckboxChangeEvent, fix TS4029 error
See https://github.com/Microsoft/TypeScript/issues/9944
2018-03-08 21:42:22 +08:00
Wei Zhu
f78e0098fa Improve Radio/Checkbox type definition
Close #9574
2018-03-08 20:39:34 +08:00
niko
f2ba99978d
upgrade snapshots (#9127) 2018-01-25 18:24:59 +08:00
George Gray
a9abe14122 Vars for checkbox and radio (#9003)
* vars for radio component

* add @checkbox-color var
2018-01-18 10:22:03 +08:00
afc163
a0e5bb7336 Fix align issue in chrome 2018-01-03 21:10:16 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
afc163
abf9717eab Large component should has larger font size
14px => 16px
2017-12-28 15:41:48 +08:00
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