Commit Graph

184 Commits

Author SHA1 Message Date
MadCcc
e96059cd76
docs: migrate to antd-style ()
* 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
thinkasany
0d31270277
site: optimization type & props ()
* 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 ()
* 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
thinkasany
1d01a1f681
chore: use the same camelCase () 2023-07-05 15:13:56 +08:00
afc163
84773f7098
chore: fix rtl style of demos () 2023-06-24 17:35:28 +08:00
afc163
5f1230b27a
docs: fix prev and next style missing in ssr () 2023-06-24 15:50:33 +08:00
erhu
f2344a269b
site: site style optimization () 2023-06-14 17:54:11 +08:00
lijianan
4a6c09ca2a
site: site optimization ()
* site: site optimization

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

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

* update

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

* feat: optimize site layout

* feat: optimize site layout
2023-06-12 10:03:28 +08:00
未觉雨声
e2eab5d813
docs: fix footer PrevAndNext icons in RTL ()
* 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 ()
* 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 ()
* docs: the LTR icon uses svg to better fit the dark theme

* docs: new `DirectionIcon`
2023-06-05 00:51:16 +08:00
2ff5feb1bd
fix: theme editor edit error ()
* 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
红果汁
aeabe74fbc
docs: replace react-color with color-picker ()
* style: fix prettier problem

* docs: add presets label

* style: fix prettier problem

* style: fix prettier
2023-05-15 15:11:05 +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 ()" ()
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 ()
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
二货爱吃白萝卜
60dbef4963
feat: Disable motion ()
* 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
e073fc7add
docs: fix prev next footer () 2023-04-18 15:29:34 +08:00
MadCcc
d43c15f2f4
docs: fix ssr warning ()
* 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
Amumu
fe0375f124
demo: revert () 2023-03-27 10:30:31 +08:00
MadCcc
a5c0dbba07
docs: make Calendar demo client-only () 2023-03-21 13:00:34 +08:00
MARK
b5d3f9cd81
style: Demo Component overflow use auto ()
Co-authored-by: xiechensheng <xiechensheng@kezaihui.com>
2023-03-16 20:13:13 +08:00
MARK
57df8e1c09
style: Demo Component overflow fix ()
Co-authored-by: xiechensheng <xiechensheng@kezaihui.com>
2023-03-14 16:01:15 +08:00
lijianan
53b9559cc6
fix: revert color count () 2023-03-07 21:49:10 +08:00
lijianan
c2f5ed0bfc
fix: fix site type error () 2023-03-07 20:23:43 +08:00
MadCcc
8467428528
refactor: rename preset colors in token ()
* refactor: rename preset colors in Design Token

* feat: rename preset color in token
2023-03-05 20:49:26 +08:00
MadCcc
853283b7e4
docs: DatePicker design tab ()
* 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
KuangPengfei
b0ea26bf64
docs: website SearchBar support dark theme () 2023-02-09 12:59:10 +08:00
afc163
8f5f7cf814
site: fix 404 page () 2023-02-01 21:55:20 +08:00
MadCcc
79c25f620a
chore: codepen input render on client ()
* fix: codepen input render on client

* chore: client only

* chore: code clean
2023-02-01 11:16:22 +08:00
lijianan
b9a6b7b578
demo: update demo ()
* demo: update demo

* add form

* clear

* add Select

* add

* fix style

* fix style

* fix

* revert
2023-01-19 15:37:54 +08:00
lijianan
130c22ab03
style: Code style optimization ()
* 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 () 2023-01-08 13:26:35 +08:00
dongfang
0dc7815599
fix: missing css code in demo code preview ()
* 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
afc163
7d77f3173d
site: improve demo card style ()
* 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 ()
* 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
cf41f81dc7
chore: replace react-sticky to react-sticky-box in Tabs demo ()
* docs: replace react-sticky to react-sticky-box in Tabs demo

