backstage-modal
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -19,2 +19,6 @@ 'use strict'; | ||
var _closeIcon = require('./close-icon'); | ||
var _closeIcon2 = _interopRequireDefault(_closeIcon); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -63,3 +67,3 @@ | ||
}, | ||
'+' | ||
_react2.default.createElement(_closeIcon2.default, null) | ||
); | ||
@@ -66,0 +70,0 @@ } |
@@ -35,19 +35,21 @@ 'use strict'; | ||
header: { | ||
padding: '1.5rem 1.5rem', | ||
padding: '24px', | ||
borderBottom: '1px solid #ccc', | ||
lineHeight: '1.5rem' | ||
display: 'flex', | ||
justifyContent: 'space-between', | ||
alignItems: 'center' | ||
}, | ||
title: { | ||
fontSize: '1.25rem', | ||
lineHeight: '1.2', | ||
letterSpacing: '-0.05rem' | ||
fontSize: '20px', | ||
letterSpacing: '-0.8px', | ||
textRendering: 'optimizeLegibility', | ||
WebkitFontSmoothing: 'antialiased', | ||
MozOsxFontSmoothing: 'grayscale' | ||
}, | ||
close: { | ||
float: 'right', | ||
height: '24px', | ||
color: '#999', | ||
cursor: 'pointer', | ||
fontSize: '2.125rem', | ||
position: 'relative', | ||
textDecoration: 'none', | ||
transform: 'rotate(45deg)' | ||
textDecoration: 'none' | ||
}, | ||
@@ -54,0 +56,0 @@ closeHover: { |
@@ -115,3 +115,2 @@ 'use strict'; | ||
{ className: 'bs-modal__header', style: _modal2.default.header }, | ||
_react2.default.createElement(_closeButton2.default, { onClick: this.handleCloseClick }), | ||
_react2.default.createElement( | ||
@@ -124,3 +123,4 @@ 'span', | ||
this.props.title | ||
) | ||
), | ||
_react2.default.createElement(_closeButton2.default, { onClick: this.handleCloseClick }) | ||
), | ||
@@ -127,0 +127,0 @@ this.props.children |
{ | ||
"name": "backstage-modal", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "backstage modal", | ||
@@ -5,0 +5,0 @@ "main": "dist/modal.js", |
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
29199
10
391