New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@density/ui-modal

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@density/ui-modal - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

dist/index.js

@@ -22,3 +22,5 @@

"div",
{ className: "modal" },
{ className: "modal", onClick: function onClick(e) {
return e.stopPropagation();
} },
children

@@ -25,0 +27,0 @@ )

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

_2.default,
null,
{ onClickBackdrop: (0, _addonActions.action)('backdrop click') },
_react2.default.createElement(

@@ -32,0 +32,0 @@ _card2.default,

@@ -5,4 +5,4 @@ import * as React from 'react';

return <div className="modal-backdrop" onClick={onClickBackdrop}>
<div className="modal">{children}</div>
<div className="modal" onClick={e => e.stopPropagation()}>{children}</div>
</div>;
}
{
"name": "@density/ui-modal",
"version": "0.0.3",
"version": "0.0.4",
"description": "Modal popup component",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -15,3 +15,3 @@ import React from 'react';

foo
<Modal>
<Modal onClickBackdrop={action('backdrop click')}>
<Card>

@@ -18,0 +18,0 @@ <CardHeader>Foo</CardHeader>

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