afc163
17a634b6a2
chore: move ThemeSwitch into Suspense ( #46731 )
2024-01-02 16:29:20 +08:00
lijianan
1db0daffc1
Merge branch master into master-merge-feature
2023-12-30 02:40:22 +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
Amumu
38375f3c31
chore: bump rc version ( #46676 )
...
* chore: bump rc version
* chore: use variant
2023-12-28 17:27:58 +08:00
MadCcc
55439cee71
docs: fix theme change ( #46638 )
...
* docs: fix theme change
* feat: make ssr cssVar always before cssinjs
* chore: code clean
2023-12-27 17:32:02 +08:00
lijianan
3d4e3ca089
site: site ContributorAvatar style optimization ( #46623 )
2023-12-26 12:08:50 +08:00
MadCcc
89e5c0c30b
docs: fix 4x url ( #46498 )
2023-12-18 11:03:24 +08:00
红
b7cf72d7cb
docs(theme): improve built-in component style ( #46414 )
...
* docs(theme): improve built-in component style
* chore: update style
* chore: update style
---------
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-12-18 11:02:29 +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
lijianan
f6d43add73
site: site code optimization ( #46487 )
2023-12-17 06:55:50 +08:00
afc163
fc432311f2
docs: improve document loading style ( #46459 )
2023-12-14 19:19:28 +08:00
afc163
2d28495c9c
docs: update Layout demos ( #46378 )
...
* docs: update Layout demos
* test: update snapshot
2023-12-11 12:22:23 +08:00
lijianan
02396c986c
site: update demo Tabs usage ( #46351 )
2023-12-09 19:32:10 +08:00
MadCcc
2565d5832a
docs: enable hash ( #46271 )
2023-12-05 17:11:32 +08:00
MadCcc
2d67c0f0e4
docs: site date client only ( #46230 )
...
* docs: site date client only
* chore: fix style
* chore: fix lint
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-12-04 15:12:49 +08:00
vagusx
71bd883126
Merge remote-tracking branch 'origin/master' into feature-merge-master-12-04
2023-12-04 10:32:45 +08:00
小林不是coder
c210e17eae
docs: color block display bug ( #46207 )
2023-12-01 23:20:25 +08:00
MadCcc
38c941e4e9
doc: update banner ( #46206 )
2023-12-01 14:43:32 +08:00
MadCcc
8816dc04c7
Merge branch 'master' into feature-merge-master
2023-11-30 20:22:00 +08:00
afc163
6d963b7949
style: Alert background could be linear-gradient ( #46188 )
2023-11-30 18:03:38 +08:00
MadCcc
e6bf2e24a6
docs: add css var documatation ( #46189 )
...
* docs: add css var documatation
* chore: remove hash
2023-11-30 17:19:57 +08:00
MadCcc
735553503e
docs: update banner ( #46167 )
2023-11-29 19:05:19 +08:00
lijianan
aed105b6db
fix: fix site home page banner min-height ( #46146 )
2023-11-29 12:32:15 +08:00
lijianan
cc5724481c
Merge branch master into master-merge-feature
2023-11-28 07:58:49 +08:00
MadCcc
0e360ed861
chore: bump antd-tools version ( #46103 )
...
* chore: bump antd-tools version
* chore: bump
2023-11-27 17:53:05 +08:00
lijianan
244339d16e
chore: merge master into feature
2023-11-25 05:25:29 +08:00
lijianan
03409af97f
fix: remove extra parentheses
...
Signed-off-by: lijianan <574980606@qq.com>
2023-11-24 23:06:58 +08:00
afc163
f21695817e
docs: fix xpm install commend style ( #46077 )
2023-11-24 19:25:12 +08:00
lijianan
57b5ec4dd6
chore: merge master into feature
2023-11-23 20:43:11 +08:00
Zheeeng
6b18c85aa3
fix: xtech logo ( #46043 )
2023-11-23 17:50:23 +08:00
Zheeeng
d85c37b3b3
chore: add intro to Galacean Effects ( #46026 )
...
* chore: add intro to Galacean Effects
* fix: change GE to Galacean
---------
Co-authored-by: 慕还 <zhengjiang.jz@antgroup.com>
2023-11-23 15:13:00 +08:00
lijianan
17dff7c630
chore: merge master into feature
2023-11-23 03:09:24 +08:00
MadCcc
4203208af5
feat: cssVar could be disabled by set to false ( #45987 )
...
* feat: cssVar could be disabled by set to false
* chore: update test case
2023-11-22 09:46:18 +08:00
Peach
aec6a80964
chore: correct type error in theme file ( #45949 )
...
Signed-off-by: Peach <scdzwyxst@gmail.com>
2023-11-17 17:53:28 +08:00
二货爱吃白萝卜
dc25579c20
fix: zIndex miss of message ( #45911 )
...
* fix: zIndex miss of message
* fix: modal static index
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix zIndex test
* test: update test case
* chore: clean up
* test: coverage
2023-11-17 10:54:19 +08:00
zbw-zbw
f0a2695df9
site(Header): increase z-index ( #45890 )
...
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-11-15 20:00:52 +08:00
lijianan
4266517ddd
chore: merge master into feature
2023-11-14 02:59:19 +08:00
MadCcc
3a0ab9d371
chore: add lint for cssVar ( #45828 )
...
* chore: add lint for css var
* chore: code clean
* chore: use linter
* chore: code clean
* chore: clean
* chore: update
* chore: code clean
2023-11-13 11:56:13 +08:00
MadCcc
4eb6e20c1d
docs: fix ssr ( #45785 )
2023-11-10 16:16:36 +08:00
MadCcc
4e29e8d1ce
feat: ConfigProvider cssvar support boolean ( #45760 )
...
* feat: css var
* chore: fix type
* chore: fix type
* chore: update
2023-11-10 10:02:46 +08:00
Vincent
de3a08f36e
chore: header use d2tech ( #45756 )
...
* chore: header use d2tech
* chore: del img
* chore: use d2 head background
* Apply suggestions from code review
style: keep message unified style
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Vincent <Zaynex@126.com>
---------
Signed-off-by: Vincent <Zaynex@126.com>
Co-authored-by: xiwenzheng.xwz <xiwenzheng.xwz@antgroup.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-10 09:53:47 +08:00
MadCcc
5f1dd427df
feat: css var ( #45589 )
...
* feat: css variables theme
* chore: temp
* chore temp
* chore: temp
* chore: temp
* chore: tmp
* chore: temp
* feat: full css variables
* feat: css var
* chore: code clean
* chore: code clean
* chore: bump cssinjs
* test: fix lint
* feat: better key logic
* feat: useStyle add param rootCls for cssVar scope
* chore: fix lint
* chore: code clean
* chore: fix lint
* perf: minimize component token size
* chore: make useId compatible
* chore: code clean
* chore: fix lint
* chore: code clean
* chore: update test case
* feat: genCSSVarRegister
* feat: RPN Calculator
* chore: add test for css var
* chore: code clean
* test: add test for calc
* feat: better calc type
* chore: code clean
* chore: update size limit
* feat: better useCSSVar
* chore: better useCSSVar
* test: add cov
* feat: better calc logic
* test: add test case
* chore: code clean
---------
Signed-off-by: MadCcc <madccc@foxmail.com>
2023-11-06 10:31:51 +08:00
MadCcc
e6d9232777
docs: fix demo editor shadow ( #45636 )
2023-11-02 19:33:00 +08:00
MadCcc
9f1b8f13d0
docs: fix code selection style issue ( #45631 )
2023-11-02 16:40:33 +08:00
afc163
7e284736a8
demo: improve popconfirm/popover/tootlip placement demo code style ( #45581 )
2023-10-30 13:57:57 +08:00
afc163
8ffa721412
chore: IconSearch ts errors ( #45506 )
...
* chore: IconSearch ts errors
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
2023-10-24 16:11:01 +08:00
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
afc163
29551aaaba
chore: fix overview page search outline style ( #45458 )
2023-10-20 23:04:50 +08:00
MadCcc
04cc086fb5
chore: fix tsc ( #45352 )
2023-10-15 19:17:32 +08:00
kiner-tang(文辉)
c727bed0e8
chore: solve the eslint error about null ( #45328 )
2023-10-13 18:18:07 +08:00
红
72fc3b6f3c
chore(site): anchor jump don't work ( #45243 )
...
* chore: fix typo error
* chore: fix anchor jump failure
* Revert "chore: fix anchor jump failure"
This reverts commit 9a1127353d
.
* chore: fix
* Revert "chore: fix"
This reverts commit 9dc69f1164
.
* Revert "site: remove legacy code for hash jump (#44836 )"
This reverts commit 72da2678aa
.
* chore: remove
* Update .dumi/theme/layouts/DocLayout/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>
* chore: update
---------
Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-10 17:30:46 +08:00
叶枫
604948e6a9
e
2023-10-09 11:12:51 +08:00
叶枫
75611b7db8
chore: scroll to the top of the page when the search box value changes ( #45211 )
2023-10-08 15:41:50 +08:00
MadCcc
d5d9e723f8
chore: fix overview link ( #45206 )
...
* chore: fix overview link
* chore: update
2023-10-08 13:44:02 +08:00
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
红
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
红果汁
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
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
红果汁
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
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
栗嘉男
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
二货爱吃白萝卜
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
二货爱吃白萝卜
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