偏右
8e4eab68b1
fix: Table selection behavior when inside Checkbox.Group ( #28576 )
close #28044
4 years ago
Tom Xu
b3d0f1d2c6
refactor(checkbox): rewrite with hook ( #27739 )
* refactor(checkbox): rewrite with hook
* Update index.test.js.snap
* Update Group.tsx
4 years ago
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
Tom Xu
2a3fc818d0
refactor(radio): rewrite with hook ( #24485 )
* refactor(radio): rewrite with hook
* fix lint
5 years ago
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
Evan Charlton
58c6900175
chore: Fix console warning typo (validate -> valid) ( #23240 )
Clean up the typos in the helpful console warning messages which get
emitted if the incorrect prop is passed to certain components.
5 years ago
xrkffgg
e652eef04c
style: add rtl base ( #22857 )
* style: add rtl base
* fix: add test snap
5 years ago
zefeng
8a50a2cb77
chore: use react internel optimize code style ( #21659 )
5 years ago
Teng YANG
048a6e28a3
fix : #21134 checkbox can't receive context update from checkbox group ( #21146 )
* fix checkbox can't receive context update issue
* add test case for checkbox handling context update
5 years ago
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
5 years ago
二货机器人
19cc7e7cee
chore: Add warning when use `value` of Switch, Checkbox, Upload ( #18497 )
* chore: Add warning when use `value` of Switch, Checkbox, Upload
* clean up
5 years ago
LaySent
7ca85ad11a
fix: tooltip not work with disabled checkbox
5 years ago
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
5 years ago
orzyyyy
06c1f1a77c
fix: disable jsx-a11y/label-has-associated-control
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
afc163
57c28def68
revert unknown to any
5 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
Sebastian Busch
4af2b62cb5
fix: Add some missing TypeScript prop definititions and clean up date-picker definitions ( #16342 )
* Add some missing TypeScript prop definitition, clean up date-picker definitions
* use DatePickerMode instead of redundant enumeration of modes
* decade was missing from the list of modes
See https://codesandbox.io/s/388xplj646
- activate DatePicker
- click on year in header
- click on years in header
- "decade" is printed on footer as mode for renderExtraFooter()
* add decade as possible value for mode prop
6 years ago
zombieJ
7a7aa65eec
fix: Checkbox.Group onChange should not pass removed value ( #16392 )
* filter removed value
* clean up
* code style update
6 years ago
Ben Callaway
a49caabe00
Add name attribute support to Checkbox.Group ( #15760 )
* Update Checkbox documentation
6 years ago
wanli
6c259808e1
type: add onClick to AbstractCheckboxProps
6 years ago
zhangguanyu02
aff3f2ece0
fix: checkbox ts generic
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
Anuj
e0298dcc13
prefer logical AND over ternary ( #13254 )
6 years ago
wa1k3r
7038b9215d
add checkbox wrapper state classname
6 years ago
ztplz
6ad23c370e
Fix CI
6 years ago
afc163
9b9c4c7dec
fix typescript errors
6 years ago
zombiej
4b9027f53a
Checkbox under group also should trigger onChange
ref: #12642
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
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 ?
6 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
Wei Zhu
8a6d9b92b7
Improve table types
Fix #10374
7 years ago
Wei Zhu
f9b8bf7e4d
Revert "Checkbox[disabled] should have higher priority than Checkbox.Group[disabled]"
This reverts commit 5580791a70
.
7 years ago
Wei Zhu
5580791a70
Checkbox[disabled] should have higher priority than Checkbox.Group[disabled]
Fix #9973
7 years ago
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