Commit Graph

323 Commits

Author SHA1 Message Date
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +08:00
叶枫
7e1e6d8e73
chore: fix overview search (#44523) 2023-08-30 09:53:18 +08:00
lijianan
fae1fef77d
fix: add role="button" props to div (#44494)
* fix: add role="button" props to div

* fix: fix
2023-08-29 15:04:03 +08:00
lijianan
4d1bac4651
site: add code-hide Button for CodePreviewer (#44449)
* site: add code-hide Button for CodePreviewer

* fix: fix style

* add token

* fix: fix css props

* fix

* fix: fix

* fix: fix

* Update .dumi/theme/builtins/Previewer/CodePreviewer.tsx

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

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-28 20:10:40 +08:00
afc163
07056fa791
docs: fix theme card style in Firefox (#44473) 2023-08-28 19:48:55 +08:00
二货爱吃白萝卜
50bf708e59
fix: hooks call warning (#44450) 2023-08-27 19:57:19 +08:00
二货爱吃白萝卜
4e9ac02b08
fix: Tour panel token & home support dark mode (#44428)
* docs: update home page

* docs: home support dark mode

* docs: fix mobile

* docs: fix rtl

* docs: update locale
2023-08-25 19:08:52 +08:00
afc163
0295322564
docs: prevent highlight code initially (#44344) 2023-08-22 19:00:06 +08:00
MadCcc
70d9a909c4
docs: fix anchor positioning (#44348) 2023-08-22 17:48:53 +08:00
叶枫
80e1bc87bc
style: remove importOrderSeparation from prettier config (#44336) 2023-08-22 13:11:18 +08:00
MadCcc
da699b11be
docs: add fallback for previewer (#44327)
* docs: add fallback for previewer

* chore: code clean
2023-08-21 23:28:14 +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
MadCcc
b50928fb88
chore: split previewer (#44310) 2023-08-21 14:38:22 +08:00
iola1999
80bd54f515
chore: redirect with rest url (#44298) 2023-08-18 18:29:44 +08:00
lijianan
3b913cf17b
site: add internationalization for docs (#44263)
* site: add internationalization for docs

* fix

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

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

* fix: fix

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-18 10:41:45 +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
MadCcc
8a65ad6515
docs: fix font color (#44236) 2023-08-15 19:10:32 +08:00
MadCcc
3f0e74702e
docs: fix theme editor page (#44232) 2023-08-15 15:57:04 +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
ddfe37a14e
docs: bump theme-editor (#44171)
* chore: fix plugin antd import

* chore: code clean

* chore: fix image test

* chore: fix image test
2023-08-11 19:37:53 +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
3d22c1a26f
docs: add v4 theme guide (#44078)
* docs: add v4 theme guide

* chore: code clean

* chore: code clean

* docs: update docs en
2023-08-07 19:35:32 +08:00
Peach
1273cc9d01
docs: avoid unnecessary re-render when toggle debug (#42255)
* docs: avoid unnecessary re-render when toggle debug

* chore: upgrade dumi

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-08-07 17:07:25 +08:00
MadCcc
dc065177f9
docs: sandpack block support config (#44072)
* docs: sandpack block support config

* chore: fix lint
2023-08-07 14:24:05 +08:00
afc163
c5cae926ff
docs: improve code previewer style (#44071)
* docs: improve code previewer style

* docs: simplify dom structure
2023-08-07 13:47:28 +08:00
thinkasany
d009fbdd4e
type(Link): LinkProps add style type (#44041) 2023-08-07 11:43:28 +08:00
二货爱吃白萝卜
e8f9f6a88d
docs: Add happy wave package (#44031)
* docs: theme add happy work

* docs: update happy

* fix: lint

* docs: rename
2023-08-07 10:44:04 +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
lijianan
ee61b30f6b
site: fix error Tabs.TabPane is deprecated use items directly (#44028)
* site: fix error Tabs.TabPane is deprecated use `items` directly

* fiux
2023-08-04 17:32:09 +08:00
thinkasany
991dbe6207
site: remove useless any (#44018)
* type: remove useless any

* revert:treeIcon as any}
2023-08-04 14:44:19 +08:00
afc163
4476c9041b
docs: add full change log link (#43986)
* site: add full changelog link

* chore: update Link

* Apply suggestions from code review

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

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-03 17:45:49 +08:00
MadCcc
202bd7051b
revert: script defer (#43992) 2023-08-03 17:06:43 +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
MadCcc
76dd6dc1bb
[WIP] docs: use sandpack for demo (#43854)
* docs: use sandpack for demo

* chore: update

* docs: adjust theme

* docs: sandpack ssr

* docs: sandpack fallback

* fix: ssr

* chore: fix css extract

* chore: fix lint

* fix: fix lint

* chore: rm theme

* fix: solve ssr sissue

* chore: fix lint

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-08-01 10:53:55 +08:00
thinkasany
23040aa25f
chore: remove useless any & add CSSProperties type (#43921) 2023-08-01 01:26:41 +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
lijianan
6cc3c2cd4f
fix: fix site bug (#43888) 2023-07-29 03:01:02 +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
二货爱吃白萝卜
a96e1bf04e
docs: fix ssr a link style (#43862) 2023-07-28 11:17:29 +08:00
MadCcc
6bb4576d9c
docs: defer (#43856)
* Revert "docs: antd component export by page level (#43762)"

This reverts commit 7c1d913f49.

* chore: add defer to umijs

* Revert "Revert "docs: antd component export by page level (#43762)""

This reverts commit 85cead4d99.
2023-07-27 22:51:41 +08:00
二货爱吃白萝卜
231857b297
docs: cssinjs less (#43707)
* docs: cssinjs less

* docs: update blog

* docs: typo

* docs: fix lint
2023-07-27 18:04:31 +08:00
二货爱吃白萝卜
7c1d913f49
docs: antd component export by page level (#43762)
* chore: init for clean

* docs: comment

* chore: ping

* fix: lint

* chore: clean up
2023-07-27 16:22:53 +08:00
二货爱吃白萝卜
39d3baef43
enhance: not extract message notification style in SSR (#43808)
* enhance: message not render style in SSR

* enhance: notification not render style in SSR

* docs: not render App if in demo page
2023-07-26 11:03:42 +08:00
二货爱吃白萝卜
87a1004ff4
docs: adjust home image load logic (#43798)
* docs: add webp format

* docs: img loaded keys

* docs: auto color

* docs: fix lint

* chore: fix theme switch

* fix: logo missing
2023-07-25 21:44:30 +08:00
MadCcc
1d2e0db8f4
docs: fix resource page (#43782)
* docs: fix resource page

* chore: fix min-height

* chore: add test
2023-07-25 15:15:42 +08:00
afc163
cba1493a83
site: fix a11y issues (#43779) 2023-07-25 14:03:26 +08:00
MadCcc
c713606b8c
docs: enable components tree-shaking (#43777) 2023-07-25 11:53:28 +08:00