@rc-component/dialog 1.5.1 → 1.6.1

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.
Files changed (52) hide show
  1. package/README.md +24 -17
  2. package/dist/common-async.js +2518 -0
  3. package/dist/common-async.js.map +1 -0
  4. package/dist/demos-async.css +396 -0
  5. package/dist/demos-async.css.map +1 -0
  6. package/dist/demos-async.js +1242 -0
  7. package/dist/demos-async.js.map +1 -0
  8. package/dist/docs_changelog_md-async.js +2141 -0
  9. package/dist/docs_changelog_md-async.js.map +1 -0
  10. package/dist/docs_demo_ant-design_md-async.js +101 -0
  11. package/dist/docs_demo_ant-design_md-async.js.map +1 -0
  12. package/dist/docs_demo_bootstrap_md-async.js +101 -0
  13. package/dist/docs_demo_bootstrap_md-async.js.map +1 -0
  14. package/dist/docs_demo_draggable_md-async.js +101 -0
  15. package/dist/docs_demo_draggable_md-async.js.map +1 -0
  16. package/dist/docs_demo_multiple-Portal_md-async.js +147 -0
  17. package/dist/docs_demo_multiple-Portal_md-async.js.map +1 -0
  18. package/dist/docs_demo_pure_md-async.js +101 -0
  19. package/dist/docs_demo_pure_md-async.js.map +1 -0
  20. package/dist/docs_index_md-async.js +1754 -0
  21. package/dist/docs_index_md-async.js.map +1 -0
  22. package/dist/dumi__tmp__dumi__theme__ContextWrapper-async.js +201 -0
  23. package/dist/dumi__tmp__dumi__theme__ContextWrapper-async.js.map +1 -0
  24. package/dist/meta__docs-async.css +396 -0
  25. package/dist/meta__docs-async.css.map +1 -0
  26. package/dist/meta__docs-async.js +1048 -0
  27. package/dist/meta__docs-async.js.map +1 -0
  28. package/dist/nm__dumi__dist__client__pages__404-async.js +69 -0
  29. package/dist/nm__dumi__dist__client__pages__404-async.js.map +1 -0
  30. package/dist/nm__dumi__dist__client__pages__Demo__index-async.js +63 -0
  31. package/dist/nm__dumi__dist__client__pages__Demo__index-async.js.map +1 -0
  32. package/dist/node_modules_dumi_dist_client_misc_reactDemoCompiler_js-async.js +368 -0
  33. package/dist/node_modules_dumi_dist_client_misc_reactDemoCompiler_js-async.js.map +1 -0
  34. package/dist/node_modules_dumi_theme-default_layouts_DocLayout_index_js-async.js +1077 -0
  35. package/dist/node_modules_dumi_theme-default_layouts_DocLayout_index_js-async.js.map +1 -0
  36. package/dist/node_modules_react-dom_server_browser_js-async.js +18 -0
  37. package/dist/node_modules_react-dom_server_browser_js-async.js.map +1 -0
  38. package/dist/umi.css +1317 -0
  39. package/dist/umi.css.map +1 -0
  40. package/dist/umi.js +83003 -0
  41. package/dist/umi.js.map +1 -0
  42. package/dist/vendors-async.css +26259 -0
  43. package/dist/vendors-async.css.map +1 -0
  44. package/dist/vendors-async.js +56792 -0
  45. package/dist/vendors-async.js.map +1 -0
  46. package/es/Dialog/Content/Panel.d.ts +2 -1
  47. package/es/Dialog/Content/Panel.js +10 -38
  48. package/es/Dialog/index.js +9 -8
  49. package/lib/Dialog/Content/Panel.d.ts +2 -1
  50. package/lib/Dialog/Content/Panel.js +10 -38
  51. package/lib/Dialog/index.js +9 -8
  52. 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] [![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][codecov-image]][codecov-url] [![npm download][download-image]][download-url] [![bundle size][bundlephobia-image]][bundlephobia-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]: http://img.shields.io/npm/v/rc-dialog.svg?style=flat-square
8
- [npm-url]: http://npmjs.org/package/rc-dialog
9
- [github-actions-image]: https://github.com/react-component/dialog/workflows/CI/badge.svg
10
- [github-actions-url]: https://github.com/react-component/dialog/actions
11
- [circleci-image]: https://img.shields.io/circleci/react-component/dialog/master?style=flat-square
12
- [circleci-url]: https://circleci.com/gh/react-component/dialog
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
- [download-image]: https://img.shields.io/npm/dm/rc-dialog.svg?style=flat-square
16
- [download-url]: https://npmjs.org/package/rc-dialog
17
- [bundlephobia-url]: https://bundlephobia.com/result?p=rc-dialog
18
- [bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-dialog
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
- [![rc-dialog](https://nodei.co/npm/rc-dialog.png)](https://npmjs.org/package/rc-dialog)
39
+ [![@rc-component/dialog](https://nodei.co/npm/@rc-component/dialog.png)](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