@rc-component/dialog 1.5.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -17
- package/dist/common-async.js +2518 -0
- package/dist/common-async.js.map +1 -0
- package/dist/demos-async.css +396 -0
- package/dist/demos-async.css.map +1 -0
- package/dist/demos-async.js +1242 -0
- package/dist/demos-async.js.map +1 -0
- package/dist/docs_changelog_md-async.js +2141 -0
- package/dist/docs_changelog_md-async.js.map +1 -0
- package/dist/docs_demo_ant-design_md-async.js +101 -0
- package/dist/docs_demo_ant-design_md-async.js.map +1 -0
- package/dist/docs_demo_bootstrap_md-async.js +101 -0
- package/dist/docs_demo_bootstrap_md-async.js.map +1 -0
- package/dist/docs_demo_draggable_md-async.js +101 -0
- package/dist/docs_demo_draggable_md-async.js.map +1 -0
- package/dist/docs_demo_multiple-Portal_md-async.js +147 -0
- package/dist/docs_demo_multiple-Portal_md-async.js.map +1 -0
- package/dist/docs_demo_pure_md-async.js +101 -0
- package/dist/docs_demo_pure_md-async.js.map +1 -0
- package/dist/docs_index_md-async.js +1754 -0
- package/dist/docs_index_md-async.js.map +1 -0
- package/dist/dumi__tmp__dumi__theme__ContextWrapper-async.js +201 -0
- package/dist/dumi__tmp__dumi__theme__ContextWrapper-async.js.map +1 -0
- package/dist/meta__docs-async.css +396 -0
- package/dist/meta__docs-async.css.map +1 -0
- package/dist/meta__docs-async.js +1048 -0
- package/dist/meta__docs-async.js.map +1 -0
- package/dist/nm__dumi__dist__client__pages__404-async.js +69 -0
- package/dist/nm__dumi__dist__client__pages__404-async.js.map +1 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index-async.js +63 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index-async.js.map +1 -0
- package/dist/node_modules_dumi_dist_client_misc_reactDemoCompiler_js-async.js +368 -0
- package/dist/node_modules_dumi_dist_client_misc_reactDemoCompiler_js-async.js.map +1 -0
- package/dist/node_modules_dumi_theme-default_layouts_DocLayout_index_js-async.js +1077 -0
- package/dist/node_modules_dumi_theme-default_layouts_DocLayout_index_js-async.js.map +1 -0
- package/dist/node_modules_react-dom_server_browser_js-async.js +18 -0
- package/dist/node_modules_react-dom_server_browser_js-async.js.map +1 -0
- package/dist/umi.css +1317 -0
- package/dist/umi.css.map +1 -0
- package/dist/umi.js +83003 -0
- package/dist/umi.js.map +1 -0
- package/dist/vendors-async.css +26259 -0
- package/dist/vendors-async.css.map +1 -0
- package/dist/vendors-async.js +56792 -0
- package/dist/vendors-async.js.map +1 -0
- package/es/Dialog/Content/Panel.d.ts +0 -1
- package/es/Dialog/Content/Panel.js +8 -37
- package/es/Dialog/index.js +0 -7
- package/lib/Dialog/Content/Panel.d.ts +0 -1
- package/lib/Dialog/Content/Panel.js +8 -37
- package/lib/Dialog/index.js +0 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
# rc-dialog
|
|
1
|
+
# @rc-component/dialog
|
|
2
2
|
|
|
3
|
-
react dialog component
|
|
3
|
+
react dialog component.
|
|
4
4
|
|
|
5
|
-
[![NPM version][npm-image]][npm-url] [![
|
|
5
|
+
[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url] [![build status][github-actions-image]][github-actions-url] [![Codecov][codecov-image]][codecov-url] [![bundle size][bundlephobia-image]][bundlephobia-url] [![dumi][dumi-image]][dumi-url]
|
|
6
6
|
|
|
7
|
-
[npm-image]:
|
|
8
|
-
[npm-url]:
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
7
|
+
[npm-image]: https://img.shields.io/npm/v/@rc-component/dialog.svg?style=flat-square
|
|
8
|
+
[npm-url]: https://npmjs.org/package/@rc-component/dialog
|
|
9
|
+
[travis-image]: https://img.shields.io/travis/react-component/dialog/master?style=flat-square
|
|
10
|
+
[travis-url]: https://travis-ci.com/react-component/dialog
|
|
11
|
+
[github-actions-image]: https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml/badge.svg
|
|
12
|
+
[github-actions-url]: https://github.com/react-component/dialog/actions/workflows/react-component-ci.yml
|
|
13
13
|
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/dialog/master.svg?style=flat-square
|
|
14
14
|
[codecov-url]: https://app.codecov.io/gh/react-component/dialog
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
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
|
|
19
|
+
[download-image]: https://img.shields.io/npm/dm/@rc-component/dialog.svg?style=flat-square
|
|
20
|
+
[download-url]: https://npmjs.org/package/@rc-component/dialog
|
|
21
|
+
[bundlephobia-url]: https://bundlephobia.com/package/@rc-component/dialog
|
|
22
|
+
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/dialog
|
|
23
|
+
[dumi-url]: https://github.com/umijs/dumi
|
|
24
|
+
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
|
|
25
|
+
|
|
19
26
|
|
|
20
27
|
## Screenshot
|
|
21
28
|
|
|
@@ -29,12 +36,12 @@ online example: https://dialog.react-component.vercel.app/
|
|
|
29
36
|
|
|
30
37
|
## Install
|
|
31
38
|
|
|
32
|
-
[](https://npmjs.org/package/@rc-component/dialog)
|
|
33
40
|
|
|
34
41
|
## Usage
|
|
35
42
|
|
|
36
43
|
```js
|
|
37
|
-
var Dialog = require('rc-dialog');
|
|
44
|
+
var Dialog = require('@rc-component/dialog');
|
|
38
45
|
|
|
39
46
|
ReactDOM.render(
|
|
40
47
|
<Dialog title={title} onClose={callback1} visible>
|
|
@@ -47,7 +54,7 @@ ReactDOM.render(
|
|
|
47
54
|
|
|
48
55
|
## API
|
|
49
56
|
|
|
50
|
-
### rc-dialog
|
|
57
|
+
### @rc-component/dialog
|
|
51
58
|
|
|
52
59
|
| Name | Type | Default | Description | Version |
|
|
53
60
|
| --- | --- | --- | --- | --- |
|
|
@@ -102,7 +109,7 @@ open coverage/ dir
|
|
|
102
109
|
|
|
103
110
|
## License
|
|
104
111
|
|
|
105
|
-
rc-dialog is released under the MIT license.
|
|
112
|
+
@rc-component/dialog is released under the MIT license.
|
|
106
113
|
|
|
107
114
|
|
|
108
115
|
## 🤝 Contributing
|