Commit Graph

40 Commits

Author SHA1 Message Date
黑雨
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
afc163
a692dc101c
docs: fix markdown table margin (#39683) 2022-12-21 10:20:38 +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
a0b713c98b
site: cc => fc (#39635) 2022-12-19 11:25:21 +08:00
lijianan
b93d040fce
site: icon update (#39534)
* site: icon update

* use href

* use Link

* fix style

* fix

* use token

* use token

* Update .dumi/theme/common/ThemeSwitch/index.tsx

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

* fix

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-15 12:07:06 +08:00
afc163
0a846f8754
docs: improve markdown table style (#39446)
* docs: improve markdown table style

* docs: improve markdown table style
2022-12-10 04:03:03 +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
b2df64a057
chore: fix code box icons cannot display in Safari (#39395)
close #39318
2022-12-08 16:43:00 +08:00
MadCcc
d04756c983
docs: add heading link (#39388)
* docs: add heading link

* refactor: global styles
2022-12-08 12:14:18 +08:00
lijianan
7641b2f9c5
refactoring: js => ts (#39355) 2022-12-07 16:49:45 +08:00
afc163
4e460cde42
docs: fix demo card icons color (#39191) 2022-12-02 16:32:16 +08:00
lijianan
ada192f3a0
site: fix site error (#39138) 2022-12-01 12:21:42 +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
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 cb7e74d350.

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
afc163
13e5451207
docs: improve markdown style (#38875) 2022-11-23 00:00:55 +08:00
MadCcc
5038bf467d
docs: theme switch (#38848)
* docs: theme switch

* chore: code clean

* fix: conflict with theme editor

* docs: use own theme in theme editor

* chore: code clean
2022-11-22 17:00:28 +08:00
Greedy1997
882b8740b1
docs: improve icon copied style (#38809)
Fixed the click text display issue
2022-11-21 22:43:04 +08:00
zqran
59772e9222
docs: update document Table style (#38727)
* docs: update document Table style

* docs: add className for component API table

* docs: optimize rehypeAntd logic
2022-11-21 17:39:46 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
afc163
def5960164
docs: fix edit button position (#38696) 2022-11-18 19:35:46 +08:00
子瞻 Luci
c47b4e5d42
fix(dumi): update dumi theme (#38684) 2022-11-18 17:57:16 +08:00
Peach
7e6d6e3f38
docs: improve sourcecode styles (#38675) 2022-11-18 14:47:37 +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
afc163
af139e9d13
docs: remove hotjar (#38654) 2022-11-18 00:01:31 +08:00
afc163
dc6bcc8acb
docs: improve some details about new site (#38635)
* docs: fix some issues

* docs: fix edit button

* docs: fix edit button
2022-11-17 20:56:35 +08:00
afc163
1cdb4503a2
docs: improve resouce page style (#38624) 2022-11-17 18:33:44 +08:00
afc163
e486979b30
docs: fix Grid demo color (#38633)
https://github.com/ant-design/ant-design/issues/38463#issuecomment-1318293831
2022-11-17 18:30:59 +08:00
afc163
a8e412261c docs: fix body line-height 2022-11-17 16:15:36 +08:00
afc163
ba4c04f0ec docs: body line-height for site 2022-11-17 14:18:02 +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 1f75a99f8c.

* docs: update demo

* chore: update demo

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
2022-11-15 22:55:01 +08:00
二货机器人
9f7e2ee239 docs: enable puhui bold on logo 2022-11-15 15:31:28 +08:00
Wuxh
61e63d2379
docs: component page document style beautify (#38557) 2022-11-15 10:09:24 +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
c0dedance
6d877e5617
fix: img default style is not reset, making the layout disordered (#38474) 2022-11-10 11:08:38 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00