@zohodesk/popups
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,1 +0,1 @@ | ||
export { default as Popup, closeGroupPopups } from './Popup'; | ||
export { Popup, closeGroupPopups } from './Popup'; |
@@ -39,3 +39,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
var popupStyles = _Object$assign({}, styles, customStyles); | ||
var popupStyles = _Object$assign({}, customStyles); | ||
group = group || 'global'; | ||
@@ -245,3 +245,3 @@ | ||
var positionStyle = position ? popupStyles[position] : ''; | ||
var positionStyle = position ? popupStyles[position] || '' : ''; | ||
@@ -248,0 +248,0 @@ var arrowStyle = popupStyles.arrow + ' ' + positionStyle; |
@@ -12,3 +12,3 @@ 'use strict'; | ||
get: function get() { | ||
return _interopRequireDefault(_Popup).default; | ||
return _Popup.Popup; | ||
} | ||
@@ -21,4 +21,2 @@ }); | ||
} | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
}); |
@@ -61,3 +61,3 @@ 'use strict'; | ||
var popupStyles = Object.assign({}, styles, customStyles); | ||
var popupStyles = Object.assign({}, customStyles); | ||
group = group || 'global'; | ||
@@ -267,3 +267,3 @@ | ||
var positionStyle = position ? popupStyles[position] : ''; | ||
var positionStyle = position ? popupStyles[position] || '' : ''; | ||
@@ -270,0 +270,0 @@ var arrowStyle = popupStyles.arrow + ' ' + positionStyle; |
{ | ||
"name": "@zohodesk/popups", | ||
"version": "1.0.2", | ||
"description": "popups popupover modal dialog alert notifications popup handling for whole app", | ||
"version": "1.0.3", | ||
"description": "popups popupover modal dialog alert notifications popup handling for whole app", | ||
"main": "lib/index.js", | ||
@@ -14,3 +14,3 @@ "module": "es/index.js", | ||
"build": "npm run clean && react-cli build:component:cmjs", | ||
"prepare": "npm run build && npm run build:es && npm run build:umd", | ||
"prepare": "npm run build && npm run build:es && npm run build:umd && cp -R es/ .", | ||
"test": "react-cli test", | ||
@@ -17,0 +17,0 @@ "generate": "rc-autocomplete", |
@@ -1,1 +0,1 @@ | ||
export { default as Popup, closeGroupPopups } from './Popup'; | ||
export { Popup, closeGroupPopups } from './Popup'; |
@@ -28,3 +28,3 @@ import React from 'react'; | ||
const popupStyles = Object.assign({},styles,customStyles); | ||
const popupStyles = Object.assign({},customStyles); | ||
group = group || 'global'; | ||
@@ -214,3 +214,3 @@ | ||
let { position, isPopupOpen, isPopupReady } = this.state; | ||
let positionStyle = position ? popupStyles[position] : ''; | ||
let positionStyle = position ? popupStyles[position] || '' : ''; | ||
@@ -217,0 +217,0 @@ let arrowStyle = `${popupStyles.arrow} ${positionStyle}`; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242497
25
3342