Wei Zhu
473872af66
Remove AbstractCheckboxChangeEvent, fix TS4029 error
See https://github.com/Microsoft/TypeScript/issues/9944
7 years ago
Wei Zhu
f78e0098fa
Improve Radio/Checkbox type definition
Close #9574
7 years ago
Christopher Deutsch
97b09b393b
onKeyPress and onKeyDown got the wrong type in #9316 ( #9365 )
7 years ago
Yury Kozyrev
1e92ff8efd
onKeyPress and onKeyDown typings ( #9316 )
* Update Checkbox.tsx
* Update button.tsx
7 years ago
Yury Kozyrev
88e0c9b436
More tabIndex properties ( #8936 )
* Update Checkbox.tsx
* Update Input.tsx
* Update index.tsx
7 years ago
Wei Zhu
2fe2e35a52
Fix implicit any error for Checkbox
7 years ago
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
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Kaien Liao
b2aea45b4f
fix: Checkbox props definition ( #7649 ), close : #7650
7 years ago
Leo
fc8f533e67
fix ts checking ( #7355 )
* add title prop to Option component(for ts checking)
* fix Checkbox onChange type
7 years ago
XuMM_12
35bc4726a9
Fix Checkbox Group disabled status ( #7266 ) ( #7296 )
7 years ago
Wei Zhu
401519ec6f
Fix types
7 years ago
Panjie Setiawan Wicaksono
1abbc1c31b
chore: add name props to input-related interfaces ( #6276 )
8 years ago
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
8 years ago
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
8 years ago
Benjy Cui
0042ac1c0a
fix: recursive dependencies, close : #5264
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
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
8 years ago
Meck
0a30315a32
Let Checkbox and Radio response hover events
Close #3455
8 years ago
Wei Zhu
f8d2aeefc3
refactor: Replace react-addons-pure-render-mixin with rc-util/lib/PureRenderMixin ( #3627 )
8 years ago
yiminghe
8afe3965c1
upgrade ts 2.0
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
ddcat1115
5dffb63484
feat: checkbox add indeterminate ( #2905 )
8 years ago
afc163
2e41e35cc6
Fix more tslint problems
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
RaoHai
18f35047ec
Rewrite Checkbox in typescript
+ add return type of splitObject
+ rewrite `import React from 'react'` to `import * as React from 'react'`
+ rewrite Checkbox in typescript
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
偏右
09db9f2436
Revert "Remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead" ( #2074 )
9 years ago
Leon Shi
0f8855dff7
remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead ( #2055 )
9 years ago
Leon Shi
71fc0774c0
implement shouldComponentUpdate to make the re-render much faster for Checkbox
9 years ago
RaoHai
d6c0aa2e1c
Checkbox show its label while label equals number 0.
close #1811
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
e59715f98d
fix checkbox and radio empty span
9 years ago
afc163
dab3ce4513
Add focused style to Select & TreeSelect
9 years ago
Bruce Mitchener
ba965dc746
Convert several React.createClass usages to classes.
9 years ago
Bruce Mitchener
63c06e8652
Use ES2015 classes instead of React.createClass.
Make Breadcrumb, Checkbox, Dropdown, Steps and Timeline
components use ES2015 classes rather than React.createClass.
This includes:
* getDefaultProps method becomes a defaultProps value on the
constructor.
* propTypes becomes a value on the constructor.
9 years ago
afc163
feaf02b406
make Checkbox usage same as Radio
9 years ago
加缪
5000fa6b87
fix ant-design eslint
9 years ago
加缪
e0e94ef709
checkbox demo complete
9 years ago
afc163
dc62d38456
fix code style
9 years ago
ustccjw
b34269a6b1
use es6 module import/export
convert var to const
fix bug
fix bug
fix for jshint
fix import
9 years ago
蔡伦
40595178ce
demo update
9 years ago
蔡伦
26c42c6cec
add checkbox
9 years ago