Socket
Socket
Sign inDemoInstall

rc-dialog

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.5.0 to 5.0.0

4

HISTORY.md
# History
----
## 5.0.0 2015-08-17
- refactor to clean api. remove onShow onBeforeClose
## 4.5.0 2015-07-23

@@ -5,0 +9,0 @@

16

package.json
{
"name": "rc-dialog",
"version": "4.5.0",
"version": "5.0.0",
"description": "dialog ui component for react",

@@ -25,2 +25,6 @@ "keywords": [

"licenses": "MIT",
"files": [
"lib",
"assets/*.css"
],
"main": "./lib/index",

@@ -32,9 +36,7 @@ "config": {

"build": "rc-tools run build",
"precommit": "rc-tools run precommit",
"less": "rc-tools run less",
"gh-pages": "rc-tools run gh-pages",
"history": "rc-tools run history",
"start": "node --harmony node_modules/.bin/rc-server",
"publish": "rc-tools run tag",
"pub": "rc-tools run pub",
"lint": "rc-tools run lint",
"karma": "rc-tools run karma",
"saucelabs": "node --harmony node_modules/.bin/rc-tools run saucelabs",

@@ -52,7 +54,7 @@ "browser-test": "node --harmony node_modules/.bin/rc-tools run browser-test",

"rc-server": "3.x",
"rc-tools": "3.x",
"rc-tools": "4.x",
"react": "~0.13.0"
},
"precommit": [
"precommit"
"lint"
],

@@ -59,0 +61,0 @@ "dependencies": {

@@ -77,11 +77,5 @@ # rc-dialog

<th>false</th>
<td></td>
<td>current dialog's visible status</td>
</tr>
<tr>
<td>renderToBody</td>
<td>Boolean</td>
<th>true</th>
<td>whether render dialog to body</td>
</tr>
<tr>
<td>animation</td>

@@ -117,7 +111,13 @@ <td>String</td>

<tr>
<td>onBeforeClose</td>
<td>function(close)</td>
<td>mousePosition</td>
<td>{x:number,y:number}</td>
<th></th>
<td>when click close button or mask. argument is a close function</td>
<td>set pageX and pageY of current mouse(it will cause transform origin to be set).</td>
</tr>
<tr>
<td>onClose</td>
<td>function()</td>
<th></th>
<td>called when click close button or mask</td>
</tr>
</tbody>

@@ -124,0 +124,0 @@ </table>

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc