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
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
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
yiminghe
8afe3965c1
upgrade ts 2.0
2016-10-19 17:52:23 +08:00
afc163
be02817433
fix RadioButton style inside FormItem
2016-10-18 22:26:57 +08:00
afc163
00dd1d5f07
improve select doc
2016-10-14 11:29:45 +08:00
kvetoslavnovak
38962e19f2
Code example radio style - English translation ( #3367 )
...
Residual translation
2016-10-11 11:03:22 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Marius Ileana
71683f0cf6
docs: radio/demo/disable.md - English translation ( #3006 )
...
English translation of labels
2016-09-12 10:10:43 +08:00
Marius Ileana
8e7fc057e6
docs: radio/demo/size.md - English translation ( #3008 )
...
English translation of labels.
2016-09-12 10:09:03 +08:00
Marius Ileana
df856b9d9a
docs: radio/demo/radiobutton.md - English translation ( #3007 )
...
English translation of labels
2016-09-12 10:08:40 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +08:00
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
2016-09-01 18:12:12 +08:00
afc163
497ff0cabb
Merge branch "1.x-stable"
2016-08-31 15:00:13 +08:00
Benjy Cui
3411765ce9
Refactor ts ( #2760 )
...
* refactor: add interface form Calendar
* refactor: add interface for layout
* refactor: add interface for DatePicker
* refactor: add interface for Icon
* refactor: add interface for InputNumber
* refactor: add interface for Input
2016-08-19 17:11:06 +08:00
Benjy Cui
f21033c316
docs: tranlsation of Checkbox ( #2740 )
2016-08-18 11:22:55 +08:00
afc163
da6b65f7f0
Merge 1.x-stable
2016-08-12 14:47:01 +08:00
afc163
8402439a71
Fix some hardcoded style, close #2424
2016-08-11 17:16:38 +08:00
Benjy Cui
978b9f98e7
refactor: table ts ( #2664 )
...
* refactor: table ts
* fix: should pass context to onChange correctly
2016-08-11 15:38:03 +08:00
Benjy Cui
d3d6faf2f3
refactor: ts radio, ref: #2639
2016-08-10 10:26:42 +08:00
afc163
5eb52885d6
@background-color-base
2016-07-21 15:02:24 +08:00
却痕
e202c7d2b3
docs: translation of Rate && Radio ( #2440 )
2016-07-21 10:10:04 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
95351bfffa
Merge branch '1.x-stable'
2016-06-27 19:31:38 +08:00