afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
lijianan
31b2e53755
chore: replace "ant-" with ${defaultPrefixCls}
( #49390 )
...
* fix: classname of the Radio & Checkbox would not follow CP
* test: add test case
* test: add test case
* test: update path
* fix: fix
* chore: revert
* chore: revert
* chore: revert
* chore: revert
* chore: revert
2024-06-15 15:41:58 +08:00
叶枫
74492676f7
fix: fix Checkbox.Group type ( #49073 )
...
* fix: fix Checkbox.Group type
* fix: fix Checkbox.Group type
* fix: fix Checkbox.Group type
* fix: remove type
* fix: any
2024-05-27 15:06:38 +08:00
二货爱吃白萝卜
b62b81958b
test: Fix React 18.3 findDOMNode warning ( #48958 )
...
* fix: try to fix React 18.3 warning
* chore: back of ci
* chore: fix type
* chore: fix lint
* chore: update deps
* fix: component error
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update deps
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update deps
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
2024-05-18 15:07:26 +08:00
lijianan
854cdb4352
type: optimize CompoundedComponent type ( #48346 )
...
* type: optimize CompoundedComponent type
* chore: fix
* type: fix type
* chore: fix
* type: fix type
* type: add ts-ignore
* fix: fix
* chore: revert
2024-04-09 16:49:47 +08:00
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict ( #47998 )
...
* feat: tsconfig enable strict
* feat: add no-explicit-any
* feat: strict
* feat: as THEME
* feat: 优化 keys 类型写法
* feat: demo remove any
* feat: as number
* feat: this any
* feat: add eslint
* feat: cascader
* feat: props any
* feat: remove any
* feat: remove any
* feat: any 提示错误
* feat: remove any
* feat: add eslint
* feat: 允许 T = any 存在
* feat: color funciton
* feat: 恢复 lint
* feat: merge master
* feat: as ReactElement
* feat: type
2024-04-01 15:49:45 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
MadCcc
441ba5f5d1
fix: component style without hash ( #46609 )
...
* fix: Select style without hash
* fix: common style logic
* fix: lint
* fix: menu style
* chore: update checkbox demo
* chore: fix test
* chore: rm test
2024-01-30 11:08:02 +08:00
叶枫
72e498058e
type: Checkout component react16 typescript error ( #46962 )
2024-01-14 05:53:36 +08:00
lijianan
943072704c
Merge branch master into master-merge-feature
2024-01-11 16:14:48 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util ( #46923 )
...
* docs: init
* chore: all types
* docs: faq
* chore: fix lint
2024-01-11 15:55:58 +08:00
dally_G
0647f56856
type: Checkbox.Group type infer ( #46423 )
...
* feat: CheckboxGroup type infer
fix: fix type error
fix: define type infer
chore: opti type
* Update type.test.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update Group.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gushuo <gushuo@yoycol.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-12-22 17:07:34 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
afc163
12db87449b
style: fix Checkbox style when customize token.lineWidth ( #46431 )
...
* style: fix Checkbox style when customize token.lineWidth
* test: update snapshot
2023-12-13 21:46:25 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
lijianan
57b5ec4dd6
chore: merge master into feature
2023-11-23 20:43:11 +08:00
max
bb5dd4d3cc
fix(Radio, Checkbox): export required
prop type ( #46028 )
2023-11-23 20:27:22 +08:00
红果汁
b9d3941698
feat: Checkbox support cssvar ( #45859 )
...
* feat: checkbox support cssvar
* refactor: improve code
* fix: add rootCls in class
2023-11-14 16:10:23 +08:00
二货爱吃白萝卜
70ce748d57
fix: options missing id ( #45287 )
2023-10-12 09:43:35 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-09-13 22:07:33 +08:00
Aleksei Mamaev
242769e0fb
fix: checkbox ref type ( #44746 )
...
* fix: checkbox ref
* fix: Checkbox reference type test
* fix eslint warning
2023-09-12 11:38:40 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
MadCcc
114ff39f8c
Merge branch 'master' into feature-merge-master
2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic ( #44620 )
...
* refactor: remove IE compatible logic
* fix: fix
* fix: fix
* fix: fix
2023-09-05 10:17:56 +08:00
Dunqing
f0c105d262
feat: insert use client
automatically at compilations instead of hardcode ( #44608 )
...
* feat: remove the hardcode of `use client`
* chore: update `@ant-design/tools`
* test: update
* fix: incorrect dictionary
* chore: update dep
* ci: check use client
* chore: update ci
* fix: should be LIB_DIR
* ci: should only run in dist
* chore: update check tsx files
2023-09-04 19:27:20 +08:00
二货爱吃白萝卜
c7a09284d4
docs: add faq about valuePropName ( #44609 )
...
* docs: add faq about valuePropName
* docs: more info
* docs: clean up
2023-09-04 14:10:39 +08:00
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
daisy
a48e17717c
demo(Checkbox): adjust check-all demo ( #44127 )
...
* demo(Checkbox): adjust check-all demo
* chore: semantic
2023-08-09 14:32:54 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
二货爱吃白萝卜
6e3a9080bf
fix: Checkbox & Radio not support customize wave ( #44014 )
...
* chore: fix checkbox
* chore: checkbox support disabled
* chore: radio support wave
* test: update test case
* chore: fix lint
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: update test case
2023-08-04 11:22:33 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message ( #43947 )
...
* test: init of test
* test: update snapshot
* test: update snapshot
* chore: adjust size limit
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update snapshot
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
二货爱吃白萝卜
ca9c7c7e30
fix: Indeterminate & checked style ( #43626 )
2023-07-18 21:15:58 +08:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
...
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
thinkasany
82e5555ff3
chore: code style optimization ( #43497 )
...
* chore: code style optimization
* revert: 直接解构, 不用 props
* chore: fix classNames useless boolean
* fix: remove classname useless boolean
* fix: revert delete progress classnames boolean
2023-07-13 01:46:56 +08:00
lijianan
2d9f7de524
chore: code style optimization ( #43478 )
...
* chore: code style optimization
* add type
2023-07-11 23:01:17 +08:00
thinkasany
5ce9818401
chore: code style optimization ( #43475 )
2023-07-11 11:20:11 +08:00
栗嘉男
6d547cac34
Merge branch master into feature-merge-master
2023-07-07 23:28:35 +08:00
lijianan
890316fc35
type: replace unknown with CheckboxRef ( #43424 )
2023-07-07 13:34:51 +08:00
muxin
58e88d23a9
feat: config-provider support checkbox className and style properties ( #43107 )
...
* feat: config-provider support checkbox className and style properties
* Revert "feat: config-provider support checkbox className and style properties"
This reverts commit 05c7678b5b
.
* feat: config-provider support checkbox className and style properties
2023-06-26 11:42:46 +08:00
afc163
a1b0775788
chore: resolve merge conflict
2023-06-25 12:32:36 +08:00
Zack Chang
e74661f509
refactor: resolve circular reference of Checkbox ( #42803 )
...
* refactor: resolve circular reference of Checkbox
* chore: add export
2023-06-25 12:18:34 +08:00
daisy
e9bbc588cd
fix: Radio.Button title loss ( #43012 )
2023-06-15 09:46:05 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
github-actions[bot]
a8bc13e77b
chore: auto merge branches ( #42668 )
...
chore: feature merge master
2023-05-27 03:42:37 +00:00
MadCcc
bd36fba393
fix: fix checkbox align issue ( #42590 )
...
* fix: fix checkbox align issue
* fix: use center
* chore: comment
* fix: use align-self: center
* chore: add snapshot
* fix: tree checkbox
2023-05-25 20:46:51 +08:00
kiner-tang(文辉)
94732dfb01
feat(Collapse): Collapse support configure panel content by items ( #42545 )
...
* docs: update the document about Collapse
* docs: update the document about Collapse
* feat: optimize code
* Update components/collapse/index.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* docs: update the document about Collapse
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-25 10:19:56 +08:00
洋
52d91cec3f
fix(style): keep checkbox.group style the same as v4 ( #42103 )
...
* fix(style): keep checkbox.group style the same as v4
* fix(style): flex-wrap and colgap
* chore: change style grid same as v4
* fix: lint
* chore: add token
---------
Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-09 10:09:20 +08:00