Commit Graph

557 Commits

Author SHA1 Message Date
Ricky
24ed2cf364
docs: fix site document title flash during page loading (#44631)
* fix: site document title rerender after dumi prerender

* fix: comment & index page listener render

* fix: define seperate layour for index page & seperate Helmet title + desc definition

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-10-07 14:23:52 +08:00
afc163
abba072bd5
docs: fix API Table styling (#45001)
Signed-off-by: afc163 <afc163@gmail.com>
2023-10-07 12:13:20 +08:00
131a17d099
chore: improve demo dependency logic (#45142) 2023-10-07 09:45:27 +08:00
kiner-tang(文辉)
af38d9f9ee
docs: API table style optimize (#45185) 2023-10-06 09:23:53 +08:00
afc163
07eb5ba82d
docs: move copy button into code previewer (#45099) 2023-09-26 16:41:41 +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
dcfd1aea66
chore: do not show mirror modal in preview (#45011) 2023-09-22 11:38:56 +08:00
a9d6422722
docs: improve display of color block in docs (#44790)
* chore: update blog style

* Revert "chore: update blog style"

This reverts commit afc0a1d927.

* Revert "site: update docs styles (#39348)"

This reverts commit 4a803962eb.

# Conflicts:
#	.dumi/theme/builtins/ColorChunk/index.tsx
#	.dumi/theme/builtins/TokenTable/index.tsx
#	docs/react/customize-theme.en-US.md
#	docs/react/customize-theme.zh-CN.md

* chore: revert

* chore:revert

* chore: rename props

* chore: update

* chore(deps): add `dumi-plugin-color-chunk` plugin

* chore: update docs

* chore: update

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>

* docs: pick #44945

Co-authored-by: RedJue <RedJue@users.noreply.github.com>

---------

Signed-off-by: 红 <wxh16144@qq.com>
Signed-off-by: 红 <wxh1220@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: RedJue <RedJue@users.noreply.github.com>
2023-09-20 16:59:56 +08:00
MadCcc
e41026ab59
docs: fix site issues (#44970) 2023-09-20 16:50:55 +08:00
afc163
5c99a5ee49
type: fix type errors of React.Key (#44938)
* type: fix .dumi typing error

* type: fix React.Key type error

* type: fix React.Key type error

* type: fix React.Key type error

* type: fix React.Key type error

* Apply suggestions from code review

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

* fix: test case

* fix: test case

* chore: use @types/react latest version

* Apply suggestions from code review

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

* chore: update form def

* chore: more ts

* chore: revert demo ts

* chore: bump ver

* chore: fix more

* chore: fix demo

* chore: back of ci

* chore: fix ts

* chore: fix ts

* chore: part of it

* chore: fix ts

* chore: bump ver

* chore: fix lint

* chore: fix

* test: update test

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-09-20 11:01:49 +08:00
MadCcc
6939a2fcdf
docs: fix hydration (#44952) 2023-09-19 21:01:07 +08:00
afc163
9455ebec44
docs: update 5.9.2 changelog and lock @types/react (#44943)
* docs: update 5.9.2 changelog and lock @types/react

* docs: update 5.9.2 changelog and lock @types/react
2023-09-19 12:35:37 +08:00
红果汁
49846b8799
docs: fix yuque banner style issue (#44940) 2023-09-19 11:18:46 +08:00
二货爱吃白萝卜
dfe6c2c490
docs: Part of update (#44930)
* chore: fix changelog parser

* chore: clean up

* chore: fix site image style

* chore: bug version

* chore: clean up
2023-09-18 15:30:30 +08:00
lijianan
a0699ea1a0
type: fix .dumi type error (#44916) 2023-09-17 23:32:14 +08:00
afc163
62e338c775
type: enable type prompt for .dumirc.ts (#44886)
* type: fix .dumi missing types

* Update tsconfig.json

Signed-off-by: lijianan <574980606@qq.com>

* Update tsconfig.json

Signed-off-by: lijianan <574980606@qq.com>

* Update tsconfig.json

Signed-off-by: lijianan <574980606@qq.com>

* chore: clear tsconfig.json

* chore: update dumi version declaration

* type: correct unified plugin types

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
2023-09-17 21:52:01 +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
afc163
72da2678aa
site: remove legacy code for hash jump (#44836) 2023-09-13 19:08:52 +08:00
MadCcc
9ec402cfe1
docs: try to fix hydration error (#44797) 2023-09-13 09:31:22 +08:00
afc163
fa5c98311a
docs: fix demo code copy function (#44751) 2023-09-11 11:52:36 +08:00
kiner-tang(文辉)
b9dfb1847d
site: solve display exception when use happy work theme in dark mode (#44720)
* site: solve display exception when use happly work theme in dark mode

* feat: remove log

* feat: optimize code
2023-09-11 11:17:11 +08:00
afc163
4489eec5b1
docs: add banner mouse effect animation (#44711)
* docs: add banner mouse effect animation

* refactor to useRef

* refactor to react way

* refactor to hooks

* type: add type

* fix: fix error

* fix: fix error

* fix: update RTL

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-09-10 12:27:10 +08:00
红果汁
2cf22e8ed3
docs: add theme toggle animation (#44655)
* docs: add theme toggle animation

* fix: add compatibility judgment

* refactor: optimization code

* fix: server document not found

* fix: animation lag

* fix: transition issue

* fix: scroll bar theme color
2023-09-08 17:42:12 +08:00
期贤
a873471f5a merge 2023-09-07 12:05:16 +08:00
lijianan
7344f5e275
chore: replace useToken with useInternalToken (#44670) 2023-09-07 10:15:58 +08:00
yoyo837
ad46da1697 Merge branch 'master' into feature-merge-master 2023-09-03 00:22:34 +08:00
KuangPengfei
24c7b2ea42
site: optimize site scroll bar dark mode style (#44588)
* style(site): set `prefers-color-scheme` value to optimize the dark mode style of the site scroll bar

* style(site): optimize the value acquisition logic of `prefers-color-scheme`
2023-09-02 12:17:20 +08:00
kiner-tang(文辉)
e23cc690e7
feat: support hide expandIcon (#44554)
* site: hide theme example menu's expandIcon

* feat: optimize code

* feat: optimize code

* feat: update test case
2023-09-01 11:09:48 +08:00
栗嘉男
b12d69cf42 chore: merge master into feature 2023-09-01 00:02:50 +08:00
afc163
ae53a452f2
docs: add help text for token customization (#44540)
* docs: add help text for token customization

* docs: add help text for token customization

* docs: add help text for token customization

* docs: add help text for token customization
2023-08-31 09:48:54 +08:00
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +08:00
二货爱吃白萝卜
659054ee49
docs: Blog virtual table (#44526)
* docs: virtual table

* docs: fix other blog style

* docs: more
2023-08-30 21:18:09 +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
MadCcc
23671fda84
chore: split IconWrapper (#43775)
* chore: split icon-wrapper

* chore: add fallback

* chore: add fallback
2023-07-25 11:44:59 +08:00
MadCcc
d033350095
chore: split antv (#43765)
* chore: split antv

* chore: add fallback

* chore: code clean

* chore: fix lint

* chore: fix lint
2023-07-25 09:31:44 +08:00
MadCcc
ded37eebfc
docs: add min-height to Content (#43763) 2023-07-24 19:56:17 +08:00
MadCcc
bed26741aa
docs: polyfill React.use (#43755)
* docs: polyfill React.use

* chore: code clean

* chore: code clean

* docs: add banner fallback

* chore: code clean
2023-07-24 16:59:35 +08:00
afc163
05f9677df7
site: improve a11y score in ant.design site (#43751) 2023-07-24 15:38:49 +08:00
MadCcc
a17bb9c547
docs: fix contributor list cls (#43741) 2023-07-24 10:49:05 +08:00
lijianan
1fea8dcb09
chore: code style optimization (#43723)
* chore: code style optimization

* Update progress.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-07-23 10:12: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
二货爱吃白萝卜
cf40fb02b9
docs: fix docs problems (#43622)
* docs: fix bug

* docs: fix link

* docs: fix video

* chore: en
2023-07-18 18:22:47 +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
Chang Wei
efbe8460e4
chore: add icons 'Dingtalk' and 'WhatsApp' to the category 'logo' (#43577)
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-15 20:55:44 +08:00
thinkasany
0d31270277
site: optimization type & props (#43433)
* chore: optimization type & props

* fix: remove useless type
2023-07-07 18:28:13 +08:00
MadCcc
78923c541a
docs: Link support open in new tab or window (#43398)
* docs: Link support open in new tab or window

* docs: apply more Linki

* Revert "docs: apply more Linki"

This reverts commit e19ddd7479.
2023-07-06 13:45:40 +08:00
MadCcc
b64a57d5d0
docs: component token meta (#43337)
* docs: component token meta

* docs: more

* docs: complete
2023-07-05 17:49:59 +08:00
thinkasany
1d01a1f681
chore: use the same camelCase (#43371) 2023-07-05 15:13:56 +08:00
Quincy Qiu
02646cdf17
docs: Auto-modify theme editing content (#43287) 2023-06-30 13:53:20 +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
afc163
84773f7098
chore: fix rtl style of demos (#43163) 2023-06-24 17:35:28 +08:00
afc163
5f1230b27a
docs: fix prev and next style missing in ssr (#43158) 2023-06-24 15:50:33 +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
kiner-tang(文辉)
3c979eb84b
site: hide package manager tab which command is empty (#43032)
* site: hide pkgManager tab when the command is empty

* feat: optimize code

* feat: optimize code
2023-06-15 23:17:38 +08:00
erhu
f2344a269b
site: site style optimization (#43010) 2023-06-14 17:54:11 +08:00
lijianan
4a6c09ca2a
site: site optimization (#43007)
* site: site optimization

* Update practical-projects.zh-CN.md
2023-06-14 16:28:38 +08:00
未觉雨声
43d2a7fa19
docs: fix incorrect styles (#42992)
* docs: fix incorrect styles

* chore: update
2023-06-13 15:45:34 +08:00
未觉雨声
46c67ab607
docs: fix InstallDependencies logo logical margin (#42970) 2023-06-12 17:59:33 +08:00
lijianan
81c26096be
docs: update site use-with-vite (#42906)
* docs: update use-with-vite

* update

* fix
2023-06-12 15:44:44 +08:00
kiner-tang(文辉)
e119236b94
docs: fix design documentation style (#42954)
* feat: optimize size layout

* feat: optimize site layout

* feat: optimize site layout
2023-06-12 10:03:28 +08:00
kiner-tang(文辉)
fddd84c0bd
fix(site): solve drawer open delay in safari issue (#42922)
* fix: solve drawer open delay in safari issue

* feat: update comment

* feat: reset debug code

* feat: optimize code

* feat: optimize code
2023-06-09 18:20:53 +08:00
MadCcc
8ebb7be7b0 Merge branch 'feature' into master-merge-feature 2023-06-06 16:31:22 +08:00
未觉雨声
e2eab5d813
docs: fix footer PrevAndNext icons in RTL (#42837)
* fix: footer PrevAndNext rtl

* chore: adjust

* Update useMenu.tsx

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-06-05 22:34:03 +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
kiner-tang(文辉)
d82a4036a6 fix: lint fix 2023-06-04 11:39:34 +08:00
kiner-tang(文辉)
2de151da7a Merge branch 'master' into feature-merge-master 2023-06-04 11:10:56 +08:00
未觉雨声
71836057d1
docs: fix content anchor setion to use logical style (#42707) 2023-05-30 10:33:35 +08:00
未觉雨声
10fa725255
docs: new tag logical mergin (#42705) 2023-05-30 10:31:55 +08:00
lijianan
7b066a9211
style: site code optimization (#42685)
* style: site code optimization

* fix
2023-05-29 20:44:45 +08:00
github-actions[bot]
ae3126380b
chore: auto merge branches (#42680)
chore: merge master into feature
2023-05-27 18:41:45 +00:00
42ff0ea3de
docs: add rc-util to top level in codesandbox (#42672)
* fix: tem  modify rc-util@latest in codesandbox

* fix: tem modify rc-util@:^5.32.0 in codesandbox

* fix: add pkgDep info in dumi local pilugin

* chore: rename

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-27 20:46:28 +08:00
github-actions[bot]
a8bc13e77b
chore: auto merge branches (#42668)
chore: feature merge master
2023-05-27 03:42:37 +00:00
lijianan
a9297b6ea3
site: optimize the website arrow style (#42591)
* fix

* fix

* fix

* update icon

* update
2023-05-25 21:02:49 +08:00
github-actions[bot]
a0f5f4b344
chore: auto merge branches (#42584)
chore: feature merge master
2023-05-24 14:28:51 +00:00
afc163
9da38fd479
docs: fix design docs detail (#42568) 2023-05-24 14:27:03 +08:00
MadCcc
5e2732a03c Merge branch 'master' into feature-merge-master 2023-05-23 17:02:34 +08:00
2ff5feb1bd
fix: theme editor edit error (#42452)
* fix: theme editor edit error

* chore: less bundle

* fix: themeEditor

* fix: lint

* fix: themeEditor

* fix: last fix

* chore: update

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-05-22 09:59:29 +08:00
二货爱吃白萝卜
43d7b9ca92
feat: ConfigProvider.config support theme config (#42473)
* chore: static config of theme

* chore: static all method

* test: add test case

* docs: comment

* docs: more info

* test: update snapshot

* test: fix test logic
2023-05-18 23:53:34 +08:00
二货爱吃白萝卜
3097ec39e1
fix: Site link auto switch by locale (#42381)
* Revert "Revert "docs: auto trans link" (#42373)"

This reverts commit fa90b25b3e.

* docs: site update link auto switch logic
2023-05-16 08:42:18 +08:00
lijianan
fa90b25b3e
Revert "docs: auto trans link" (#42373)
* Revert "docs: auto trans link (#42311)"

This reverts commit e28c9237d6.

* Apply suggestions from code review

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-15 21:22:52 +08:00
红果汁
aeabe74fbc
docs: replace react-color with color-picker (#42350)
* style: fix prettier problem

* docs: add presets label

* style: fix prettier problem

* style: fix prettier
2023-05-15 15:11:05 +08:00
MD Rashid Hussain
14574b1104
docs: remove duplicate DollarCircle in icons list (#42340) 2023-05-15 00:02:22 +08:00
github-actions[bot]
59c9119be1
chore: auto merge branches (#42276)
chore: master merge feature
2023-05-12 15:14:26 +00:00
MadCcc
448c2b8097
docs: add new component tag (#42309)
* docs: add new component tag

* chore: update

* re-run

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-05-12 17:53:37 +08:00
二货爱吃白萝卜
e28c9237d6
docs: auto trans link (#42311)
* docs: auto trans link

* chore: force CI
2023-05-12 17:21:40 +08:00
afc163
4207b71aa8
docs: update site meta (#42284)
* docs: update site meta

* Apply suggestions from code review
2023-05-11 20:00:28 +08:00
afc163
f3fa3f961b
docs: improve Layout demo code (#42283)
* docs: improve Layout demo code

* chore: fix css rule order
2023-05-11 20:00:00 +08:00
yoyo837
7f5042c4fe Merge branch 'master' into feature-merge-master 2023-05-06 19:03:11 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
二货机器人
252f516a5e chore: merge master 2023-05-06 11:40:31 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
MadCcc
9e1934248b Merge branch 'master' into feature-merge-master 2023-04-27 10:16:07 +08:00
二货爱吃白萝卜
60dbef4963
feat: Disable motion (#41856)
* feat: Add motion off

* chore: update motion seed

* chore: all motion disabled

* test: add test case

* chore: fix lint

* chore: fix cov

* chore: fix motion of Switch & Segemented

* test: ignore empty
2023-04-23 15:42:36 +08:00
MadCcc
90ebd6f497
docs: fix site theme (#41898)
* docs: fix site theme

* chore: code clean
2023-04-20 10:47:06 +08:00
afc163
107a28fa94
demo: fix Deprecated usage in form demo (#41860)
* demo: fix Deprecated usage in form demo

* test: update snapshot

* test: update snapshot
2023-04-19 11:56:15 +08:00
二货机器人
f60e116503 Merge remote-tracking branch 'origin/master' into feature-merge-master 2023-04-19 11:22:32 +08:00
MadCcc
e073fc7add
docs: fix prev next footer (#41846) 2023-04-18 15:29:34 +08:00
MadCcc
1babfef998 Merge branch 'master' into feature-merge-master 2023-04-17 19:38:12 +08:00
lijianan
dce42602f6
style: simplify RTL prop & revert react-sticky-box Version (#41815)
* lock sticky-box version to fix CI

* revert
2023-04-14 17:29:08 +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
lijianan
646f7cd014
docs: update docs (#41764) 2023-04-12 12:08:38 +08:00
Wuxh
3ad2a34611
Revert "docs: fix debug demo style" (#41743)
* Revert "docs: fix debug demo style (#41738)"

This reverts commit d998c2fabc.

* chore: update
2023-04-11 10:13:58 +08:00
MadCcc
d998c2fabc
docs: fix debug demo style (#41738) 2023-04-10 21:03:53 +08:00
lijianan
6761292bbd
Revert "chore(deps): update dependency open to v9 (#41714)" (#41723)
This reverts commit 005db79897.
2023-04-10 11:43:30 +08:00
renovate[bot]
005db79897
chore(deps): update dependency open to v9 (#41714)
* chore(deps): update dependency open to v9

* rerun CI

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-04-10 10:53:33 +08:00
二货爱吃白萝卜
8c094ba792
feat: ConfigProvider support config popupOverflow for scroll logic (#41676)
* feat: popupOverflow

* test: add test case

* docs: preview

* docs: update preview

* test: update test case
2023-04-07 10:17:00 +08:00
muxin
5b44e577a5
fix: fix demo filPath (#41488) 2023-03-27 19:34:14 +08:00
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info (#41475) 2023-03-27 15:33:22 +08:00
Amumu
fe0375f124
demo: revert #41209 #41225 (#41467) 2023-03-27 10:30:31 +08:00
lijianan
39c19b6e4d
site: update codesandbox dependencies version (#41448) 2023-03-25 13:58:14 +08:00
二货爱吃白萝卜
67a94febee
docs: more token info (#41421) 2023-03-23 17:17:28 +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
lijianan
af5f9950f7
type: remove useless assertion (#41385) 2023-03-22 09:49:58 +08:00
MadCcc
a5c0dbba07
docs: make Calendar demo client-only (#41359) 2023-03-21 13:00:34 +08:00
MadCcc
772ab49baf
docs: fix hydration error when resizing (#41370)
* docs: fix hydration error when resizing

* docs: useLayoutState
2023-03-21 13:00:16 +08:00
MadCcc
18266ae336
docs: fix colorPicker could not open (#41356) 2023-03-20 20:42:10 +08:00
MARK
b5d3f9cd81
style: Demo Component overflow use auto (#41225)
Co-authored-by: xiechensheng <xiechensheng@kezaihui.com>
2023-03-16 20: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
lijianan
1177762cff
chore: delete useless config (#41267) 2023-03-16 11:15:30 +08:00
kiner-tang(文辉)
384b1ea9ff
feat: optimize code (#41234) 2023-03-14 22:01:15 +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
MARK
57df8e1c09
style: Demo Component overflow fix (#41209)
Co-authored-by: xiechensheng <xiechensheng@kezaihui.com>
2023-03-14 16:01:15 +08:00
二货爱吃白萝卜
9642564eea
docs: Button page show related token (#41176)
* docs: btn token

* docs: btn all tokens
2023-03-12 14:13:03 +08:00
lijianan
53b9559cc6
fix: revert color count (#41111) 2023-03-07 21:49:10 +08:00
lijianan
c2f5ed0bfc
fix: fix site type error (#41033) 2023-03-07 20:23:43 +08:00
Paul van Dyk
767db3c6ca
docs: add query searching to components overview (#41095) 2023-03-07 14:39:55 +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
ec34bc1874
docs: fix demo badge (#41014) 2023-03-02 13:35:10 +08:00
lijianan
8cf4a4cb15
fix: fix tsconfig error in stackblitz (#41011)
* fix: fix tsconfig error in stackblitz & codesandbox

* fix: fix tsconfig error in stackblitz & codesandbox
2023-03-02 11:21:43 +08:00
lijianan
0322964b75
chore: delete log (#40993) 2023-03-01 18:52:48 +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
afc163
0bfdff2086
site: Improve code formatting in Previewer component (#40813)
- Remove unnecessary whitespace in the Demo.tsx file
- Replace `<style>` and `</style>` tags with empty strings in the index.css file
- Move the React import statement to the top of the index.js file

[.dumi/theme/builtins/Previewer/index.tsx]
- Remove unnecessary whitespace in the Demo.tsx file
- Replace `<style>` and `</style>` tags with empty strings in the index.css file
- Move the React import statement to the top of the index.js file
- Remove the unnecessary whitespace in the index.js file
2023-02-20 11:20:37 +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
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00
KuangPengfei
b0ea26bf64
docs: website SearchBar support dark theme (#40652) 2023-02-09 12:59:10 +08:00
MadCcc
0e974511ad docs: fix page h1 2023-02-08 22:54:21 +08:00
MadCcc
10f78a916a docs: update box-shadow 2023-02-08 21:51:06 +08:00
MadCcc
650f0e5473 docs: fix pre-render 2023-02-08 20:59:23 +08:00
Wuxh
ba9870ef5d
chore: upgrade site && update pr-template (#40563)
* docs: update pr-template

* chore: update Previewer onlineUrl show logic
2023-02-06 13:03:14 +08:00
lijianan
cffd1e63d4
fix site style (#40550)
* fix site style

* fix md style

* update

* fix
2023-02-05 19:03:59 +08:00
lijianan
286a42b4e5
site style code optimization (#40524)
* site style code optimization

* site style code optimization

* del trigger

* revert
2023-02-03 13:39:46 +08:00
afc163
8f5f7cf814
site: fix 404 page (#40366) 2023-02-01 21:55:20 +08:00
MadCcc
79c25f620a
chore: codepen input render on client (#40478)
* fix: codepen input render on client

* chore: client only

* chore: code clean
2023-02-01 11:16:22 +08:00
lijianan
db5913696b
site: improve contributors list style when hover (#40362)
* site: improve contributors list style when hover

* fix
2023-01-22 01:30:01 +08:00
MadCcc
40944a1c02
perf: only one parent selector in style (#40325)
* chore: add parent selector

* chore: update lint script

* chore: code clean

* perf: style

* chore: remove demo test cssinjs

* fix: input group
2023-01-20 10:31:27 +08:00
lijianan
b9a6b7b578
demo: update demo (#40318)
* demo: update demo

* add form

* clear

* add Select

* add

* fix style

* fix style

* fix

* revert
2023-01-19 15:37:54 +08:00
Rinku Chaudhari
055624f85b
reformat/typo: removed useless ts-ignore and 'ignore' typo fix (#40298)
* reformat/typo: removed useless ts-ignore and 'ignore' typo fix

* fix: components/version/index.ts typescript error

Co-authored-by: rinku.chaudhary <rinku.chaudhary@amniltech.com>
2023-01-18 13:37:44 +08:00
二货爱吃白萝卜
cc1870d8bd
chore: add linter of not selector (#40264)
* chore: add linter of not selector

* chore: update tree style

* fix: DatePicker

* fix: compact

* fix: compact vertical

* perf: style

* fix: vertical compact

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-17 17:51:59 +08:00
二货爱吃白萝卜
7276438486
docs: Report 404 for monitor (#40278)
* docs: monitor 404 report

* docs: Add source

* docs: patch

* docs: clean up
2023-01-17 14:27:14 +08:00
jc
bde9c6b9fb
docs: add antd-mini (#40248) 2023-01-16 13:39:23 +08:00
lijianan
28d1157d6b
type: optimization undefined type (#40241)
* type: optimization undefined type

* fix type

* fix type

* add

* revert

* revert

* revert
2023-01-16 09:55:52 +08:00
Wuxh
0051a877e2
fix(site): fix the failure of website code folding function (#40198)
* fix(site): fix the failure of website code folding function

* remove

* chore: update
2023-01-13 10:41:54 +08:00
afc163
fdc6709977
chore: fix lint and refactor some site code (#40185)
* chore: refactor header code style

* fix lint
2023-01-12 11:57:54 +08:00
二货爱吃白萝卜
108ab5d0f3
docs: Update mark of third part (#40178) 2023-01-11 23:21:14 +08:00
lijianan
1c8f6507ce
site: improve overview page (#40126)
* site: imp

* update fontsize

* add scrollTo(0)

* revert

* add style return type

* add resize Event when input onChange

* docs: fix affix height and revert resize event

* fix: justifycontent => justify-content

* fix style

Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 21:37:12 +08:00
Wuxh
d30b5a28e7
dev: upgrade the developer experience (#40080)
* chore: update site

* dev: add the ability to open the demo website address in development mode
2023-01-10 21:35:01 +08:00
lijianan
7f222efff6
site: delete V5_NOTIFICATION (#40129)
* site: delete V5_NOTIFICATION

* clear code
2023-01-10 16:51:28 +08:00
Peach
51375683c7
docs: override debug prop when show all demo (#40130)
* docs: override debug prop when show all demo

* chore: add annotation
2023-01-10 15:45:23 +08:00
Danial Soheili
b242dde04c
fix: add direction prop to ConfigProvider of demos (#40089) 2023-01-08 23:06:45 +08:00
lijianan
130c22ab03
style: Code style optimization (#40083)
* style: Code style optimization

* add

* rename

* rename

* revert

* revert

* revert

* add
2023-01-08 15:36:50 +08:00
AkaraChen
c0ce8e5455
site: site code style optimization (#40088) 2023-01-08 13:26:35 +08:00
linxianxi
398d3e6937
site: fix anchor height (#40069) 2023-01-06 16:47:40 +08:00
afc163
de2a373d5f
site: update overview search style (#40060) 2023-01-06 14:52:08 +08:00
dongfang
0dc7815599
fix: missing css code in demo code preview (#39471)
* fix: missing demo style in windows

* fix: missing css code in demo preview

* fix: change TabPane to tabs items

* fix: change cn why-open url
2023-01-06 12:36:43 +08:00
lijianan
67e958fdd6
fix: find the missing code (#40047) 2023-01-06 09:46:47 +08:00
lijianan
e4dd7096af
site: refactor CC => FC (#40043)
* fix

* fix

* fix
2023-01-05 20:10:03 +08:00
afc163
7d77f3173d
site: improve demo card style (#40028)
* site: improve demo card style

* test: update snapshot

* test: update snapshot

* fix: demo card border

* docs: fix dark mode

* style: fix color
2023-01-05 15:30:59 +08:00
afc163
c8bc3ce6c6
site: fix home page rtl style and footer icons (#40003)
* docs: fix home page rtl style

* style: fix rtl style

* Update package.json

* style: fix card text align

* style: update footer icons
2023-01-04 19:37:57 +08:00
afc163
df4542e20c
site: make icon search affix (#40002)
* feature: update IconDisplay component in Icon docs template, affix icon search input box to the top of page

* style: change shadow style

Co-authored-by: Chang Wei <changwei1006@gmail.com>
2023-01-04 18:49:55 +08:00
MadCcc
7b06b662d1
chore: add cssinjs linter (#40001) 2023-01-04 17:55:23 +08:00
afc163
a9bab97d92
chore: update style of github contributors (#39994) 2023-01-04 13:45:02 +08:00
lijianan
977f4da9df
demo: update demo code (#39982)
* type: add Tab type

* add notes

* update demo code
2023-01-04 10:57:03 +08:00
Peach
0296b4357e
docs: page loading not working bug (#39969) 2023-01-03 18:23:43 +08:00
afc163
cfc763bce3
chore: fix header menu style in mobile device (#39967) 2023-01-03 14:06:57 +08:00
afc163
cf41f81dc7
chore: replace react-sticky to react-sticky-box in Tabs demo (#39898)
* docs: replace react-sticky to react-sticky-box in Tabs demo

* test: fix test case
2022-12-29 18:37:06 +08:00
lijianan
9aec72c395
chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-29 18:33:13 +08:00
MadCcc
f8dfdd0c96
docs: fix prerender (#39864)
* docs: fix prerender

* chore: add fallback

* chore: update spin

* chore: code clean
2022-12-28 18:17:17 +08:00
MadCcc
24059d42fc
docs: Theme Editor support export json file (#39845) 2022-12-27 17:09:18 +08:00
MadCcc
4efc8cc849
docs: fix ssr issue (#39825)
* docs: fix ssr issue

* docs: fix

* chore: code clean

* chore: update deps
2022-12-27 17:09:01 +08:00
ec900c937b feat: add Theme Config Editor (#39621)
* feat: add Theme Editor theme upload

* verision 2

* 移除lodash、同步当前Config

* remove export,add into devDependencies,add tool link
2022-12-27 16:07:02 +08:00
afc163
06bd9d1852
perf: Remove IE11 from browserslist and babel targets (#38779)
* Update package.json

* chore: bump antd-tools

* Update package.json

* fix: browserslist in codesandbox

* chore: upgrade antd tools

* chore: upgrade antd tools

* test: fix Cannot access mockCanUseDom before initialization

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* Update package.json

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-25 18:37:57 +08:00
黑雨
2b947d0480
docs: preview images in markdown (#39739)
* feat: site previewImage

* feat: site previewImage

* feat: use image

* feat: update doc

* feat: delete align="right"

* feat: update doc

* feat: delete css

* feat: update doc

* feat: delete align="right"

* feat: update doc
2022-12-24 18:11:43 +08:00
MadCcc
940a29fe4c
docs: fix color palettes (#39759)
* docs: fix color palettes

* chore: code clean
2022-12-23 16:31:30 +08:00
Wuxh
76241f5d0b
chore(tabs): update demo (#39731)
* 做重复了

* Revert "做重复了"

This reverts commit 79c59e79ea66c6592df9dca0e41e10399044ec7a.

* site(theme): demo block supports no inner margin configuration

ref: https://d.umijs.org/guide/write-demo#%E4%B8%8D%E9%9C%80%E8%A6%81%E5%86%85%E8%BE%B9%E8%B7%9D

* docs(tabs): update demo styles

* chore: update style

* test: update snapshot

* Revert "site(theme): demo block supports no inner margin configuration"

This reverts commit ee2ff25796.

* chore: update

* Revert "chore: update"

This reverts commit bbe449cb3f.

* Revert "Revert "site(theme): demo block supports no inner margin configuration""

This reverts commit 5eac19e7f2.

* chore: convert to debug demo

* chore: use emotion

* test: update snapshot
2022-12-23 12:12:24 +08:00
二货爱吃白萝卜
540e3aae46
docs: adjust mig & anchor (#39732) 2022-12-22 15:31:40 +08:00
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
afc163
a692dc101c
docs: fix markdown table margin (#39683) 2022-12-21 10:20:38 +08:00
MadCcc
4714f851d4
docs: fix menu bg (#39649) 2022-12-19 17:22:25 +08:00