Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add default loading skeleton #1512

Merged
merged 32 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
abbba95
feat: add global loading logic
Wxh16144 Feb 28, 2023
c2e592f
Merge branch 'master' into wuxh/feat-1463
Wxh16144 Aug 21, 2023
90631ee
chore: update
Wxh16144 Aug 21, 2023
ec9ce09
chore: update lock file
Wxh16144 Aug 21, 2023
b6cfc8d
docs: update dingtalk qrcode
PeachScript Oct 19, 2023
d24b60f
fix: conventional 2-level nav lost in localized routes (#1951)
PeachScript Oct 26, 2023
2675e58
chore: bump @babel/traverse from 7.22.8 to 7.23.2 (#1947)
dependabot[bot] Oct 26, 2023
31fd13c
build: release 2.2.14
PeachScript Oct 26, 2023
3753b1b
docs: correct spelling of code sandbox
PeachScript Nov 23, 2023
d87114e
fix: unexpected transformation of colon symbol (#1962)
DBSDs Dec 7, 2023
ef4835a
chore: bump browserify-sign from 4.2.1 to 4.2.2 (#1954)
dependabot[bot] Dec 7, 2023
1c2a6fb
fix: color select disappeared unexpectedly on simulator (#1976)
binyellow Dec 7, 2023
8f9e80b
fix: wrong search scroll position of 1-level heading in current page …
binyellow Dec 11, 2023
7131d3e
fix: api table does not respect ignore flag (#1981)
PeachScript Dec 11, 2023
fdc9672
build: release 2.2.15
PeachScript Dec 11, 2023
65e9759
fix: handle unexpected oneof and allof for api metadata (#1982)
PeachScript Dec 13, 2023
7975dca
refactor: cache dir config can control compile fs cache location (#1984)
PeachScript Dec 13, 2023
4d1b823
refactor: use async way to parse theme modules (#1983)
xierenyuan Dec 13, 2023
4246aff
build: release 2.2.16
PeachScript Dec 13, 2023
b2489ac
Merge branch 'master' into wuxh/feat-1463
Wxh16144 Dec 15, 2023
6eeac57
chore: revert change
Wxh16144 Dec 15, 2023
fee192f
Revert "chore: revert change"
Wxh16144 Dec 15, 2023
7b2897c
chore: remove
Wxh16144 Dec 15, 2023
9ee8f22
feat: add loadcomp logic
Wxh16144 Dec 15, 2023
f373a03
chore: making the simple complicated is commonplace
Wxh16144 Dec 15, 2023
d609dc7
Revert "Revert "chore: revert change""
Wxh16144 Dec 26, 2023
b3af251
Merge branch 'feature/2.3.0' into wuxh/feat-1463_2.3.0
Wxh16144 Dec 26, 2023
45f7bd6
chore: ?
Wxh16144 Dec 26, 2023
255baf2
chore: clean code
Wxh16144 Dec 26, 2023
b8119b4
chore: update lock file
Wxh16144 Dec 26, 2023
43ca3b5
chore: update
Wxh16144 Dec 26, 2023
ff42b74
chore: update style
Wxh16144 Dec 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dumi/theme/slots/HeaderExtra/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ const HeaderExtra: FC = () => {
window.open('https://v1.d.umijs.org/', '_blank');
}
}}
onClick={(e) => {
e.stopPropagation();
}}
>
<option value={process.env.DUMI_VERSION}>
{process.env.DUMI_VERSION}
Expand Down
4 changes: 2 additions & 2 deletions docs/config/runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ group: 框架配置

## 配置项

### modifyCodeSandBoxData
### modifyCodeSandboxData

修改在 CodeSandbox 中打开 demo 的数据,比如修改依赖、增加文件等。

```js
export function modifyCodeSandBoxData(memo, props) {
export function modifyCodeSandboxData(memo, props) {
// 根据需要修改 memo 并返回新值
return memo;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ dumi,中文发音**嘟米**,是一款为组件开发场景而生的静态站
或加入讨论群:

<div>
<img data-type="dingtalk" src="https://gw.alipayobjects.com/zos/bmw-prod/7362dab4-374e-42c6-9d52-85fd4b5e357b/lbesxxl3_w1004_h1346.jpeg" width="300" />
<img data-type="dingtalk" src="https://mdn.alipayobjects.com/huamei_i7qs1c/afts/img/A*T94jRZmW1fgAAAAAAAAAAAAADs-oAQ" width="300" />
</div>
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ features:
请访问 [GitHub](https://github.com/umijs/dumi) 或加入讨论群:

<div>
<img data-type="dingtalk" src="https://gw.alipayobjects.com/zos/bmw-prod/7362dab4-374e-42c6-9d52-85fd4b5e357b/lbesxxl3_w1004_h1346.jpeg" width="300" />
<img data-type="dingtalk" src="https://mdn.alipayobjects.com/huamei_i7qs1c/afts/img/A*T94jRZmW1fgAAAAAAAAAAAAADs-oAQ" width="300" />
</div>
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dumi",
"version": "2.2.13",
"version": "2.2.16",
"description": "📖 Documentation Generator of React Component",
"keywords": [
"generator",
Expand Down Expand Up @@ -119,6 +119,7 @@
"rc-tabs": "^12.10.0",
"rc-tree": "^5.7.9",
"react-copy-to-clipboard": "^5.1.0",
"react-loading-skeleton": "^3.1.1",
"react-error-boundary": "^4.0.10",
"react-intl": "^6.4.4",
"rehype-autolink-headings": "^6.1.1",
Expand Down
Loading
Loading