* test: fix test case
2022-12-29 18:37:06 +08:00
MadCcc
f8dfdd0c96
docs: fix prerender ()
* docs: fix prerender

* chore: add fallback

* chore: update spin

* chore: code clean
2022-12-28 18:17:17 +08:00
MadCcc
4efc8cc849
docs: fix ssr issue ()
* docs: fix ssr issue

* docs: fix

* chore: code clean

* chore: update deps
2022-12-27 17:09:01 +08:00
黑雨
2b947d0480
docs: preview images in markdown ()
* 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 ()
* docs: fix color palettes

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

* 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 () 2022-12-21 10:20:38 +08:00
lijianan
ba999de764
chore: site code format ()
* format: site code format

* Conflicting

* lint

* rename
2022-12-19 13:23:28 +08:00
Wuxh
36abb3df4e
chore(site): improve site ()
* 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 () 2022-12-19 11:25:21 +08:00
lijianan
b93d040fce
site: icon update ()
* 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 ()
* docs: improve markdown table style

* docs: improve markdown table style
2022-12-10 04:03:03 +08:00
afc163
cf476d9477
chore: improve ThemeSwitcher implementation ()
* 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 ()
close 
2022-12-08 16:43:00 +08:00
MadCcc
d04756c983
docs: add heading link ()
* docs: add heading link

* refactor: global styles
2022-12-08 12:14:18 +08:00
lijianan
7641b2f9c5
refactoring: js => ts () 2022-12-07 16:49:45 +08:00
afc163
4e460cde42
docs: fix demo card icons color () 2022-12-02 16:32:16 +08:00
lijianan
ada192f3a0
site: fix site error () 2022-12-01 12:21:42 +08:00
MadCcc
ffbb19e090
chore: lint ()
* chore: enable tsc for demos

* chore: site lint

* chore: fix lint
2022-11-30 11:05:41 +08:00
Wuxh
d989a4e53b
chore: improve site ()
* 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 () 2022-11-24 20:11:50 +08:00
afc163
13e5451207
docs: improve markdown style () 2022-11-23 00:00:55 +08:00
MadCcc
5038bf467d
docs: theme switch ()
* 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 ()
Fixed the click text display issue
2022-11-21 22:43:04 +08:00
zqran
59772e9222
docs: update document Table style ()
* 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 () 2022-11-19 13:47:33 +08:00
afc163
def5960164
docs: fix edit button position () 2022-11-18 19:35:46 +08:00
子瞻 Luci
c47b4e5d42
fix(dumi): update dumi theme () 2022-11-18 17:57:16 +08:00
Peach
7e6d6e3f38
docs: improve sourcecode styles () 2022-11-18 14:47:37 +08:00
MadCcc
4b490834a0
fix: preview-img style ()
* docs: PreviewImg

* docs: add preview-img style

* chore: style

* chore: clean
2022-11-18 11:54:06 +08:00
afc163
af139e9d13
docs: remove hotjar () 2022-11-18 00:01:31 +08:00
afc163
dc6bcc8acb
docs: improve some details about new site ()
* 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 () 2022-11-17 18:33:44 +08:00
afc163
e486979b30
docs: fix Grid demo color ()
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 ()
* 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 () 2022-11-15 10:09:24 +08:00
Peach
515d95847e
docs: use dumi helmet for pre-render () 2022-11-14 23:14:39 +08:00
miracles1919
9fb3e3a44f
docs: support for opening demos in a new window () 2022-11-14 20:13:03 +08:00
c0dedance
6d877e5617
fix: img default style is not reset, making the layout disordered () 2022-11-10 11:08:38 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ()
* 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 ()

* 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 ()

* 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 ()

* docs: add components sidebar ()

* 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 ()

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html ()

* 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 ()

* 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 ()

* feat: migrate IconSearch component ()

* 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 ()

* 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 ()

* feat: v5 site change-log page ()

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi ()

* 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 ()

* 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 ()

* 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