Skip to content

Commit fd1e6f1

Browse files
committed
chore: merge master
2 parents 48c9c2a + da62840 commit fd1e6f1

File tree

15 files changed

+138
-52
lines changed

15 files changed

+138
-52
lines changed

.dumirc.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { defineConfig } from 'dumi';
2+
import path from 'path';
3+
4+
export default defineConfig({
5+
alias: {
6+
'rc-dialog$': path.resolve('src'),
7+
'rc-dialog/es': path.resolve('src'),
8+
},
9+
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
10+
themeConfig: {
11+
name: 'Dialog',
12+
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
13+
},
14+
});;

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@ package-lock.json
4141
.umi-production
4242
.umi-test
4343
.env.local
44+
45+
46+
# dumi
47+
.dumi/tmp
48+
.dumi/tmp-production

.umirc.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,16 @@
22

33
react dialog component
44

5-
[![NPM version][npm-image]][npm-url] [![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi) [![build status][github-actions-image]][github-actions-url] [![Test coverage][coveralls-image]][coveralls-url] [![Dependencies][david-image]][david-url] [![DevDependencies][david-dev-image]][david-dev-url] [![npm download][download-image]][download-url] [![bundle size][bundlephobia-image]][bundlephobia-url]
5+
[![NPM version][npm-image]][npm-url] [![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi) [![build status][github-actions-image]][github-actions-url] [![Test coverage][coveralls-image]][coveralls-url] [![npm download][download-image]][download-url] [![bundle size][bundlephobia-image]][bundlephobia-url]
66

77
[npm-image]: http://img.shields.io/npm/v/rc-dialog.svg?style=flat-square
88
[npm-url]: http://npmjs.org/package/rc-dialog
99
[github-actions-image]: https://github.com/react-component/dialog/workflows/CI/badge.svg
1010
[github-actions-url]: https://github.com/react-component/dialog/actions
1111
[circleci-image]: https://img.shields.io/circleci/react-component/dialog/master?style=flat-square
1212
[circleci-url]: https://circleci.com/gh/react-component/dialog
13-
[coveralls-image]: https://img.shields.io/coveralls/react-component/dialog.svg?style=flat-square
14-
[coveralls-url]: https://coveralls.io/r/react-component/dialog?branch=master
15-
[david-url]: https://david-dm.org/react-component/dialog
16-
[david-image]: https://david-dm.org/react-component/dialog/status.svg?style=flat-square
17-
[david-dev-url]: https://david-dm.org/react-component/dialog?type=dev
18-
[david-dev-image]: https://david-dm.org/react-component/dialog/dev-status.svg?style=flat-square
13+
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/dialog/master.svg?style=flat-square
14+
[codecov-url]: https://app.codecov.io/gh/react-component/dialog
1915
[download-image]: https://img.shields.io/npm/dm/rc-dialog.svg?style=flat-square
2016
[download-url]: https://npmjs.org/package/rc-dialog
2117
[bundlephobia-url]: https://bundlephobia.com/result?p=rc-dialog

docs/demo/ant-design.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## ant-design
1+
---
2+
title: ant-design
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/ant-design.tsx">
8+
<code src="../examples/ant-design.tsx"></code>

docs/demo/bootstrap.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## bootstrap
1+
---
2+
title: bootstrap
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/bootstrap.tsx">
8+
<code src="../examples/bootstrap.tsx"></code>

docs/demo/draggable.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## draggable
1+
---
2+
title: draggable
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/draggable.tsx">
8+
<code src="../examples/draggable.tsx"></code>

docs/demo/multiple-Portal.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## multiple-Portal
1+
---
2+
title: multiple-Portal
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/multiple-Portal.tsx">
8+
<code src="../examples/multiple-Portal.tsx"></code>

docs/demo/pure.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## pure-debug
1+
---
2+
title: pure-debug
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/pure.tsx">
8+
<code src="../examples/pure.tsx"></code>

docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
title: rc-dialog
2+
hero:
3+
title: rc-dialog
4+
description: React Dialog Component
35
---
46

57
<embed src="../README.md"></embed>

0 commit comments

Comments
 (0)