王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip ( #33772 )
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
3 years ago
MadCcc
d777a5430c
fix: update prevValue of checkbox if value changed ( #33753 )
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
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
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
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
7f61e62044
fix: Checkbox not aligned center in group ( #31726 )
close #31724
3 years ago
Gherciu Gheorghe
994c9d9d4e
feat: add the posibility to controll the checkbox border radius using a separate less variable ( #31360 )
3 years ago
二货机器人
7c2c49316b
fix: checkbox & radio in flex align ( #30260 )
* fix: checkbox & radio in flex align
* rm only md
* docs: Update doc
* test: Update snapshot
4 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
99289a0856
style: better Checkbox/Radio label text layout ( #29788 )
* style: optimize checkbox label text layout
* style: optimize radio label text layout
* fix transfer checkbox position
* fix checkbox align issue in Transfer
* fix snapshot
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
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
偏右
8e4eab68b1
fix: Table selection behavior when inside Checkbox.Group ( #28576 )
close #28044
4 years ago
ZeroToOne
5beef32c2f
fix: add the missing import for the checkbox component ( #28440 )
4 years ago
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
4 years ago
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
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
f5ed19248f
docs(checkbox): change check all demo to hook ( #27608 )
* docs(checkbox): change check all demo to hook
* Update check-all.md
* Update demo.test.js.snap
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
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
偏右
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
xrkffgg
bf72f5538a
docs: update api naming
4 years ago
Kaan KÜÇÜK
7e223c1edc
Update index.en-US.md ( #26476 )
Type for Checkbox.Group Options is not valid on docs.
4 years ago
xrkffgg
22d4dbbe99
docs: reduce demo cascader/checkbox/form/inputno ( #25484 )
4 years ago
xrkffgg
8ef1a3fac3
docs: format api autocomplete/checkbox/steps ( #25305 )
4 years ago
xrkffgg
7450c3fd8d
style: fix rtl.less missing variable ( #25088 )
4 years ago
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
* docs: Update components cover
#24629
* docs: Update components cover
5 years ago
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
5 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
afc163
626f918597
🗑️ remove checkbox PropTypes
5 years ago
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
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
xrkffgg
d497c11155
style: optimize slider inner ( #22627 )
5 years ago
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
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
信鑫-King
c17b40ae70
fix: dark background in different container ( #21299 )
* fix: comment and input
* fix: add @pagination-item-input-bg
* feat: add @list-customize-card-bg for dark hook component
* feat: add dark hook
* fix: checkbox color
* fix: popover-customize-border-color
* fix: table
* fix: style lint
* fix: debug
* fix: color
* fix: update colors
* fix: demo
* feat: popover container bg use mixins utils
* fix: less dark
* fix: table bg in dark
* fix: fixed table
* fix: lint
* fix: lint
* feat: add @table-expand-icon-bg
* fix: notification bg
* fix: remove dark.md
* fix: dropdown
* fix: table
* fix: data lint
* fix: style
* fix: dark less style
* fix: @steps-background
* fix: add thead dark style
* fix: unused styles
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
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
5 years ago