Commit Graph

52 Commits

Author SHA1 Message Date
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
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
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
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
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
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
二货爱吃白萝卜
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
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
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
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
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
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 ee2ff257961052eaab8ac6ae5d234efb582e049b.

* chore: update

* Revert "chore: update"

This reverts commit bbe449cb3f37a51e1dbcde57d1b3b94e53e3407a.

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

This reverts commit 5eac19e7f2f045bf2b16166a166a0f3c81012701.

* chore: convert to debug demo

* chore: use emotion

* test: update snapshot
2022-12-23 12:12:24 +08:00
lijianan
ba999de764
chore: site code format (#39457)
* format: site code format

* Conflicting

* lint

* rename
2022-12-19 13:23:28 +08:00
Wuxh
36abb3df4e
chore(site): improve site (#39504)
* chore: merge context

* chore:  theme context

* chore(site): improve site

* chore: update components overview url

* chore: update

* chore: remove default theme button

* chore: update

* chore: update
2022-12-19 11:42:41 +08:00
lijianan
97cfc17278
chore: use const replace var (#39632) 2022-12-19 10:07:52 +08:00
Dunqing
9ce2da2988
chore: fix demos not working in codepen (#39407)
* chore: fix incorrect external url for react-router

* chore: fix external url missing dayjs
2022-12-08 22:33:59 +08:00
afc163
cf476d9477
chore: improve ThemeSwitcher implementation (#39398)
* docs: theme should be in searchParams

* chore: use locale text

* chore: fix searchParams usage

* fix: compact can use with dark/light theme

* chore: fix lint
2022-12-08 17:44:49 +08:00
afc163
66754060f9
chore: remove unused devDeps (#39392) 2022-12-08 13:44:20 +08:00
lijianan
ee6ca79f0f
refactoring: jsx => tsx (#39383)
* refactoring: jsx => tsx

* fix lint
2022-12-08 10:13:38 +08:00
Wuxh
4a803962eb
site: update docs styles (#39348)
* site: update docs styles

* site(theme): add ColorChunk component

* chore: update

* docs: update docs
2022-12-07 22:36:08 +08:00
afc163
ed8fac4989
chore: fix SSG hydration issue (#39359) 2022-12-07 19:51:10 +08:00
lijianan
07fdd6dd60
refactoring: js => ts (#39360) 2022-12-07 18:26:29 +08:00
lijianan
7641b2f9c5
refactoring: js => ts (#39355) 2022-12-07 16:49:45 +08:00
lijianan
6bb9dbc692
chore: remove useless node_modules (#39261)
* chore: remore useless node_modules

* fix

* fix

* fix

* fix
2022-12-05 22:28:08 +08:00
afc163
4e460cde42
docs: fix demo card icons color (#39191) 2022-12-02 16:32:16 +08:00
MadCcc
da097e63bf chore: update token-meta structure 2022-12-01 20:52:51 +08:00
lijianan
ada192f3a0
site: fix site error (#39138) 2022-12-01 12:21:42 +08:00
Arvin Xu
479e4e8884
📚 docs: add token meta info to token system model (#39101)
* ♻️ refactor token system interface

* 📝 docs: add more token meta info to seeds and map token

* 🔨 chore: update token meta generator scripts

* 🚨 chore: fix lint

* 📝 docs: 补充 token 的 meta 信息

* chore: add json in pkg

* chore: update script

* chore: update flag

Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-30 11:48:47 +08:00
MadCcc
ffbb19e090
chore: lint (#39102)
* chore: enable tsc for demos

* chore: site lint

* chore: fix lint
2022-11-30 11:05:41 +08:00
MadCcc
e04c2d69ae
docs: collect token API from tsdoc (#38964)
* chore: token doc

* docs: token meta

* chore: code clean

* chore: code clean

* chore: json

* chore: rename

* chore: style
2022-11-25 14:23:11 +08:00
Wuxh
d989a4e53b
chore: improve site (#38885)
* chore: update

* chore: improve-site

* chore(site): fix the address bar of switching writing mode Error problem

* chore: format

accept suggestion

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

* Revert "chore: update"

This reverts commit cb7e74d35061f864011330be12a642c8baf329d4.

Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-25 00:04:27 +08:00
lijianan
8d2d18c7f3
type: remove type FC in site (#38959) 2022-11-24 20:11:50 +08:00
lijianan
33776d0195
fix: delete Chinese locale (#38790) 2022-11-21 16:34:21 +08:00
lijianan
588a912609
fix: fix OverviewPage style (#38782) 2022-11-21 14:30:51 +08:00
lijianan
14316b345e
fix: delete Chinese locale (#38781) 2022-11-21 14:12:59 +08:00
afc163
712f1894f6
docs: remove iconPicSearcher (#38738) 2022-11-19 19:18:01 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
MadCcc
4b490834a0
fix: preview-img style (#38662)
* docs: PreviewImg

* docs: add preview-img style

* chore: style

* chore: clean
2022-11-18 11:54:06 +08:00
MadCcc
04da1f3fdf docs: fix site issue 2022-11-17 01:22:09 +08:00
MadCcc
fab90b09f4
docs: fix site issue (#38552)
* docs: put an example loading component

* fix: site issue

* fix: site issue

* feat: add loading

* feat: alert

* docs: rm ReactDOM.render in md

* docs: use style tag

* chore: update snapshot

* Revert "docs: use style tag"

This reverts commit 1f75a99f8c972dc72f05391b472641245f6d8a17.

* docs: update demo

* chore: update demo

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
2022-11-15 22:55:01 +08:00
Peach
515d95847e
docs: use dumi helmet for pre-render (#38560) 2022-11-14 23:14:39 +08:00
miracles1919
9fb3e3a44f
docs: support for opening demos in a new window (#38556) 2022-11-14 20:13:03 +08:00