Commit Graph

106 Commits

Author SHA1 Message Date
MadCcc
67165a78fc
docs: live demo (#45383)
* docs: live demo

* chore: bump dumi

* chore: fix lint

* chore: fix lint

* chore: update demo

* chore: bump dumi

* docs: enhance live demo

* docs: update text
2023-10-23 22:49:49 +08:00
MadCcc
04cc086fb5
chore: fix tsc (#45352) 2023-10-15 19:17:32 +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
e41026ab59
docs: fix site issues (#44970) 2023-09-20 16:50:55 +08:00
红果汁
49846b8799
docs: fix yuque banner style issue (#44940) 2023-09-19 11:18:46 +08:00
cwg
5ac472d042
site: add LocalStorage caching for bannerVisible (#44910)
* feat: add LocalStorage caching for banner visible

* feat: add cache expiration time
2023-09-16 23:42:12 +08:00
cwg
2627caebb4
fix: site style conflict (#44899)
* fix: site style conflict

* chore: lint

* feat: optimize code
2023-09-15 22:03:53 +08:00
cwg
4d3814478c
site: optimize banner display (#44894) 2023-09-15 18:48:34 +08:00
cwg
fa61f81144
site: announce yuque welfare program (#44884)
* site: announce yuque welfare program

* chore: lint

* feat: optimize code

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-15 16:42:01 +08:00
MadCcc
21a2265efd
docs: show mirror modal on page load (#44291)
* docs: show mirror modal on page load

* chore: code clean

* chore: update

* fix: pathname reg

* chore: escape

* feat: add lang check

* chore: add langcheck

* feat: use src file

* chore: update css

* chore: update link

* Update .dumi/mirror-modal.js

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-08-21 19:51:47 +08:00
iola1999
80bd54f515
chore: redirect with rest url (#44298) 2023-08-18 18:29:44 +08:00
afc163
7179dc8d4c
docs: update footer links (#44272) 2023-08-17 19:12:34 +08:00
afc163
a92a883b77
docs: render china mirror link before hydration (#44233)
* docs: render china mirror link before hydration

* docs: fix pre render error

* chore: hide first

* chore: show china mirror link always
2023-08-16 18:19:11 +08:00
二货爱吃白萝卜
72b449a1a4
docs: update faq (#44198)
* docs: update faq

* chore: update lint

* chore: update lint

* chore: use returnType
2023-08-14 13:32:57 +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
MadCcc
7b92a0a6a6
docs: fix nprogress (#43955) 2023-08-02 14:04:29 +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
MadCcc
cbf2703b02
docs: performance enhance (#43705)
* docs: performance enhance

* chore: update snapshot
2023-07-21 17:14:54 +08:00
afc163
c831145cf4
site: improve a11y score in ant.design site (#43699) 2023-07-21 15:04:42 +08:00
二货爱吃白萝卜
e78b8f6f27
chore: bump cssinjs (#43691)
* chore: bump cssinjs

* chore: bump cssinjs

* chore: default light & motion

* test: snapshot ignore motion

* chore: clean up

* chore: bump cssinjs version

* chore: adjust log

* chore: adjust log
2023-07-21 14:53:35 +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
MadCcc
74c7d207c1
refactor: menu component token (#43576)
* docs: update examples link

* refacor: menu component token

* chore: update demo

* chore: update test case

* fix: token

* chore: fix

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* chore: fix lint

* refactor: more token

---------

Signed-off-by: MadCcc <1075746765@qq.com>
2023-07-17 10:13:22 +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
fb28fd2e15
docs: update version href logic (#43144)
* docs: update version href logic

* chore: format

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-06-21 18:52:21 +08:00
afc163
4ef820fc49
chore: remove warnings from site code (#43118)
* chore: remove / from old version url

* chore: remove dev warning
2023-06-20 19:38:58 +08:00
afc163
9c4b20d5eb
chore: remove / from old version url (#43117) 2023-06-20 19:38:42 +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
KuangPengfei
1b2313cb5e
docs: the LTR icon uses svg to better fit the dark theme (#42798)
* docs: the LTR icon uses svg to better fit the dark theme

* docs: new `DirectionIcon`
2023-06-05 00:51:16 +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
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +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
二货爱吃白萝卜
fd03bc1ceb
docs: fix 4.x mirror jump 404 (#41393)
* docs: fix mirror jump

* docs: adjust replace logic
2023-03-22 15:24:15 +08:00
wangxingkang
d418d0d0c0
chore: site style writing error (#41391) 2023-03-22 13:53:54 +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
afc163
986718c81f
docs: fix antd version in codesandbox preview link (#40983)
- Update dependencies to latest versions
- Replace `FormattedMessage` with `useSiteData`
- Add `Badge`
- Update `useLocation` to include `useSiteData`
- Update `versionOptions` to include `pkg.version`
- Update `defaultValue` of `Select` to `pkg.version`
- Update `arrow` prop of `Popover` to include `arrowPointAtCenter`

[.dumi/theme/builtins/Previewer/CodePreviewer.tsx]
- Replace `FormattedMessage` with `useSiteData`
- Update `antd` version in dependencies
- Update `@ant-design/icons` version in dependencies
- Update `react` version in dependencies
- Update `react-dom` version in dependencies
- Update `dayjs` version in dependencies
- Update `react-router-dom` version in dependencies
- Update `react-router` version in dependencies
- Add `Badge.
[.dumi/theme/slots/Header/index.tsx]
- Change import of `useLocation` to include `useSiteData`
- Add `pkg` to `useSiteData`
- Update `versionOptions` to include `pkg.version`
- Update `defaultValue` of `Select` to `pkg.version`
- Update `arrow` prop of `Popover` to include `arrowPointAtCenter`
2023-03-01 13:40:19 +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
二货机器人
35094551c1 docs: Fix footer zhihu columns link 2023-02-10 11:06:10 +08:00