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

rc-dialog - npm Package Compare versions

Comparing version 5.3.3 to 5.3.4

12

lib/Dialog.js

@@ -185,3 +185,3 @@ 'use strict';

'div',
{ className: prefixCls + '-footer' },
{ className: prefixCls + '-footer', ref: 'footer' },
props.footer

@@ -195,3 +195,3 @@ );

'div',
{ className: prefixCls + '-header' },
{ className: prefixCls + '-header', ref: 'header' },
_react2['default'].createElement(

@@ -235,3 +235,3 @@ 'div',

'div',
{ className: prefixCls + '-body', style: props.bodyStyle },
{ className: prefixCls + '-body', style: props.bodyStyle, ref: 'body' },
props.children

@@ -322,2 +322,6 @@ ),

getElement: function getElement(part) {
return this.refs[part];
},
close: function close(e) {

@@ -334,3 +338,3 @@ this.props.onClose(e);

'div',
{ className: (0, _classnames2['default'])(className) },
{ className: (0, _classnames2['default'])(className), ref: 'root' },
[this.getMaskElement(), this.getDialogElement()]

@@ -337,0 +341,0 @@ );

@@ -83,3 +83,3 @@ 'use strict';

if (this.dialogRendered) {
_reactDom2['default'].unstable_renderSubtreeIntoContainer(this, this.getDialogElement(), this.getDialogContainer());
this.dialogInstance = _reactDom2['default'].unstable_renderSubtreeIntoContainer(this, this.getDialogElement(), this.getDialogContainer());
}

@@ -133,2 +133,7 @@ }

}, {
key: 'getElement',
value: function getElement(part) {
return this.dialogInstance.getElement(part);
}
}, {
key: 'cleanDialogContainer',

@@ -135,0 +140,0 @@ value: function cleanDialogContainer() {

{
"name": "rc-dialog",
"version": "5.3.3",
"version": "5.3.4",
"description": "dialog ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc