Commit Graph

287 Commits

Author SHA1 Message Date
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 e19ddd74795cbabb5d9b387bcd6d6a5c5d5dcc0f.
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
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(文辉)
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
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
二货爱吃白萝卜
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
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 a6e0fe0906cb77095511af984f157dbe9975433f.
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
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
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
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