191 Commits

Author SHA1 Message Date
高艳兵
c5e5ac7c3f feat: add semantic snap (#56600)
* feat: add semantic.md generation plugin for components

* refactor: extract locales from SelectSemanticTemplate to component props

* fix: remove unuse locales

* feat: multipleProps add defaultValue

* feat: update select snap

* feat: update table snap

* feat: tour add snap

* feat: delete semantic-md plugin

* feat: add sematic snap

* refactor: replace hardcoded button clicks with configurable postRenderFn in semantic demo test

* revert: locales

* fix: maxTagCount responsive

* fix: test  maxTagCount set 1

* feat: add test:semantic script

* fix: ci add collectCoverageFrom

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
2026-01-19 22:10:33 +08:00
lijianan
a863062f7b Merge branch master into master-merge-feature 2026-01-09 22:54:46 +08:00
lijianan
75ddcdfd00 refactor: 🛠 use genCssVar hook to generate CSS variables (#56546)
* refactor: 🛠 use genCssVar hook to generate CSS variables

* update

* update

* update

* update

* update

* Update components/tooltip/style/index.ts

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* update

* fix: update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2026-01-09 22:24:19 +08:00
lijianan
c78056d0a4 Merge branch master into master-merge-feature 2026-01-09 14:46:59 +08:00
lijianan
ba47850fa0 refactor: 🛠 use genCssVar hook to generate CSS variables (#56529) 2026-01-09 13:40:44 +08:00
lijianan
364bcc74d1 type: export components SemanticName type (#56494)
* types: export components SemanticName type

* update

* update

* update

* update

* update
2026-01-08 09:25:17 +08:00
github-actions[bot]
60cd020a35 chore: auto merge branches (#56380)
chore: merge master into feature
2025-12-27 09:14:24 +00:00
Guo Yunhe
9a62d148c7 docs: remove 5.x tags (#56353) 2025-12-25 12:17:44 +08:00
lijianan
c3f41c19ba refactor(types): replace Record with explicit object for better DX (#56298) 2025-12-22 10:47:06 +08:00
Guo Yunhe
408afb0626 refactor: rename button files (#56053)
* refactor: rename button files

* refactor: update import paths for Button component in test files

* refactor: update import paths for Button component across multiple files
2025-12-03 16:59:04 +08:00
aojunhao123
ca5817ac33 feat: ConfigProvider support customize trigger for Tooltip/Popover/Popconfirm (#55932)
* CP support customize trigger

* add faq

* update doc

* update deps

* update snapshot

* adjust logic

* chore: adjust

---------

Signed-off-by: aojunhao123 <1844749591@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-12-01 17:51:42 +08:00
ice
594524b4af docs: update markdown files to add section IDs for examples and FAQs across multiple components (#55882) 2025-11-25 12:16:35 +08:00
lijianan
706c010671 chore: reset deprecated BackTop (#55668)
* chore: reset deprecated BackTop

* chore: adjust import

* chore: update deps

* update

* update

* update

* update

* update snap

* update

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-11 11:21:39 +08:00
遇见同学
16521a9972 chore(demo): simplified button demo (#55646)
* chore(demo): simplified button  demo

* Update components/button/demo/style-class.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/float-button/demo/style-class.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* chore: update boxShadow

* Update components/float-button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/float-button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* chore: update snap

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-11-08 14:41:59 +08:00
二货爱吃白萝卜
47980afc3d fix: static css extract should order of Button (#55619)
* fix: static css extract should order of Button

* chore: another try

* chore: re-order
2025-11-06 11:33:21 +08:00
lijianan
6fc67a0fdd Merge branch feature into next-merge-feature 2025-10-31 16:18:08 +08:00
lijianan
352f6c6c78 test: simplify style test case (#55538)
* test: simplify test case

* update

* update

* update

* test: simplify style test case

* update

* update

* update

* update
2025-10-31 12:46:16 +08:00
lijianan
558bc44281 test: unified coding style (#55481) 2025-10-26 19:55:37 +08:00
lijianan
6cc19c10fc chore: merge feature into next 2025-10-26 18:20:12 +08:00
lijianan
41b5dce953 perf: try to reduce bundle size (#55478)
* refactor: reuse useForceUpdate hook

* update

* perf: try to reduce bundle size

* update
2025-10-26 17:18:36 +08:00
lijianan
1670fc36cc demo: add satisfies keyword for demo (#55272)
* demo: add satisfies for demo

* update

* update

* update

* update snap

* update snap
2025-10-12 08:19:59 +08:00
遇见同学
cd170fccfb docs: improve doc description (#55243)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-08 23:12:07 +08:00
deathemperor
1370c11cf7 type: missing float button and group disabled type (#55156) 2025-10-08 10:42:44 +08:00
lijianan
03ce2b26aa refactor(type): use SemanticClassNamesType & SemanticStylesType (#55240) 2025-10-08 10:40:12 +08:00
lijianan
d90b059b7e refactor: improve useMergeSemantic params order (#55103)
* update

* update

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 11:09:39 +08:00
lijianan
19137493b4 perf: uninstall classnames, install clsx (#55164)
* refactor: uninstall classnames & install clsx

* refactor: uninstall classnames & install clsx

* test: rename test fn

* test: update snap

* update

* update

* update

* update

* update snap

* update

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 00:45:54 +08:00
二货爱吃白萝卜
6c955c5a30 feat: ConfigProvider support unique Tooltip (#55154)
* docs: update doc

* refactor: tooltip structure

* chore: support arrow style

* chore: legacy props

* chore: part

* chore: use transition

* chore: tmp of it

* docs: update demo

* docs: update demo

* chore: code back

* chore: fix ts

* chore: fix root css var

* chore: fix loop deps

* chore: ts defs

* chore: fix ts def

* test: fix setup

* test: update snapshot

* chore: adjust ver

* chore: use new structrue

* chore: fix deps

* test: fix test

* test: update snapshot

* test: update snapshot

* test: fix test

* test: fix test

* test: update snapshot

* chore: adjust

* chore: adjust

* test: coverage

* chore: adjust style

* test: update snapshot

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-09-29 10:15:16 +08:00
thinkasany
47deda9789 chore: Unified variable naming style (#55162) 2025-09-27 22:53:30 +08:00
EmilyyyLiu
a02c1d5595 refactor: Upgrade utils and replace useMergedState (#55047)
* refactor: Upgrade utils and replace useMergedState

* Update components/color-picker/components/ColorPresets.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* fix: lint error useControlledState not use

* feat: change import util path

* feat: mergedSelectedKeys

* feat: Modify the import path of rc-util

* feat: Restore the 'useControlledState' modification of 'select'

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-25 10:57:09 +08:00
thinkasany
98e306102f chore(biome): code style format 2025-09-21 14:16:58 +08:00
遇见同学
3cc8666538 docs: improve document content (#55102)
* improve document content

* Update components/float-button/demo/style-class.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/float-button/demo/style-class.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-20 17:09:57 +08:00
遇见同学
390435ec06 test: improve semantic test (#55092)
* improve semantic test

* Update components/button/__tests__/semantic.test.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-19 21:25:40 +08:00
遇见同学
f9b1c8636c docs: improve document content (#55084) 2025-09-19 10:12:46 +08:00
lijianan
49988391af chore: rm unnecessary useMemo for mergedProps (#55078) 2025-09-19 02:28:55 +08:00
遇见同学
a94dfccf2d feat(float-button): Support better customization with semantic classNames/styles as function (#54917)
* feat(float-button): Support better customization with semantic classNames/styles as  function

* feat(float-button-group): Support better customization with semantic classNames/styles as function

* Update components/float-button/__tests__/index.test.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* update deom and type

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-09 11:11:05 +08:00
thinkasany
4d4b2b953a chore: update snap (#54771) 2025-08-27 17:08:24 +08:00
thinkasany
5b6cc4c987 chore: bump jest to 30.1.0 (#54759)
* chore: bump jest to 30.1.0

* update
2025-08-27 15:39:48 +08:00
lijianan
4f63018de7 test: update snap 2025-08-23 17:01:06 +08:00
thinkasany
d8224361a1 chore: sync feature into next 2025-08-11 21:34:00 +08:00
Guo Yunhe
1f229dc7b8 feat(FloatButton): support backTopIcon global config (#54493) 2025-08-11 10:34:50 +08:00
thinkasany
f1afc710c3 test: Adapting to jest v30 2025-08-07 12:01:07 +08:00
afc163
46c9c93773 test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +08:00
MadCcc
751edfc336 feat: zeroRuntime (#54334)
* feat: zeroRuntime

* feat: generate full style

* feat: add antd.css into global css

* chore: revert site change

* docs: add docs

* chore: update scripts

* chore: add test
2025-07-22 10:20:29 +08:00
二货爱吃白萝卜
f14a31b1c2 docs: Add more semantic desc of the content for llms (#54417)
* chore: add semantic desc

* chore: more desc

* chore: all styles desc

* chore: fix docs

* chore: update desc

* chore: update desc

* chore: update desc
2025-07-21 17:42:07 +08:00
thinkasany
c0c1ba1162 chore: improve FloatButton (#54431)
* chore: improve FloatButton

* add test

* update

* update
2025-07-21 16:07:27 +08:00
thinkasany
9e22676c39 refactor: semantic of FloatButton (#54429) 2025-07-21 15:15:48 +08:00
thinkasany
c04f326fed refactor: semantic of floatButton (#54415) 2025-07-18 15:29:52 +08:00
WwwHhhYran
a89e4d52ad fix(float-button): remove bottom border for float btn when placement is horizontal (#54261)
Co-authored-by: yiran <douchen.dc@alibaba-inc.com>
2025-07-11 23:16:27 +08:00
thinkasany
637b10e651 chore: sync feature into next 2025-06-29 12:59:37 +08:00
deathemperor
4ac95c2c67 fix: incorrect warning of FloatButton.Group shape (#54215) 2025-06-27 18:41:25 +08:00