二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
MadCcc
29f68f9e28
fix: checkbox group support options other than string ( #33678 )
* fix: checkbox group support options other than string
* docs: update checkbox docs
* fix: radio group support value other than string
* fix: only support number and string
* docs: update group options type
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
wangao
bee77c3362
fix: add forwardRef to CheckBoxGroup for v3 compatibility ( #30039 )
* fix: add forwardRef to CheckBoxGroup for v3 compatibility
* tests: add CheckboxGroup forwardRef test
4 years ago
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
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
Tom Xu
322098487f
fix: Checkbox Group TS typo ( #27231 )
* fix: Checkbox Group TS typo
* Revert "fix: Checkbox Group TS typo"
This reverts commit 0898f84ff7
.
* Update Group.tsx
* Create type.test.tsx
4 years ago
Tom Xu
261018053f
refactor(checkbox-group): rewrite with hook ( #27147 )
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
afc163
626f918597
🗑️ remove checkbox PropTypes
5 years ago
xrkffgg
b032344d81
style: add checkout grop RTL ( #22186 )
* style: add checkout grop RTL
* style: add rtl.less
* fix: add test
* fix: add group test
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
zefeng
8a50a2cb77
chore: use react internel optimize code style ( #21659 )
5 years ago
zefeng
55133b7757
chore: use purecomponent replace shallow compare ( #21575 )
5 years ago
偏右
fd8d71717b
🆕 Add style for Checkbox & Radio Group options ( #21219 )
close #19739
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
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
yoyo837
50f6b9c903
update
5 years ago
yoyo837
c8d5243b97
sort
5 years ago
yoyo837
660ebbd58f
fix values
5 years ago
yoyo837
32bb62be15
CheckboxGroup onChange 值保持选项的顺序
5 years ago
afc163
57c28def68
revert unknown to any
5 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
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
ztplz
2a875ee149
Add name prop for checkbox group
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zy410419243
5217a4809c
pref: change label type
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
ztplz
ed4cc9e5fd
format ( #13252 )
6 years ago
zombiej
4b9027f53a
Checkbox under group also should trigger onChange
ref: #12642
6 years ago
zombiej
5a0448aa4d
fix #12427 . CheckGroup support pass dom prop
6 years ago
张聪
8a9fbcb5e4
Migrate lifecycle method: Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm ( #11682 )
* Upload lifecycle method migrate
* CheckboxGroup lifecycle method migrate
* Layout.Sider lifecycle method migrate
* Tooltip lifecycle method migrate
* Popconfirm lifecycle method migrate
* test Spin as a controlled component
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
Wei Zhu
1a9456f03a
Add boolean to CheckboxValueType
Close #10677
7 years ago
Wei Zhu
7ee2eca848
Pass CheckboxGroup/RadioGroup prefixCls down to children ( #10002 )
Close #9950
7 years ago
afc163
5241497642
Fix Checkbox.Group align issue in Form
close #8739
also fix style prop of Checkbox.Group
7 years ago
Wei Zhu
2fe2e35a52
Fix implicit any error for Checkbox
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
bang
e7013fcb3f
fix: miss semicolon
7 years ago
bang
3fb21c0325
chore: keep checkbox's value type consistent close #6768
7 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
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
Benjy Cui
0042ac1c0a
fix: recursive dependencies, close : #5264
8 years ago