Commit Graph

544 Commits

Author SHA1 Message Date
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
lijianan
ba999de764
chore: site code format (#39457)
* format: site code format

* Conflicting

* lint

* rename
2022-12-19 13:23:28 +08:00
lijianan
0eaf2b40cf
site: add blog about test library migration (#39591)
* add blog

* fix

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix

* fix
2022-12-19 11:50:11 +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
97cfc17278
chore: use const replace var (#39632) 2022-12-19 10:07:52 +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
lijianan
ad252b223c
fix: add img cdn link for site (#39554) 2022-12-15 10:18:41 +08:00
lijianan
f820cb257c
docs: update demo (#39475)
* docs: update demo

* update

* update
2022-12-12 11:40:18 +08:00
PCCCCCCC
53470fc476
Adapt to the mobile mode of the new official website (#39043)
* feat: add basic css for title
feat: add basic Carousel structure
feat: modify some card with mobile mode
feat: style change for theme
feat: Extract public styles and improve some styles
fix: Fix code loss caused by handling conflicts

* feat: change the theme to carousel with image
2022-12-11 20:39:46 +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
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
二货爱吃白萝卜
33deda5e38
docs: Update Blog (#39399)
* docs: auto order

* docs: getContainer blog

* chore: rm console
2022-12-08 16:46:48 +08:00
afc163
b2df64a057
chore: fix code box icons cannot display in Safari (#39395)
close #39318
2022-12-08 16:43:00 +08:00
afc163
66754060f9
chore: remove unused devDeps (#39392) 2022-12-08 13:44:20 +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
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
MadCcc
e5a8e035de
docs: update theme editor (#39363)
* docs: update theme editor

* chore: code clean

* chore: code clean

* chore: fix lint
2022-12-07 20:22:15 +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
二货机器人
c09dab5850 docs: fix site check where logic 2022-12-05 18:30:02 +08:00
afc163
8296b72585
style: fix RangePicker hover range style (#39266)
* style: fix DatePicker hover range style

close #39219

* chore: fix lint
2022-12-05 17:47:12 +08:00
afc163
80f167e5f2 docs: update footer 2022-12-05 16:42:03 +08:00
二货爱吃白萝卜
fe60528e84
fix: Dropdown sub-menu missing motion (#39235)
* chore: fix dropdown motion miss

* fix: dropdown missing motion & site check
2022-12-04 13:22:57 +08:00
Wuxh
3d9046d079 docs: improve preview interaction (#38802)
docs: improve preview interaction
2022-12-04 01:05:33 +08:00
afc163
4e460cde42
docs: fix demo card icons color (#39191) 2022-12-02 16:32:16 +08:00
afc163
0baab01c39 docs: site detail 2022-12-01 23:53:20 +08:00
MadCcc
da097e63bf chore: update token-meta structure 2022-12-01 20:52:51 +08:00
MadCcc
f863703f12
chore: use startTransition to avoid affecting hydration (#39155)
* chore: use startTransition to avoid affecting hydration

* chore: code clean
2022-12-01 17:55:20 +08:00
MadCcc
d891db0ada
docs: fix hydration (#39153)
* docs: fix hydration

* chore: recover style
2022-12-01 16:10:53 +08:00
Peach
4a018d8c42
docs: fix server/client mismatch hydrate error (#39042)
* docs: fix server/client mismatch hydrate error

* chore: lint

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-01 15:25:31 +08:00
lijianan
ada192f3a0
site: fix site error (#39138) 2022-12-01 12:21:42 +08:00
Wuxh
880a57298e
chore(site): support for opening debug component demos (#39132) 2022-12-01 10:43:52 +08:00
MadCcc
d3202e2fb6 chore: fix site 2022-11-30 15:42:21 +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
二货爱吃白萝卜
cfc84d4500
docs: fix home theme flick (#39083)
* docs: fix home theme flick

* docs: fix link
2022-11-29 18:05:40 +08:00
二货爱吃白萝卜
fc1e818e99
docs: adjust icons (#39074) 2022-11-29 13:14:06 +08:00
二货爱吃白萝卜
e4938e4b5f
docs: Support blog (#38993)
* chore: simplify icon

* docs: simplify buttons

* docs: site blog part

* docs: fix trans

* docs: cssinjs

Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-27 20:25:59 +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 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
MadCcc
403d345577 docs: fix prerender 2022-11-24 15:47:13 +08:00
二货爱吃白萝卜
3d0a269c81
docs: change lang by lang (#38943) 2022-11-24 15:41:45 +08:00
二货爱吃白萝卜
0f26e51c23
docs: tip for legacy browser (#38917)
* docs: tip for legacy browser

* Update .dumi/theme/slots/Footer/AdditionalInfo.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* Update .dumi/theme/slots/Footer/AdditionalInfo.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* docs: sample

* chore: tmp adjust script

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-24 11:14:29 +08:00
lijianan
5148b01183
chore: use translate3d for performance optimization (#38747)
* chore: use translate3d for performance optimization

* test: fix

* revert
2022-11-24 10:08:08 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs (#38902)
* refactor: Optimize theme export and add docs

* chore: fix lint

* chore: fix lint

* chore: fix lint
2022-11-23 20:22:38 +08:00
MadCcc
3a5bb06c3e chore: fix mirror url 2022-11-23 19:28:10 +08:00
Wuxh
6aa8002f60
chore(site): links to add query params (#38893) 2022-11-23 13:48:28 +08:00
afc163
13e5451207
docs: improve markdown style (#38875) 2022-11-23 00:00:55 +08:00
MadCcc
9e7dc4dd4c docs: fix localstorage theme 2022-11-22 21:12:20 +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
lijianan
3040ed7566
site: fix site style (#38819) 2022-11-21 23:18:50 +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
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
二货爱吃白萝卜
0c446bc9c3
docs: auto use Chinese mirror if in mirror (#38776)
* docs: auto use chinese mirror if in mirror

* Update .dumi/theme/themeConfig.ts

* Update .dumi/theme/themeConfig.ts

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-11-21 14:00:32 +08:00
afc163
68b1062ef1
docs: update zhihu blog url (#38737) 2022-11-19 19:25:27 +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
lijianan
cd52a3dce0
site: remove pointerEvents (#38726) 2022-11-19 13:43:42 +08:00
子瞻 Luci
a8fc788f98
fix(dumi): get contributor error on 404 page (#38708) 2022-11-18 23:54:37 +08:00
afc163
c5fe4cab73
docs: improve home page text (#38705) 2022-11-18 23:17:13 +08:00
afc163
def5960164
docs: fix edit button position (#38696) 2022-11-18 19:35:46 +08:00
Yvan Zhu
b0961b98db
Update index.tsx (#38690) 2022-11-18 18:43:00 +08:00
afc163
4f3b257521
docs: tweak home banner height (#38688) 2022-11-18 18:22:16 +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
Peach
979de5350f
docs: correct search bar space in header (#38668) 2022-11-18 13:11:31 +08:00
MadCcc
73139eb5af
docs: 5.0.0 changelog (#38642)
* docs: 5.0.0 changelog

* chore: bump version

* chore: english changelog

* chore: code clean

* docs: add missing break line

* docs: eng version pretter

* chore: update

* chore: clean

* chore: remove backtop doc

* chore: update changelog

* chore: code clean

* docs: update

* rm eng log

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-11-18 13:10:45 +08:00
二货爱吃白萝卜
f5ed8fb29c
chore: bump notify on second time (#38665)
* chore: bump notify on second time

* docs: adjust notify
2022-11-18 13:10:13 +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
Peach
3b27471a85
docs: use dumi built-in search bar (#38658)
* docs: use dumi built-in search bar

* docs: detailed styles for search bar
2022-11-18 11:29:46 +08:00
afc163
af139e9d13
docs: remove hotjar (#38654) 2022-11-18 00:01:31 +08:00
afc163
a3692b7aed
chore: add yuque blog url (#38649) 2022-11-17 23:32:17 +08:00
二货爱吃白萝卜
ced4f0246e
docs: Adjust home page PurePanel & fix nav lang & popup for v5 (#38647)
* docs: add info

* docs: fix pure render

* docs: PurePanel eng
2022-11-17 23:15:27 +08:00
二货爱吃白萝卜
842f355f39
docs: less usage guide (#38641)
* docs: add static usage

* docs: migrate doc

* docs: migrate
2022-11-17 21:48:03 +08:00
afc163
c92ef74ea4
docs: add legacy version link of 4.x (#38638) 2022-11-17 21:24:40 +08:00
Peach
9dcc4aab2c
docs: correct style extract from markdown demo (#38637) 2022-11-17 21:13: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
MadCcc
de555912c9
feat: anchor ink ball style (#38616)
* feat: anchor ink ball style

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: change cover
2022-11-17 16:49:09 +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
afc163
9c670dfdf6
docs: fix webm compat (#38615) 2022-11-17 12:15:07 +08:00
MadCcc
04da1f3fdf docs: fix site issue 2022-11-17 01:22:09 +08:00
afc163
6f58250bc3
docs: update documentation (#38594)
* docs: update footer text

* docs: update IE support
2022-11-16 16:13:38 +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
afc163
a7820a3dd3
docs: change banner and improve its style (#38572) 2022-11-15 21:49:00 +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
afc163
2f960df9e7
docs: remove custom scrollbar style (#38551)
https://github.com/ant-design/ant-design/issues/38463#issuecomment-1308806682
2022-11-14 17:03:38 +08:00
MadCcc
49aaa23691
fix: collapse end arrow rotate (#38547)
* fix: collapse end arrow rotate

* chore: menu layout
2022-11-14 15:46:51 +08:00
二货爱吃白萝卜
e130dc105f
docs: Adjust home Theme demo (#38491)
* docs: theme tmp opacity

* docs: adjust home theme style

* docs: rm tmp file
2022-11-10 20:23:36 +08:00
MadCcc
b54c7db3e2
docs: add homepage link (#38486)
* fix: site issue

* fix: homepage link
2022-11-10 19:46:44 +08:00
Dunqing
f25da16c52
docs: fix pnpm not work (#38472) 2022-11-10 16:36:20 +08:00
c0dedance
6d877e5617
fix: img default style is not reset, making the layout disordered (#38474) 2022-11-10 11:08:38 +08:00
MadCcc
25dc2218cd
chore: site test (#38462) 2022-11-09 16:00:28 +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