二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
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
2022-01-12 22:57:43 +08:00
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>
2021-11-26 12:18:21 +08:00
wangao
bee77c3362
fix: add forwardRef to CheckBoxGroup for v3 compatibility ( #30039 )
...
* fix: add forwardRef to CheckBoxGroup for v3 compatibility
* tests: add CheckboxGroup forwardRef test
2021-04-08 14:36:50 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
二货机器人
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
2021-01-13 21:00:30 +08:00
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>
2020-12-09 17:12:32 +08:00
Tom Xu
b3d0f1d2c6
refactor(checkbox): rewrite with hook ( #27739 )
...
* refactor(checkbox): rewrite with hook
* Update index.test.js.snap
* Update Group.tsx
2020-11-20 08:58:14 +08:00
Tom Xu
322098487f
fix: Checkbox Group TS typo ( #27231 )
...
* fix: Checkbox Group TS typo
* Revert "fix: Checkbox Group TS typo"
This reverts commit 0898f84ff73cee9532f7a7bb15f1fe932be16112.
* Update Group.tsx
* Create type.test.tsx
2020-10-19 16:42:07 +08:00
Tom Xu
261018053f
refactor(checkbox-group): rewrite with hook ( #27147 )
2020-10-18 23:31:20 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
afc163
626f918597
🗑️ remove checkbox PropTypes
2020-05-11 14:02:23 +08:00
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>
2020-03-13 15:09:40 +08:00
zefeng
8a50a2cb77
chore: use react internel optimize code style ( #21659 )
2020-02-28 11:11:00 +08:00
zefeng
55133b7757
chore: use purecomponent replace shallow compare ( #21575 )
2020-02-25 16:23:34 +08:00
偏右
fd8d71717b
🆕 Add style for Checkbox & Radio Group options ( #21219 )
...
close #19739
2020-02-04 17:34:02 +08:00
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
2020-01-31 21:25:34 +08:00
偏右
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
2019-12-23 18:33:08 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
yoyo837
50f6b9c903
update
2019-06-28 10:31:40 +08:00
yoyo837
c8d5243b97
sort
2019-06-28 10:26:55 +08:00
yoyo837
660ebbd58f
fix values
2019-06-28 10:00:12 +08:00
yoyo837
32bb62be15
CheckboxGroup onChange 值保持选项的顺序
2019-06-27 18:54:34 +08:00
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
zombieJ
7a7aa65eec
fix: Checkbox.Group onChange should not pass removed value ( #16392 )
...
* filter removed value
* clean up
* code style update
2019-04-30 23:39:01 +08:00
Ben Callaway
a49caabe00
Add name attribute support to Checkbox.Group ( #15760 )
...
* Update Checkbox documentation
2019-04-01 10:16:18 +08:00
ztplz
2a875ee149
Add name prop for checkbox group
2019-03-30 10:47:03 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
df356a586c
Merge branch 'master' into feature
2018-12-07 18:52:13 +08:00
zy410419243
5217a4809c
pref: change label type
2018-12-06 10:54:03 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
ztplz
ed4cc9e5fd
format ( #13252 )
2018-11-22 23:35:40 +08:00
zombiej
4b9027f53a
Checkbox under group also should trigger onChange
...
ref: #12642
2018-10-23 23:43:11 +08:00
zombiej
5a0448aa4d
fix #12427 . CheckGroup support pass dom prop
2018-09-27 17:41:30 +08:00
张聪
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
2018-08-10 17:04:40 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
Wei Zhu
1a9456f03a
Add boolean to CheckboxValueType
...
Close #10677
2018-06-09 14:39:42 +08:00
Wei Zhu
7ee2eca848
Pass CheckboxGroup/RadioGroup prefixCls down to children ( #10002 )
...
Close #9950
2018-04-22 16:35:34 +08:00
afc163
5241497642
Fix Checkbox.Group align issue in Form
...
close #8739
also fix style prop of Checkbox.Group
2017-12-27 10:18:48 +08:00
Wei Zhu
2fe2e35a52
Fix implicit any error for Checkbox
2017-11-22 10:08:28 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
bang
e7013fcb3f
fix: miss semicolon
2017-07-08 16:46:18 +07:00
bang
3fb21c0325
chore: keep checkbox's value type consistent close #6768
2017-07-08 16:40:15 +07: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
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
2017-04-12 02:22:05 +05:30
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Benjy Cui
0042ac1c0a
fix: recursive dependencies, close : #5264
2017-03-13 10:20:25 +08:00
陆离
46c200896f
Customize Input Component of AutoComplete ( #4483 )
...
* cherry-pick
* remove useless files
* remove useless files
* Group ts
* update interface
* ReactElement
2017-01-13 21:19:23 +08:00