Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@digibib/deichman-ui

Package Overview
Dependencies
Maintainers
5
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digibib/deichman-ui - npm Package Compare versions

Comparing version 7.1.0 to 7.1.1

.idea/deichman-ui.iml

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Change Log

## 7.1.1
### Changed
- added width size property (sizeW) in the Modal component
## 7.0.0

@@ -7,0 +13,0 @@

15

dist/index.es.js

@@ -1159,4 +1159,6 @@ import React, { Component, Fragment } from 'react';

onClose = _props.onClose,
children = _props.children;
children = _props.children,
sizeW = _props.sizeW;
var sizeWidth = sizeW && sizeW !== "0px" ? { maxWidth: sizeW } : {};

@@ -1183,3 +1185,4 @@ var modalClass = classNames({

'aria-labelledby': name + '-modal',
'aria-hidden': !visible
'aria-hidden': !visible,
style: sizeWidth
},

@@ -1195,3 +1198,3 @@ React.createElement(

'div',
{ className: 'modal__close' },
{ className: 'modal__close', style: sizeWidth },
React.createElement(CircleButton, { icon: 'close', label: 'close', onClick: onClose })

@@ -1209,3 +1212,4 @@ )

onClose: false,
width: 'default'
width: 'default',
sizeW: "0px"
};

@@ -1219,3 +1223,4 @@

onClose: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
children: PropTypes.node.isRequired
children: PropTypes.node.isRequired,
sizeW: PropTypes.string
};

@@ -1222,0 +1227,0 @@

@@ -1166,4 +1166,6 @@ 'use strict';

onClose = _props.onClose,
children = _props.children;
children = _props.children,
sizeW = _props.sizeW;
var sizeWidth = sizeW && sizeW !== "0px" ? { maxWidth: sizeW } : {};

@@ -1190,3 +1192,4 @@ var modalClass = classNames({

'aria-labelledby': name + '-modal',
'aria-hidden': !visible
'aria-hidden': !visible,
style: sizeWidth
},

@@ -1202,3 +1205,3 @@ React__default.createElement(

'div',
{ className: 'modal__close' },
{ className: 'modal__close', style: sizeWidth },
React__default.createElement(CircleButton, { icon: 'close', label: 'close', onClick: onClose })

@@ -1216,3 +1219,4 @@ )

onClose: false,
width: 'default'
width: 'default',
sizeW: "0px"
};

@@ -1226,3 +1230,4 @@

onClose: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
children: PropTypes.node.isRequired
children: PropTypes.node.isRequired,
sizeW: PropTypes.string
};

@@ -1229,0 +1234,0 @@

{
"name": "@digibib/deichman-ui",
"version": "7.1.0",
"version": "7.1.1",
"description": "Deichman style-guide and component library",

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

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