thinkasany
038759b7ee
chore: sync master into feature
2026-02-06 14:19:29 +08:00
二货爱吃白萝卜
bbb0683ab6
fix(button): add theme-aware preset color hover/active tokens ( #56872 )
...
* fix(button): add theme-aware preset color hover/active tokens
Add ${colorKey}Hover and ${colorKey}Active tokens that swap values based on dark/light mode for improved contrast and user experience.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* fix: add preset color hover/active tokens for consistent button interaction
- Add xxxHover and xxxActive tokens for preset colors in genColorMapToken
- Override these tokens in dark mode to swap hover/active values
- Update ButtonToken type to include PresetColorHoverActiveMap
- Update button variant styles to use new hover/active tokens
- Fix #56656 : button hover/active state inconsistency in dark mode
* test: add @csstools to compileModules
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* test: support .mjs files in Jest configuration
- Updated .jest.js transform pattern to include .mjs files
- Simplified .jest.node.js transform patterns
- Added jest-mjs-transformer.js for babel-jest mjs handling
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* test: remove unused jest-mjs-transformer.js
- Removed jest-mjs-transformer.js as it's no longer used
- .mjs files are now handled by the updated transform patterns in Jest configs
* test: add .mjs support to .jest.image.js
- Updated .jest.image.js transform pattern to include .mjs files
- fixes image test failures due to ES module parsing errors
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 11:10:41 +08:00
thinkasany
ee4220b676
chore: sync master into feature
2026-02-04 20:45:32 +08:00
高艳兵
3810d1dc6a
fix(button): make tokens take effect ( #56842 )
...
* refactor(button): rework component-token demo
* fix(button): linkHoverBg token not work
* fix(button): enable ghostBg for outlined and dashed ghost
* fix(button): make defaultBgDisabled take effect
* fix(button): apply paddingBlock tokens to vertical padding
* fix(button): apply contentLineHeight tokens to button line-height
* fix: token.defaultBgDisabled
* revert(button): drop contentLineHeight and paddingBlock changes
* chore(button): remove unused tokens from component-token demo
2026-02-03 14:18:27 +08:00
thinkasany
98bc0f0756
chore: sync master into feature
2026-01-31 10:09:18 +08:00
高艳兵
4b9085624b
chore: merge duplicate debug demos ( #56809 )
...
* chore(Button): remove debug demo
* feat: update snap
2026-01-30 15:34:38 +08:00
ug
7dd385bb43
fix(Button): defaultBg, defaultColor, defaultHoverColor and defaultActiveColor token does not work ( #56238 )
...
* fix(Button): token does not work
* Update components/button/style/variant.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: ug <62086147+ug-hero@users.noreply.github.com >
* update
* fix
* Update components/button/demo/component-token.tsx
Co-authored-by: 高艳兵 <66234749+QDyanbing@users.noreply.github.com >
Signed-off-by: thinkasany <480968828@qq.com >
* format
* Update components/button/style/variant.ts
Co-authored-by: 高艳兵 <66234749+QDyanbing@users.noreply.github.com >
Signed-off-by: thinkasany <480968828@qq.com >
* Update components/button/style/variant.ts
Co-authored-by: 高艳兵 <66234749+QDyanbing@users.noreply.github.com >
Signed-off-by: thinkasany <480968828@qq.com >
---------
Signed-off-by: ug <62086147+ug-hero@users.noreply.github.com >
Signed-off-by: thinkasany <480968828@qq.com >
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
Co-authored-by: 高艳兵 <66234749+QDyanbing@users.noreply.github.com >
2026-01-30 14:44:38 +08:00
二货爱吃白萝卜
80b2250d6c
refactor: Remove checkbox useless dom ( #56783 )
...
* docs: update demo
* test: update snapshot
* chore: adjust
* chore: adjust
* chore: upgrade @rc-component/checkbox to ~2.0.0 and update snapshots
Co-Authored-By: Claude (GLM-4.7) <noreply@anthropic.com >
* test: add semantic test for checked prop with defaultChecked
Co-Authored-By: Claude (GLM-4.7) <noreply@anthropic.com >
* test: update semantic snapshots
Co-Authored-By: Claude (GLM-4.7) <noreply@anthropic.com >
* refactor: restructure radio component styles and improve hover states
* refactor: simplify radio component styles and calculations
* refactor: update radio style-class demo with clsx and css-in-js
* fix: radio component checked state handling in groups
* test: update radio semantic test and table row selection selector
* test: update snapshots for semantic demo tests
* fix: adjust checkbox checkmark position
* fix: update checkbox styling calculations
---------
Co-authored-by: Claude (GLM-4.7) <noreply@anthropic.com >
2026-01-29 21:58:10 +08:00
thinkasany
9431db4dc1
chore: sync master into feature
2026-01-28 20:28:03 +08:00
unknowntocka
ead5840d90
fix(Button): default button token ( #56719 )
...
* fix(Button): default button token
* feat(Button): add default button token with custom colors in debug demo
---------
Co-authored-by: lijianan <574980606@qq.com >
2026-01-28 17:57:18 +08:00
github-actions[bot]
4c12447bae
chore: auto merge branches ( #56763 )
...
chore: feature merge master
2026-01-27 09:45:54 +00:00
Anton Cherniavskyi
9df0d7656f
fix(Button): solid variant borders inside Space Compact ( #56486 )
...
* fix(Button): solid variant borders inside Space Compact
* refactor(Button): use genCssVar hook to generate CSS variables
* chore: adjust logic of compact
* test: update demo
---------
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: afc163 <afc163@gmail.com >
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2026-01-27 14:29:34 +08:00
github-actions[bot]
3c256d3f57
chore: auto merge branches ( #56727 )
...
chore: merge master into feature
2026-01-23 07:19:11 +00:00
afc163
2f6548209d
test: fix test case skip logic ( #56701 )
...
* test: fix test case skip logic
* fix
* fix
* test: add snapshot tests for splitter and table demos
* test: remove skip options from splitter tests
* test: add snapshot for size-mix demo in splitter component
2026-01-23 13:02:04 +08:00
高艳兵
6f90801861
fix(Button): text variant tokens not working ( #56291 )
...
* fix(Button): text variant tokens not working
* test(Button): add debug demo for text variant component tokens
* test: update button debug color variant snapshots
* fix: getCssVar to varName
---------
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
2026-01-23 09:49:48 +08:00
二货爱吃白萝卜
e0c9df2fed
fix: button border width not follow design token ( #56683 )
...
* chore: fix button line width
* test: update demo
2026-01-21 14:14:07 +08:00
github-actions[bot]
10d2f753f7
chore: auto merge branches ( #56663 )
...
chore: sync master into feature
2026-01-19 15:32:02 +00:00
高艳兵
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
Guo Yunhe
d6d7e90998
feat(Button,ConfigProvider): loadingIcon config ( #56439 )
...
* feat(Button,ConfigProvider): loadingIcon config
* test(Button): loadingIcon ConfigProvider
* Update components/config-provider/index.zh-CN.md
Signed-off-by: thinkasany <480968828@qq.com >
* Update components/config-provider/index.en-US.md
Signed-off-by: thinkasany <480968828@qq.com >
---------
Signed-off-by: thinkasany <480968828@qq.com >
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
2026-01-19 14:18:03 +08:00
github-actions[bot]
4ab542e7c3
chore: auto merge branches ( #56614 )
...
chore: sync master into feature
2026-01-15 02:22:27 +00:00
遇见同学
07f0db2ddc
docs: refactor replace createStyles with createStaticStyles across multiple components ( #56610 )
...
* refactor: replace createStyles with createStaticStyles across multiple components
* chore: update
---------
Co-authored-by: thinkasany <480968828@qq.com >
2026-01-15 09:38:51 +08:00
Guo Yunhe
6e55573b5c
feat(Avatar): size default to 'medium' instead of 'default' for consistancy ( #56440 )
...
Co-authored-by: 遇见同学 <1875694521@qq.com >
2026-01-14 13:18:27 +08:00
lijianan
40c0bd6bb1
fix: improve Button child style order ( #56597 )
...
* fix: improvement style order
* update snap
* update undefined
* snap update
2026-01-14 03:42:40 +08:00
QdabuliuQ
8fd30ab4a2
fix(Button): child element's className being cleared when rendering two Chinese characters. ( #56593 )
2026-01-13 18:14:54 +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]
2ff9d89b15
chore: auto merge branches ( #56408 )
...
chore: sync master into feature
2025-12-29 12:53:43 +00:00
遇见同学
ec0bdd2984
type: improve type ( #56401 )
2025-12-28 20:14:57 +08:00
lijianan
5c52fea0bf
refactor(types): derive SemanticName from semantic maps ( #56389 )
...
* refactor(types): derive SemanticName from semantic maps
* update type
2025-12-27 18:12:44 +08:00
lijianan
631ee77e5b
Merge branch master into master-merge-feature
2025-12-23 10:30:52 +08:00
高艳兵
8393f59cd3
docs(Button): hide deprecated groupBorderColor from token table ( #56297 )
2025-12-22 11:37:53 +08:00
lijianan
c3f41c19ba
refactor(types): replace Record with explicit object for better DX ( #56298 )
2025-12-22 10:47:06 +08:00
lijianan
a1cc627635
demo: migrate wave demo from ConfigProvider to Button ( #56303 )
...
* demo: migrate wave demo from ConfigProvider to Button
* update
* update
2025-12-21 18:07:57 +08:00
Anton Cherniavskyi
af27ca20fb
feat(Checkbox.Group, Radio.Group): add support for role prop ( #56126 )
...
Co-authored-by: 遇见同学 <1875694521@qq.com >
2025-12-12 10:49:25 +08:00
yoyo837
58e3f85dcc
Merge branch 'master' into feature-merge-master
2025-12-03 17:31:33 +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
余晖
25a37ed20a
fix(button): primaryColor and dangerColor tokens not working with sol… ( #55934 )
...
* fix(button): primaryColor and dangerColor tokens not working with solid variant
- Add text color override for primary solid variant
- Add text color override for danger solid variant
- Align implementation with default button pattern
- Add demo test case for token customization
* fix(button): primaryColor and dangerColor tokens not working with solid variant
- Add text color override for primary solid variant
- Add text color override for danger solid variant
- Align implementation with default button pattern
- Add demo test case for token customization
* fix(Button): fix tokens not working with solid, outlined and dashed variants
---------
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: Amumu <yoyo837@hotmail.com >
2025-12-03 16:49:07 +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
Andrew
ef52e15a93
fix(Button): incorrect hover color for default solid button ( #55825 )
...
Co-authored-by: 遇见同学 <1875694521@qq.com >
2025-11-24 10:21:14 +08:00
lijianan
f96282a4f9
refactor: reuse isNonNullable ( #55827 )
...
* refactor: reuse isNonNullable
* update
2025-11-23 16:25:26 +08:00
lijianan
0c02417afe
fix: add iconSharedProps
2025-11-21 03:15:49 +08:00
lijianan
20ca6f5118
refactor(Button): Change the iconNode ternary nesting to a map query
2025-11-21 03:13:02 +08:00
EmilyyyLiu
bbef6f8752
feat[Input.Search]: Abandoning the use of addon * in the Search component ( #55705 )
...
* refactor: Search component refactoring using compact
* test: update snap
* test: update snap
* test: update snap
* chore: fix style
* chore: fix search style
* test: update snapshot
* test: update snapshot
* test: update snapshot
---------
Co-authored-by: 刘欢 <lh01217311@antgroup.com >
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-11-14 16:16:23 +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
lijianan
2827a68ff8
test: update test case ( #55546 )
...
* test: update test
* update
* update
* update
* update
* update
2025-11-01 11:41:14 +08:00
thinkasany
fba4c3d565
chore: sync master into next
2025-10-27 22:03:52 +08:00
lijianan
682c460673
docs: fix docs typo ( #55493 )
...
* docs: fix docs typo
* update
* update
* update
2025-10-27 13:13:06 +08:00