lijianan
2d9f7de524
chore: code style optimization ( #43478 )
* chore: code style optimization
* add type
1 year ago
Zack Chang
e74661f509
refactor: resolve circular reference of Checkbox ( #42803 )
* refactor: resolve circular reference of Checkbox
* chore: add export
1 year ago
daisy
e9bbc588cd
fix: Radio.Button title loss ( #43012 )
1 year ago
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
* chore: use includes instead indexOf
* fix: fix
2 years ago
二货机器人
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
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
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