82 Commits

Author SHA1 Message Date
thinkasany
acc11dfccb chore(eslint): add fetch to polyfills configuration (#56697) 2026-01-21 23:05:52 +08: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
QdabuliuQ
c235b1193b site: add keepAlive animation to theme transition fix flickering after switching themes (#56544)
* fix: add keepAlive animation to theme transition

* style: modify animation keyframes

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2026-01-12 15:22:52 +08:00
lijianan
39b7edd337 site: use css logical attributes (#56388)
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-12-27 18:12:05 +08:00
afc163
8f616c018e fix: update menu tag labels and ordering (#56366)
Co-authored-by: thinkasany <480968828@qq.com>
2025-12-26 12:05:18 +08:00
GeoDaoyu
6e725877f4 docs: add space in PrevAndNext (#55896) 2025-11-26 10:05:47 +08:00
thinkasany
c5eccff05b chore: sync feature into next 2025-11-19 00:20:57 +08:00
SocietyNiu
7aabe2a4fa docs: Fix custom storage sync event (#55753)
* docs: fix unexpected storage logic

* Update .dumi/hooks/useLocalStorage.ts

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: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-18 10:12:05 +08:00
lijianan
70f4d64c19 chore: merge feature into next 2025-10-31 10:57:54 +08:00
iola1999
9e792c72c2 site: remove infinite loop in theme transition (#55527) 2025-10-29 20:30:10 +08:00
lijianan
adb7e8f73d chore: merge feature into next 2025-10-28 18:26:11 +08:00
lijianan
7f921b0ad4 fix: add process.env.NODE_ENV for useLocalStorage (#55506) 2025-10-28 15:04:07 +08:00
thinkasany
d65ee1d31a chore: sync feature into next 2025-10-25 10:50:22 +08:00
lijianan
94a2574e4a chore: fix lint error (#55451)
* test

* fix lint error

* fix lint error

* fix lint error

* fix lint error

* fix lint error

* fix lint error

* fix lint error

* update

* update

* update

* update

* update

* update
2025-10-25 10:06:51 +08:00
lijianan
ca1480c4f9 Merge branch feature into next-merge-feature 2025-10-22 20:15:30 +08:00
lijianan
70cba6b961 site: add useLocalStorage hook (#55401)
* site: add useLocalStorage hook

* update

* update

* update
2025-10-22 09:57:34 +08:00
lijianan
1be5555d57 Merge branch feature into next-merge-feature 2025-10-19 10:50:05 +08:00
lijianan
9823f348fc site: update missing dependency (#55358)
* site: update missing dependency

* update

* update

* Update .dumi/theme/layouts/DocLayout/index.tsx

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

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-19 09:07:49 +08:00
thinkasany
628d8a4543 chore: sync feature into next 2025-10-18 15:48:36 +08:00
lijianan
669e948638 site: refactor useIssueCount with SWR (#55343)
* refactor(site): refactor useIssueCount with SWR

* Update .dumi/hooks/useIssueCount.ts

Co-authored-by: codefactor-io[bot] <47775046+codefactor-io[bot]@users.noreply.github.com>
Signed-off-by: lijianan <574980606@qq.com>

* update

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: codefactor-io[bot] <47775046+codefactor-io[bot]@users.noreply.github.com>
2025-10-18 10:35:27 +08:00
thinkasany
cfe7272226 chore: sync feature into next 2025-10-18 00:45:13 +08:00
afc163
aa13ad28e4 site: add issue count hook and integrate into component meta (#55337)
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>
2025-10-17 22:37:12 +08:00
lijianan
b5d72b5a77 site: use SWR, make query always fast and reactive (#55205)
* site: use SWR, make query always fast and reactive

* update

* update

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 11:43:57 +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
lijianan
ec1be4a9ed site: use SWR, make response always fast and reactive (#55186)
* site: use SWR, make query always fast and reactive

* update

* update
2025-09-29 23:05:13 +08:00
二货爱吃白萝卜
69538c4ff5 docs: Site semantic apply (#54514)
* chore: modal desc

* chore: bump

* chore: update style

* chore: clean up

* chore: .gitginore

* chore: replace

* chore: replace token to cssVar

* chore: replace token to cssVar

* chore: fix lint

* chore: replace token to cssVar

* chore: replace token to cssVar

* chore: replace token to cssVar

* chore: part of it

* chore: merge master

* chore: fix missing token

* docs: menu style
2025-07-29 16:33:47 +08:00
thinkasany
ec033f6a08 chore: sync feature into next 2025-07-17 11:48:12 +08:00
broBinChen
1888b500a8 chore: resolve non-null assertion logic error in useLocale hook (#54384)
Co-authored-by: xiaobin <xiaobin_chen@fzzixun.com>
2025-07-14 13:24:32 +08:00
二货爱吃白萝卜
2a2338aefc chore: deprecated List and bump alpha (#54182)
* chore: deprecated List and bump alpha

* docs: add deprecated mark

* chore: deprecated tag

* docs: update deprecated warning

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: coverage

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-06-27 10:50:40 +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
lijianan
23b97f2922 chore: merge feature into next 2025-04-01 01:41:07 +08:00
lijianan
f8983c6894 site: update React.useContext to React.use (#53341)
* chore: update use to react19

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2025-03-31 11:03:49 +08:00
thinkasany
33982ce53a chore: sync feature into next 2025-03-31 10:29:47 +08:00
lijianan
e120b70ed3 site: rm custom use, replace with React.use (#53339) 2025-03-29 22:22:17 +08:00
lijianan
a6610f4843 choer: merge feature into next 2025-03-16 07:35:04 +08:00
lijianan
2b90267d5f test: remove ts-ignore (#53169)
* test: remove ts-ignore

* test: remove ts-ignore
2025-03-15 13:03:55 +08:00
thinkasany
07675457b8 chore: sync feature into next 2025-03-12 15:17:59 +08:00
lijianan
1fd31e90ca site: update log tag style (#53102) 2025-03-09 22:13:21 +08:00
thinkasany
bd2e46996d chore: sync feature into next 2025-02-10 21:17:12 +08:00
lijianan
808d5cae01 docs: update Deprecated Tag (#52720)
* docs: update Deprecated Tag

* fix: fix
2025-02-10 16:13:45 +08:00
lijianan
ab0e07e25d refactor: [v6] use rc-component (#52337)
* refactor: use @rc-component

* chore: adjust compile

* test: fix logic

* chore: back of reset

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-01-10 14:14:31 +08:00
renovate[bot]
863f61d908 chore(deps): update dependency eslint to v9 (#50690)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
afc163
bfd2c06987 docs: tweak document content area width (#50625) 2024-08-29 14:05:07 +08: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
2acb7b217a site: use css token (#48294)
* site: use css token

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-06 16:11:17 +08:00
lijianan
570c1be492 site: add component version to meta (#48226)
* site: add component version to meta

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
lijianan
0a79a79bc7 docs: update sidebar style of website (#48224)
* docs: update GetRef/GetProp/GetProps docs

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-02 14:05:03 +08:00
lijianan
4eaa664d2e type: fix useLocale type error of site (#48204) 2024-04-01 12:07:58 +08:00
afc163
f5e9d2df45 docs: fix Menu ellipsis style (#47997) 2024-03-21 14:28:12 +08:00
lijianan
903aa71a40 chore: update getItemTag to react component (#47583)
* docs: update docs

* update docs

* chore: update .dumi
2024-03-01 22:19:06 +08:00