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.3.4 to 4.3.5

8

lib/Dialog.js

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

if (!transitionName && animation) {
transitionName = '' + props.prefixCls + '-' + animation;
transitionName = props.prefixCls + '-' + animation;
}

@@ -150,7 +150,3 @@ if (transitionName) {

{ tabIndex: '0', onClick: this.props.onRequestClose, className: [prefixClsFn(prefixCls, 'close')].join('') },
React.createElement(
'span',
{ className: prefixClsFn(prefixCls, 'close-x') },
'×'
)
React.createElement('span', { className: prefixClsFn(prefixCls, 'close-x') })
) : null,

@@ -157,0 +153,0 @@ React.createElement(

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

var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };

@@ -109,3 +109,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }

this.dialogContainer = document.createElement('div');
this.dialogContainer.className = '' + this.props.prefixCls + '-container';
this.dialogContainer.className = this.props.prefixCls + '-container';
document.body.appendChild(this.dialogContainer);

@@ -112,0 +112,0 @@ }

{
"name": "rc-dialog",
"version": "4.3.4",
"version": "4.3.5",
"description": "dialog ui component for react",

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

Sorry, the diff of this file is not supported yet

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