Huge News!Announcing our $40M Series B led by Abstract Ventures.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.1.0 to 0.2.0

48

dist/story.js

@@ -16,2 +16,6 @@ 'use strict';

var _index3 = require('../button/index');
var _index4 = _interopRequireDefault(_index3);
var _card = require('../card');

@@ -33,7 +37,7 @@

_card2.default,
null,
{ type: 'modal' },
_react2.default.createElement(
_card.CardHeader,
null,
'Foo'
'Confirmation'
),

@@ -43,3 +47,19 @@ _react2.default.createElement(

null,
'Bar'
_react2.default.createElement(
'p',
{ style: { margin: 0 } },
'This token is for a thing. Lorem Ipsum is simply dummy text of the printing and typesetting industry and this is just here to make you believe in aliens.'
),
_react2.default.createElement('br', null),
_react2.default.createElement(
_index4.default,
null,
'Yes'
),
_react2.default.createElement('br', null),
_react2.default.createElement(
_index4.default,
null,
'No'
)
)

@@ -62,7 +82,7 @@ )

_card2.default,
null,
{ type: 'modal' },
_react2.default.createElement(
_card.CardHeader,
null,
'Foo'
'Confirmation'
),

@@ -72,3 +92,19 @@ _react2.default.createElement(

null,
'Bar'
_react2.default.createElement(
'p',
{ style: { margin: 0 } },
'This token is for a thing. Lorem Ipsum is simply dummy text of the printing and typesetting industry and this is just here to make you believe in aliens.'
),
_react2.default.createElement('br', null),
_react2.default.createElement(
_index4.default,
null,
'Yes'
),
_react2.default.createElement('br', null),
_react2.default.createElement(
_index4.default,
null,
'No'
)
)

@@ -75,0 +111,0 @@ )

2

package.json
{
"name": "@density/ui-modal",
"version": "0.1.0",
"version": "0.2.0",
"description": "Modal popup component",

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

@@ -8,2 +8,3 @@ import React from 'react';

import Modal, { ModalClose } from './index';
import Button from '../button/index';
import Card, { CardHeader, CardBody } from '../card';

@@ -17,5 +18,11 @@

<Modal onClickBackdrop={action('backdrop click')}>
<Card>
<CardHeader>Foo</CardHeader>
<CardBody>Bar</CardBody>
<Card type="modal">
<CardHeader>Confirmation</CardHeader>
<CardBody>
<p style={{margin: 0}}>This token is for a thing. Lorem Ipsum is simply dummy text of the printing and typesetting industry and this is just here to make you believe in aliens.</p>
<br />
<Button>Yes</Button>
<br />
<Button>No</Button>
</CardBody>
</Card>

@@ -32,7 +39,11 @@ </Modal>

>
<Card>
<CardHeader>
Foo
</CardHeader>
<CardBody>Bar</CardBody>
<Card type="modal">
<CardHeader>Confirmation</CardHeader>
<CardBody>
<p style={{margin: 0}}>This token is for a thing. Lorem Ipsum is simply dummy text of the printing and typesetting industry and this is just here to make you believe in aliens.</p>
<br />
<Button>Yes</Button>
<br />
<Button>No</Button>
</CardBody>
</Card>

@@ -39,0 +50,0 @@ </Modal>

Sorry, the diff of this file is not supported yet

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc