546 Commits

Author SHA1 Message Date
遇见同学
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
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
github-actions[bot]
60cd020a35 chore: auto merge branches (#56380)
chore: merge master into feature
2025-12-27 09:14:24 +00:00
高艳兵
c0589e939d chore: adjust Tag default background contrast (#56326) 2025-12-24 10:11:56 +08:00
lijianan
c3f41c19ba refactor(types): replace Record with explicit object for better DX (#56298) 2025-12-22 10:47:06 +08:00
lijianan
08cd435a67 demo: update Tag demo (#55999)
Co-authored-by: thinkasany <480968828@qq.com>
2025-11-30 20:59:13 +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
遇见同学
d5bcfab724 feat(CheckableTagGroup): Support better customization with semantic classNames/styles as function (#55796) 2025-11-21 18:09:00 +08:00
遇见同学
03acb88826 docs: update semantic structure types in component documentation (#55795) 2025-11-21 17:29:29 +08:00
thinkasany
0163503d2f fix: add tag useColor hooks missing memo deps (#55555) 2025-11-01 14:41:55 +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
遇见同学
e569c0924a demo: improve demo adapt to dark (#55535) 2025-10-31 11:15:22 +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
遇见同学
74d2712935 test: improve single test structure (#55383) 2025-10-20 18:48:47 +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
thinkasany
e0b59e166f chore: turn on perfectionist/sort-named-imports (#55215)
* chore: turn on perfectionist/sort-named-imports

* turn on perfectionist/sort-named-exports
2025-10-01 21:19:07 +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
遇见同学
84f761eebd feat(tag): Support better customization with semantic classNames/styles as function (#54984)
* feat(tag): Support better customization with semantic classNames/styles as function

* update demo snap
2025-09-30 11:39:45 +08:00
thinkasany
588f4a3518 chore: sync feature into next 2025-09-28 13:30:33 +08:00
thinkasany
87601689fa chore: turn on unicorn/prefer-includes (#55169) 2025-09-28 11:55:43 +08:00
thinkasany
60ac885f53 chore(biome): lint fix 2025-09-25 20:52:22 +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
da2269649d test: update snapshot 2025-08-08 12:08:45 +08:00
thinkasany
f1afc710c3 test: Adapting to jest v30 2025-08-07 12:01:07 +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
遇见同学
714bd86c23 chore: next sync master useClosable tag test (#54377) 2025-07-13 14:41:30 +08:00
lijianan
4133b4d9b5 chore: merge feature into next 2025-07-13 13:13:25 +08:00
github-actions[bot]
06ef05d7da chore: auto merge branches (#54374)
chore: merge master into feature
2025-07-13 04:46:28 +00:00
遇见同学
00033edc96 fix(useClosable): closeIcon props not correctly passed through (#54370) 2025-07-12 22:16:10 +08:00
lijianan
e49d7691e4 chore: merge feature into next 2025-07-11 03:00:42 +08:00
𝑾𝒖𝒙𝒉
0fba5f81a8 docs(tag): Improve document description (#54330)
* docs: update icon property documentation for CheckableTag to reflect version support

* Update components/tag/demo/icon.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 𝑾𝒖𝒙𝒉 <wxh16144@qq.com>

* chore: update

---------

Signed-off-by: 𝑾𝒖𝒙𝒉 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-07-09 10:24:21 +08:00
QdabuliuQ
a6b5c0f28c feat[Tag.CheckableTag]: Tag.CheckableTag supports icon property (#54298)
* feat[Tag.CheckableTag]: CheckableTag support icon

* chore: commit snapshot files and update version number

* chore: modify test and md files

* chore: modify test and md files

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-07-07 11:34:59 +08:00
EmilyyyLiu
b1467d6ec8 feat(Divider): unify orientation attribute usage (#53645)
* feat[Divider]: Unified use of orientation attribute

* feat: Restore the size type missed in the merge

* feat: Delete unnecessary demo adjustments

* docs: change text

* feat: deprecated warning

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

Signed-off-by: thinkasany <480968828@qq.com>

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

Signed-off-by: thinkasany <480968828@qq.com>

* feat: use useOrientation and change test,doc

* feat: change demos orientation attribut

* docs: change token and demo (orientationMargin->titlePlacementMargin)

* feat: change demos  titlePlacement="left/right" -> "start/end"

* docs: titlePlacement align

* feat: Resolve merge conflicts

* fix: lint error

* fix: demo lint error

* feat: use mergedStyles.content

* test: update snapshot

* rerun ci

* test: update snapshot

* fix: delete titlePlacementMargin and udpate snapshots

* feat: change demos orientationMargin-> styles.content.margin

* Update components/divider/demo/vertical.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* feat: Call warning using list

* docs: `vertical` to make the divider vertical.

* docs: Modify punctuation usage

* docs: Add deprecated description

* docs: Clarify the possible values for titlePlacement in the example

* feat: replase  { margin: '0' } ->{ margin: 0 }

---------

Signed-off-by: thinkasany <480968828@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-06-03 14:09:56 +08:00
thinkasany
1f2d5838bc feat: ConfigProvider support classNames and styles for divider (#53890)
* feat: ConfigProvider support classNames and styles for divider

* save

* save

* snap

* style update

* clean

* demo update

* fix

* rerun ci

* docs: update demo

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-05-27 15:48:52 +08:00
thinkasany
62bca9910e chore: remove SemanticPreview 2025-05-24 09:07:54 +08:00
thinkasany
3c3260256c test: update snap 2025-04-24 21:21:43 +08:00
thinkasany
26ba87e4fb chore: sync feature into next 2025-04-24 21:13:27 +08:00
kiner-tang(星河)
5236fa8d26 feat: Optimized closable component's aria props (#53410)
* feat: Optimized closable component's aria props

* Update components/_util/hooks/useClosable.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang(星河) <1127031143@qq.com>

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* chore: add a11y def

* chore: update a11y ts

* chore: clean up

* chore: clean up

* docs: update demo

---------

Signed-off-by: kiner-tang(星河) <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-24 18:36:18 +08:00
thinkasany
2847cfd22a chore: sync feature into next 2025-04-21 10:30:07 +08:00
诸岳
482548f052 fix(icon): custom colorIcon should work for component icon (#53511) 2025-04-16 23:02:44 +08:00
thinkasany
26e2f43dfb chore: Use filled variant to replace the bordered={false} for tag (#53436)
* chore: Use filled variant to replace the bordered={false} for tag

* fix

* add test
2025-04-08 14:45:10 +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
Guo Yunhe
b47db12738 feat(Tag): custom color support 3 variants (#53097)
* feat(Tag): custom color support 3 variants

* chore: use hooks

* chore: update size limit

* test: coverage

* test: coverage

* fix: variant name

* fix: solid default color

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* demo: cov

* test: coverage

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-03-25 23:33:22 +08:00
Guo Yunhe
ffe0cce347 feat(CheckableTagGroup): new component (#53256)
* feat(CheckableTagGroup): new component

* feat(CheckableTagGroup): new component

* chore: order

* test: add test case

* chore: id support

* chore: aria

* test: add test case

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-03-24 22:33:59 +08:00