Commit Graph

69 Commits

Author SHA1 Message Date
afc163
bfd2c06987
docs: tweak document content area width (#50625) 2024-08-29 14:05:07 +08:00
lijianan
e8fa5938ab
site: rewrite with CSS logical properties (#50109)
* site: use CSS logical properties

* Update components/anchor/demo/targetOffset.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* chore: fix

* fix: add more

* fix: add more

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00
lijianan
4a84f7e335
docs: update blog ref to zhuanlan (#49960) 2024-07-19 11:00:46 +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
afc163
c5114b3f87
docs: fix change-log button position (#49552)
* docs: fix changelog button position

* fix lint
2024-06-22 16:51:41 +08:00
lijianan
ddf70283ed
site: update site type { children: React.ReactNode } => React.PropsWithChildren (#48770)
* site: update site type React.ReactNode => React.PropsWithChildren

* fix: fix

* fix: fix
2024-05-06 15:28:52 +08:00
lijianan
8ef0a514bc
site: update site scroll-bar style (#48755)
* site: update site scroll-bar style

* site: update site scroll-bar style
2024-05-03 13:52:04 +08:00
gin-lsl
72b5263344
site: sync all code type of demos when change one of them (#48436)
* site: sync all code type of demos when change one of them

* site: remove localStorage

---------

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-04-13 23:11:29 +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
87fe058776
site: site code optimization (#48286) 2024-04-05 15:15:10 +08:00
Eden Wang
d62d51a76c
site: move the blur to inner div (#48283) 2024-04-05 11:41:02 +08:00
kiner-tang
1d79f6d962
site: opt site style (#48282) 2024-04-05 11:10:02 +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
konka
bc788704b5
site: fix the aside nav may cover the version dropdown box in so… (#48082)
* fix(site): fix the aside nav may cover the version dropdown box in some screen resolutions

* fix(review): fix code  review
2024-03-26 14:12:01 +08:00
MadCcc
030cb17329
docs: fix anchor flick when has popover (#48064) 2024-03-25 11:50:55 +08:00
afc163
15532f9ff1
docs: add docs edit link in meta (#48034)
* docs: add docs edit link in meta

* Apply suggestions from code review

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

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-23 18:47:23 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
afc163
c329efe45f
docs: tweak contributors fallback style (#47407) 2024-02-08 13:56:18 +08:00
MadCcc
b996149582
docs: fix toc max-height (#47302) 2024-02-02 13:46:26 +08:00
renovate[bot]
10f88d197c
chore(deps): update dependency @qixian.cs/github-contributors-list to v2 (#47081)
* chore(deps): update dependency @qixian.cs/github-contributors-list to v2

* fix: fix import

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-21 11:58:02 +08:00
lijianan
0ea3da719d
site: replace site page <Space /> with <Flex /> (#46834) 2024-01-06 18:05:25 +08:00
afc163
3906010f4f
chore: footer should not in suspense (#46687) 2023-12-28 22:14:09 +08:00
afc163
398f924740
docs: load some components when in-viewport (#46629)
* docs: load some components in viewport

* chore: fix lint errors

* chore: fix fallback
2023-12-28 21:27:21 +08:00
lijianan
3d4e3ca089
site: site ContributorAvatar style optimization (#46623) 2023-12-26 12:08:50 +08:00
afc163
acbbbfebc2
refactor: import other components async in component doc (#46491)
* refactor: ContributorAvatar component

* refactor: import other components async in component doc

* chore: fix lint

* docs: add suspense fallback

* docs: add suspense fallback

* docs: add suspense fallback
2023-12-17 15:33:54 +08:00
MadCcc
e43686da70
docs: fix site issue (#45063)
* docs: fix site issue

* chore: code clean
2023-09-25 16:08:42 +08:00
MadCcc
12efe328ac
docs: optimize site layout (#44111)
* docs: sticky header

* docs: adjust floatbutton zindex

* chore: code clean
2023-08-08 19:48:41 +08:00
MadCcc
d9c7a0cc82
docs: react docs arrange (#44029)
* docs: react docs arrange

* chore: code clean

* docs: arrange docs en

* docs: update

* docs: update

* docs: update en doc

* docs: update
2023-08-04 19:27:38 +08:00
MadCcc
d1f8b500df
perf: better async component (#43982)
* perf: better async component

* feat: useFetch

* chore: code clean

* chore: code clean

* chore: fix lint

* type: enhance
2023-08-03 14:45:51 +08:00
二货爱吃白萝卜
28051ebe91
docs: Component page support history log (#43974)
* chore: init

* chore: update logic

* chore: update logic

* docs: update doc

* docs: fix all

* docs: fix all

* chore: add public path

* chore: write file

* docs: en

* docs: all

* chore: adjust

* feat: changelog

* docs: fix changelog

* chore: update script

* chore: fix lint

* chore: fix lint

* docs: update doc check logic

* docs: update changelog

* docs: update changelog

* test: update test case

* test: update test case

* test: update snapshot
2023-08-03 10:58:38 +08:00
lijianan
41d0a775c1
site: optimize site style in mobile (#43895)
* site: ptimize site style in mobile

* fix
2023-07-30 19:16:30 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
MadCcc
ded37eebfc
docs: add min-height to Content (#43763) 2023-07-24 19:56:17 +08:00
MadCcc
a17bb9c547
docs: fix contributor list cls (#43741) 2023-07-24 10:49:05 +08:00
afc163
c831145cf4
site: improve a11y score in ant.design site (#43699) 2023-07-21 15:04:42 +08:00
MadCcc
e96059cd76
docs: migrate to antd-style (#43623)
* docs: migrate to antd-style

* [CodeFactor] Apply fixes

* chore: code clean

* chore: lint

* chore: try cache

* chore: try

* fix: ssr

* chore: code clean

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2023-07-20 19:27:33 +08:00
lijianan
8d2512be2f
site: remove github-actions[bot] (#43182) 2023-06-26 12:11:31 +08:00
lijianan
285753c67f
site: add juejin column card (#43171) 2023-06-25 12:27:03 +08:00
lijianan
c01972edb2
site: add zhihu & yuque column card (#43122)
* site: add zhihu card

* fix

* fix

* fix

* Update .dumi/theme/slots/Content/ZhihuCard.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* fix

* fix

* fix

* Update basic.tsx

* Update .dumi/theme/slots/Content/ZhihuCard.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* fix

* update style

* fix

* fix

* fix: rename

* update

* update

* update url

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-22 21:11:12 +08:00
未觉雨声
0547bc6f85
docs: fix PrevAndNext icons RTL (#42822)
* fix: footer prev-and-next rtl fix

* Update .dumi/theme/common/PrevAndNext.tsx

* Update .dumi/theme/common/PrevAndNext.tsx

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-06-05 09:46:52 +08:00
未觉雨声
71836057d1
docs: fix content anchor setion to use logical style (#42707) 2023-05-30 10:33:35 +08:00
afc163
9da38fd479
docs: fix design docs detail (#42568) 2023-05-24 14:27:03 +08:00
MadCcc
d43c15f2f4
docs: fix ssr warning (#41776)
* docs: fix ssr warning when click anchor

* docs: fix demoWrapper SSR

* chore: try

* Revert "chore: try"

This reverts commit a6e0fe0906.
2023-04-13 18:13:13 +08:00
kiner-tang(文辉)
af0dbbd5d3
docs: blog support display author's avatar (#41231)
* feat: support author avatar in blog

* feat: author avatar

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: support custom authorInfos

* feat: comment

* feat: optimize code

* Update package.json

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: optimize code

* feat: avatar skeleton

* feat: optimize code

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-16 11:27:25 +08:00
MadCcc
5c0bc214cc
docs: fix duplicated desc (#41217)
* docs: fix duplicated desc

* fix: use remark plugin

* chore: fix ghost deps

* chore: better assign

* chore: use regexp

* chore: remove try catch
2023-03-14 20:34:36 +08:00
MadCcc
8467428528
refactor: rename preset colors in token (#41071)
* refactor: rename preset colors in Design Token

* feat: rename preset color in token
2023-03-05 20:49:26 +08:00
MadCcc
79ac80a0a2
docs: fix duplicated description (#41063) 2023-03-05 17:17:16 +08:00
MadCcc
853283b7e4
docs: DatePicker design tab (#40745)
* docs: DatePicker design tab

* docs: add design demo

* docs: add anchor for design demo

* docs: init g6

* docs: behavior map

* test: fix test cov

* docs: behavior map comp

* docs: add map title

* docs: fix ssr

* docs: update demo

* docs: optimize copy ux

* docs: update demo

* chore: code clean
2023-02-20 10:51:18 +08:00
MadCcc
0e974511ad docs: fix page h1 2023-02-08 22:54:21 +08:00
afc163
8f5f7cf814
site: fix 404 page (#40366) 2023-02-01 21:55:20 +08:00