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

terra-slide-panel

Package Overview
Dependencies
Maintainers
6
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-slide-panel - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

5

CHANGELOG.md

@@ -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 @@ ------------------

16

lib/SlidePanel.js

@@ -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

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