Jony J
08a9325182
feat: add a11y test for components demo ( #51414 )
...
* test: add accessibility test utilities
* refactor(tests): replace polling with Promise chain for axe test queue management
* test: add a11y test for components demo
* feat: add a11y test utils
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: remove unnecessary code
* feat: add polyfill for test environment
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: adjust code style
2024-11-01 11:30:11 +08:00
afc163
66222a296b
chore: import rc-util from path ( #51087 )
2024-10-02 10:43:35 +08:00
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces ( #50392 )
2024-08-13 18:18:59 +08:00
lijianan
e8fa5938ab
site: rewrite with CSS logical properties ( #50109 )
...
* site: use CSS logical properties
* Update components/anchor/demo/targetOffset.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
* chore: fix
* fix: add more
* fix: add more
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx ( #50013 )
...
* docs: unify component export file as index.tsx
* docs: compatible with old anchors
* chore: clean
* test: update snapshot
* fix: window env
---------
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
github-actions[bot]
05d107ce4d
chore: auto merge branches ( #49556 )
...
chore: sync master to feature
2024-06-22 15:30:17 +00:00
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
9c91bdb9a8
Merge pull request #49425 from ant-design/master
...
chore: merge master into feature
2024-06-15 16:41:47 +08:00
lijianan
ecc78e178a
chore: rm useless second param ( #49426 )
...
* chore: rm useless param
* Update components/watermark/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
2024-06-15 15:39:01 +08:00
gin-lsl
5c42cfaa63
feat: Support affix props in Anchor ( #49295 )
...
* feat: Support affix props in Anchor
* Update components/anchor/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: gin-lsl <gin_lsl@outlook.com>
* docs: update doc
---------
Signed-off-by: gin-lsl <gin_lsl@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-12 15:00:56 +08:00
小邓
a59081ea55
fix: Anchor - The replace attribute causes no scrolling animation ( #49136 )
...
Co-authored-by: dengxia <dengxia@tanqingsk.com>
2024-05-30 20:49:30 +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
二货爱吃白萝卜
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
winches
3818c10912
fix(anchor): active anchor error ( #47795 )
2024-03-11 10:42:45 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg ( #47203 )
...
* docs: optimize overview svg
* docs: update
* docs: dark
2024-01-29 14:50:36 +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
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
194dbcedfa
feat: Anchor support cssVar ( #45808 )
...
* feat: Anchor support cssVar
* fix: fix
* fix: fix
* Update components/anchor/style/index.ts
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-16 10:45:15 +08:00
MadCcc
afcdc3fbe2
chore: try to fix screenshot ( #44817 )
...
* chore: try to fix screenshot
* chore: set small viewport
* chore: rm wait until
* chore: minimize demo
* chore: support onlyViewPort
* chore: better logic
* chore: config demos
* chore: update
* refactor: rename
* chore: update
* chore: update
* chore: update
2023-09-14 16:59:11 +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
二货爱吃白萝卜
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
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
栗嘉男
b12d69cf42
chore: merge master into feature
2023-09-01 00:02:50 +08:00
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
MadCcc
ba90af13c0
Merge branch 'master' into feature-merge-master
2023-08-10 22:17:15 +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
二货爱吃白萝卜
8a3870fc31
feat: Watermark support nest Modal & Drawer ( #44104 )
...
* docs: add demo
* refactor: init
* refactor: of it
* refactor: simple content
* chore: unique func
* chore: refactor
* chore: support modal watermark
* feat: support nest watermark
* test: add test case
* chore: fix lint
* chore: bump rc-image
* test: add test case
* refactor: use same func
2023-08-08 16:48:26 +08:00
wving5
ee61b997dc
docs: fix misdocumented component token meta ( #43994 )
...
* docs: fix misdocumented component token meta
* Apply suggestions from code review
Signed-off-by: MadCcc <1075746765@qq.com>
---------
Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: cty <>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-03 17:05:21 +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
二货爱吃白萝卜
4eb6074bb7
fix: Anchor not trigger getCurrentAnchor
when scroll ( #43916 )
...
* docs: update doc
* fix: getCurrentLink not trigger when scroll
2023-07-31 18:26:33 +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
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
bbfaa9a9bb
fix: Remove the default value of the empty string ( #43481 )
2023-07-11 14:57:04 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches ( #43378 )
...
chore: merge master into feature
2023-07-05 10:16:04 +00:00
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
...
* docs: component token meta
* docs: more
* docs: complete
2023-07-05 17:49:59 +08:00
muxin
a4f4808e2f
feat: config-provider support descriptions className and style properties ( #43189 )
2023-06-26 17:09:55 +08:00
Danial Soheili
4af6a526e2
feat(Anchor): allow replacing in anchor ( #43006 )
...
* 📦 ADD: replace prop to Anchor
* 📖 DOC: add demo
* 🧪 TEST: snapshots
* Update components/anchor/index.en-US.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* Update components/anchor/index.en-US.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* Update components/anchor/index.zh-CN.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* Update components/anchor/index.zh-CN.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* 🧪 TEST: Anchor replace
* 🧪 TEST: Anchor with href
* 🗑 REMOVE: unnecessary href default value
* Update components/anchor/demo/replace.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* Update components/anchor/demo/replace.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
---------
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-06-18 18:55:36 +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
kiner-tang(文辉)
2de151da7a
Merge branch 'master' into feature-merge-master
2023-06-04 11:10:56 +08:00
未觉雨声
51eaf402cb
fix: Anchor ink & track should use logical inset ( #42706 )
...
* fix: Anchor ink & track should use logical inset
* chore: remove skip check
2023-05-30 10:37:17 +08:00
muxin
f11c3c3a08
feat: migrate less to token for Anchor ( #42141 )
...
* feat: rename anchor token
* docs: add component-token demo
* fix: update token
2023-05-19 18:26:31 +08:00
Dunqing
699cec0c91
docs: use uniform naming ( #42200 )
2023-05-07 17:28:33 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
Simon He
901957cf02
perf(anchor): reduce unnecessary calculations ( #42018 )
2023-04-27 15:27:55 +08:00
JiaQi
a573dde6ed
fix(Anchor): onChange method is not updated ( #41934 )
2023-04-23 19:59:29 +08:00
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info ( #41475 )
2023-03-27 15:33:22 +08:00
ZivHe
b915094498
style: fix Anchor horizontal direction style ( #41336 )
2023-03-19 23:28:34 +08:00