404 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
遇见同学
3c9bb681e7 docs: improve performance replace createStyles with createStaticStyles (#56605)
* perf: use createStaticStyles

* chore: update snap

* chore: adjust

* chore: snap
2026-01-14 17:58:47 +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
c3f41c19ba refactor(types): replace Record with explicit object for better DX (#56298) 2025-12-22 10:47:06 +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
f96282a4f9 refactor: reuse isNonNullable (#55827)
* refactor: reuse isNonNullable

* update
2025-11-23 16:25:26 +08:00
遇见同学
03acb88826 docs: update semantic structure types in component documentation (#55795) 2025-11-21 17:29:29 +08:00
lijianan
a05df4d406 test: fix import path 2025-10-26 18:23:26 +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
1be5555d57 Merge branch feature into next-merge-feature 2025-10-19 10:50:05 +08:00
thinkasany
2818ba6b87 chore: turn on react-hooks/immutability (#55357)
* chore: turn on react-hooks/immutability

* Update .dumi/theme/common/Color/Palette.tsx

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

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-19 09:48:23 +08:00
lijianan
01c0321b17 chore: remove unstable api for React 19 compitable (#55274)
* chore: remove unstable api for React 19 compitable

* update

* update

* update

* update antd-token-previewer

* update

* update

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-13 23:14:52 +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
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
thinkasany
8a436833a8 refactor: semantic of message and notification (#55199)
* refactor: semantic of message and notification

* fix

* fix

* improve
2025-09-30 22:49:14 +08:00
nmsn
b8a5731195 feat(message): support better customization with semantic classNames/styles (#55054)
* feat(message): support better customization with semantic classNames/styles

* refactor: remove unnecessary useMemo from PurePanel

* Revert "feat(message): support better customization with semantic classNames/styles"

This reverts commit 1ae1e59793.

* refactor(message): restructure the logic for semantic classNames and styles

* Update components/message/index.en-US.md

Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/message/index.en-US.md

Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/message/index.zh-CN.md

Signed-off-by: 遇见同学 <1875694521@qq.com>

* Apply suggestion from @Meet-student

Co-authored-by: 遇见同学 <1875694521@qq.com>
Signed-off-by: nmsn <136696700@qq.com>

* docs(message): unify and fix inconsistencies in Chinese and English documentation

* refactor(message): remove redundant ternary operator in PurePanel

* refactor(message): update style-class demo

* test(message): update snapshot tests for demo

* test(message): update classNames/styles function test case

* test(message): update site snap

* chore: update demo

* chore: update code styles and test

* chore: update demo

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Signed-off-by: nmsn <136696700@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-09-30 16:36:23 +08:00
thinkasany
588f4a3518 chore: sync feature into next 2025-09-28 13:30:33 +08:00
thinkasany
8a7e15460c chore: turn on ts/method-signature-style (#55167) 2025-09-28 10:15:00 +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
thinkasany
998d8f008f chore: sync feature into next 2025-08-08 12:01:41 +08:00
afc163
613aad6a5d refactor: remove unnecessary object spread syntax for genFocusOutline calls (#54622)
Co-authored-by: lijianan <574980606@qq.com>
2025-08-08 08:34:25 +08:00
thinkasany
f1afc710c3 test: Adapting to jest v30 2025-08-07 12:01:07 +08:00
github-actions[bot]
20e9718c0a chore: auto merge branches (#54524)
chore: merge feature into next
2025-07-29 17:58:36 +00:00
lijianan
3d6eaabc26 chore: fix ci biome lint error (#54521) 2025-07-30 00:19:02 +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
469c549fdf chore: sync feature into next 2025-07-20 18:07:40 +08:00
Fane
00ff5a1783 docs: add tips of icons and static methods of message, Modal and notification (#54392)
Co-authored-by: afc163 <afc163@gmail.com>
2025-07-20 15:36:05 +08:00
afc163
60567adb65 Merge branch 'next' into next-merge-master
Signed-off-by: afc163 <afc163@gmail.com>
2025-06-19 15:26:43 +08:00
afc163
7b75aab9af chore: fix eslint errors and warnings (#54137) 2025-06-19 14:53:18 +08:00
thinkasany
e2e5572076 Merge remote-tracking branch 'origin/feature' into next-merge-feature 2025-06-09 11:52:47 +08:00
dependabot[bot]
99de8080a1 chore(deps-dev): bump @prettier/sync from 0.5.5 to 0.6.1 (#54019)
* chore(deps-dev): bump @prettier/sync from 0.5.5 to 0.6.1

Bumps [@prettier/sync](https://github.com/prettier/prettier-synchronized) from 0.5.5 to 0.6.1.
- [Release notes](https://github.com/prettier/prettier-synchronized/releases)
- [Changelog](https://github.com/prettier/prettier-synchronized/blob/main/.release-it.json)
- [Commits](https://github.com/prettier/prettier-synchronized/compare/v0.5.5...v0.6.1)

---
updated-dependencies:
- dependency-name: "@prettier/sync"
  dependency-version: 0.6.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chroe: rm eslint rule

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wanpan <wanpan96@163.com>
2025-06-09 10:22:04 +08:00
thinkasany
62bca9910e chore: remove SemanticPreview 2025-05-24 09:07:54 +08:00
EmilyyyLiu
62c9814ba7 feat: Replace 'rc-notification' with '@rc-component/notification' (#53319)
* feat:依赖新增@rc-component/notification

* feat: 对notification的closable改造,并将rc-notification使用修改为@rc-component/notification

* @rc-component/notification已经删除closeIcon,use Message删除closeIcon的配置

* reactivate PR

* feat: 修改notification mergedCloseIcon 的获取方式,并增加useClosable 非hook的方法

* 补充computeClosable方法的单测

* 补充computeClosable 方法单测

* test: 补充行覆盖率

* 提高useClosable代码复用

* feat: Add missing type definitions due to merging

* test: Supplement the row coverage of computeClassable method

* test: Supplement the row coverage of computeClassable method(2)

* test: Supplement the row coverage of computeClassable method(3)

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-05-15 11:53:38 +08:00
EmilyyyLiu
ac256ab599 feat(Message): Next message pause on hover (#53785)
* feat(Message):add pauseOnHover

* test(message): add pauseOnHover test

* feat: update site snapshots

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-05-09 22:12:39 +08:00
thinkasany
3a5f8a94be chore: sync feature into next 2025-05-01 09:10:59 +08:00
Attacktive
10185fd58a docs: replace Chinese punctuations within English documents (#53705)
The periods (。) and the commas (、) are replaced
2025-04-30 15:53:02 +08:00
𝑾𝒖𝒙𝒉
c8390debb2 chore: clean similar function methods (#53699) 2025-04-30 13:52:26 +08:00
thinkasany
de030bcfad chore: sync feature into next 2025-04-07 16:49:57 +08:00
afc163
3ef3434052 docs: add anchor for when-to-use section (#53318)
* docs: add anchor for when-to-use section

* Delete scripts/update-docs.js

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2025-04-03 10:45:36 +08:00
lijianan
284fce4871 site: add componentName for SemanticPreview (#53362)
* site: add componentName for SemanticPreview

* site: add componentName for SemanticPreview

* chore: fix
2025-04-01 07:50:38 +08:00
MadCcc
1ac0bcaa60 feat: use cssVar by default (#52671)
* feat: use cssVar by default

* chore: update deps

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: test

* chore: update

* chore: update scripts

* chore: UPDATE TEST

* feat: add root

* chore: update snapshot

* chore: fix test case

* chore: fix cycle deps

* feat: rm legacy css variables configuration

* chore: update test case

* chore: update

* chore: fix test

* chore: update overrides

* chore: bump cssinjs

* chore: add test case
2025-02-24 15:35:29 +08:00
lijianan
0c5557d1c2 refactor: [v6] use rc-component/resize-observer (#52578)
* refactor: [v6] use rc-component/resize-observer

* chore: mock of ResizeObserver

* test: update snap

* fix: fix

* chore: update dep

* test: back of snapshot

* fix: fix

* chore: update deps

* chore: update

* chore: update @rc-component/motion

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-02-18 16:01:16 +08:00