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
winches
3818c10912
fix(anchor): active anchor error ( #47795 )
2024-03-11 10:42:45 +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
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
二货爱吃白萝卜
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
二货爱吃白萝卜
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
thinkasany
bbfaa9a9bb
fix: Remove the default value of the empty string ( #43481 )
2023-07-11 14:57:04 +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
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
Amumu
ec33f75bc0
chore: code style improve ( #41335 )
2023-03-19 23:20:16 +08:00
acyza
16f0b576a7
fix(anchor): ink correct switch direction ( #41317 )
...
* fix(anchor): ink correct switch direction
* chore(anchor): fix test error
* chore(anchor): fix test error
* chore: test
* chore: test
* chore: test
* chore: update
2023-03-19 16:17:08 +08:00
zqran
98939365dd
fix(Anchor): fix highlighting failure when dynamically updating items ( #40743 )
...
* fix(Anchor): fix highlighting failure when dynamically updating items
* fix: improve test coverage
* refactor(Anchor): use `useEvent` instead
2023-03-10 15:54:05 +08:00
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
...
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
二货爱吃白萝卜
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
2023-01-20 11:03:50 +08:00
github-actions[bot]
2d58e1843a
chore: auto merge branches ( #40107 )
...
chore: feature merge master
2023-01-09 09:53:07 +00:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
lijianan
6660e53863
chore: remove rc-util/addEventListener ( #39923 )
...
* chore: remove rc-utils/addEventListener
* fix
* fix
2022-12-31 22:24:55 +08:00
lijianan
a80b39d34d
chore: remove rc-util/addEventListener ( #39923 )
...
* chore: remove rc-utils/addEventListener
* fix
* fix
2022-12-30 17:15:54 +08:00
Yuki Zhang
4eff22497d
feat: Anchor horizontal ( #39372 )
...
* feat: AnchorInk
* feat: update
* feat: update ink
* test: add test
* feat: handle with nested link
* feat: improve
* fix: lint
* feat: get direction from context in AnchorLink
* docs: update demo
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update test cases
* test: update snapshot
* test: update snapshots
* test: update snapshots
* test: update test cases
* test: update test cases
* docs: update
* test: improve
* docs: update demo
* doc: update demos
* doc: update demos again
* feat: use scroll-into-view-if-needed
* fix: hide scrollbar
* docs: update demos
* fix: active transition for horizontal anchor
* chore: fix terser (#39617 )
* chore: fix terser
* chore: clean up
* test: update snapshot
* feat: improve code style
* feat: anchor ink improvement
* feat: improve code style
* fix: lint issue
* test: update snapshots
* docs: simplified the demo
* feat: Merge the AnchorInk component back into the Anchor component
* feat: Adjust DOM order
* test: update snapshots
* docs: Improve the document
* feat: simplify css classnames
* test: update snapshots
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2022-12-27 17:14:35 +08:00
afc163
a87e68c797
chore: resolve conflict
2022-12-07 12:15:17 +08:00
lijianan
a59058f0b2
type: optimization ( #39305 )
2022-12-06 18:18:38 +08:00
Yuki Zhang
51da7e3dc1
feat: Anchor component changed to data-driven ( #39034 )
...
* feat: Anchor component changed to data-driven
* test: add test cases for data driven items
* fix: type
* chore: mark deprecated for anchor children prop
* docs: add items description
* test: update snapshot
* docs: demos changed to data-driven
* docs: Keep the old jsx syntax demo for debugging
2022-11-30 15:55:43 +08:00
MadCcc
de555912c9
feat: anchor ink ball style ( #38616 )
...
* feat: anchor ink ball style
* chore: code clean
* chore: code clean
* chore: code clean
* chore: update snapshot
* chore: change cover
2022-11-17 16:49:09 +08:00
二货机器人
d5cfd195dd
chore: merge master
2022-11-07 23:32:46 +08:00
Rex Zeng
b0fe69c18f
refactor(Anchor): rewrite CC => FC ( #38265 )
...
* fix: fix
* fix: fix
* fix: del forwardRef
* fix: add depList
* test(anchor): rewrite test to match the latest fc implementation
* fix: eslint error fix
* style: type optimization
* style: type optimization
* Update components/anchor/Anchor.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* Update Anchor.tsx
* Update components/anchor/Anchor.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* fix: rename
* fix: fix
* fix: fix
* Update components/anchor/style/index.less
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-30 14:35:45 +08:00
MadCcc
7a38804f95
Merge branch 'master' into next-merge-master
2022-10-18 21:33:51 +08:00
lijianan
b3a37b7ca9
refactor: Anchor.Link with FC ( #37957 )
...
* fix: fix
* fix: fix
* fix: revert
* fix: fix
* test: fix test case
* test: fix
* test: fix
* fix: fix
* fix: fix
2022-10-17 21:36:56 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
Zheeeng
dcac4f66a4
fix: signatures for Upload ( #37861 )
2022-10-06 18:53:06 +08:00
MadCcc
eb9179464b
Merge branch 'master' into next-merge-master
2022-09-22 11:47:05 +08:00
afc163
a1d86cbd09
fix: Anchor current not changed ( #37644 )
...
close #37627
2022-09-20 11:06:51 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +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
Long Hao (龙濠)
32d0067d55
refactor: Anchor cssinjs ( #35139 )
...
* refactor: anchor cssinjs
* fix: padding use logical css
* fix: link padding wrong
2022-04-29 17:23:23 +08:00
Long Hao (龙濠)
eb7f8c7ef1
refactor: change anchor to fc for the cssinjs prepare ( #35073 )
...
* refactor: change anchor to fc for the cssinjs prepare
* fix: fix anchor test
2022-04-19 16:44:47 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
...
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
2022-04-08 22:55:42 +08:00