terra-slide-panel
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -7,2 +7,7 @@ Changelog | ||
1.2.0 - (August 1, 2017) | ||
------------------ | ||
### Changed | ||
* Converted component to use CSS modules | ||
1.1.0 - (July 18, 2017) | ||
@@ -9,0 +14,0 @@ ------------------ |
@@ -17,10 +17,12 @@ 'use strict'; | ||
var _classnames = require('classnames'); | ||
var _bind = require('classnames/bind'); | ||
var _classnames2 = _interopRequireDefault(_classnames); | ||
var _bind2 = _interopRequireDefault(_bind); | ||
require('terra-base/lib/baseStyles'); | ||
require('./SlidePanel.scss'); | ||
var _SlidePanel = require('./SlidePanel.scss'); | ||
var _SlidePanel2 = _interopRequireDefault(_SlidePanel); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -30,2 +32,4 @@ | ||
var cx = _bind2.default.bind(_SlidePanel2.default); | ||
var propTypes = { | ||
@@ -90,3 +94,3 @@ /** | ||
var slidePanelClassNames = (0, _classnames2.default)(['terra-SlidePanel', { 'terra-SlidePanel--is-open': isOpen }, { 'terra-SlidePanel--is-fullscreen': isFullscreen }, { 'terra-SlidePanel--fill': fill }, customProps.className]); | ||
var slidePanelClassNames = cx(['slide-panel', { 'is-open': isOpen }, { 'is-fullscreen': isFullscreen }, { fill: fill }, customProps.className]); | ||
@@ -103,3 +107,3 @@ return _react2.default.createElement( | ||
'div', | ||
{ className: 'terra-SlidePanel-panel', 'aria-hidden': !isOpen ? 'true' : null }, | ||
{ className: cx('panel'), 'aria-hidden': !isOpen ? 'true' : null }, | ||
panelContent | ||
@@ -109,3 +113,3 @@ ), | ||
'div', | ||
{ className: 'terra-SlidePanel-main' }, | ||
{ className: cx('main') }, | ||
mainContent | ||
@@ -112,0 +116,0 @@ ) |
{ | ||
"name": "terra-slide-panel", | ||
"main": "lib/SlidePanel.js", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "terra-slide-panel", | ||
@@ -24,3 +24,3 @@ "repository": { | ||
"devDependencies": { | ||
"terra-props-table": "^1.1.0" | ||
"terra-props-table": "^1.2.0" | ||
}, | ||
@@ -30,4 +30,3 @@ "peerDependencies": { | ||
"react-dom": "^15.4.2", | ||
"terra-base": "^1.1.0", | ||
"terra-mixins": "^1.7.0" | ||
"terra-base": "^1.2.0" | ||
}, | ||
@@ -37,4 +36,3 @@ "dependencies": { | ||
"prop-types": "^15.5.8", | ||
"terra-base": "^1.1.0", | ||
"terra-mixins": "^1.7.0" | ||
"terra-base": "^1.2.0" | ||
}, | ||
@@ -41,0 +39,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
6
89
24407
11
1
- Removedterra-mixins@^1.7.0
- Removedterra-mixins@1.41.0(transitive)
Updatedterra-base@^1.2.0