New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

circuitsim-component-selector

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

circuitsim-component-selector - npm Package Compare versions

Comparing version

to
0.4.1

19

dist/ComponentSelector.js

@@ -17,6 +17,10 @@ 'use strict';

var _reactAddons = require('react/addons');
var _react = require('react');
var _reactAddons2 = _interopRequireDefault(_reactAddons);
var _react2 = _interopRequireDefault(_react);
var _reactAddonsCreateFragment = require('react-addons-create-fragment');
var _reactAddonsCreateFragment2 = _interopRequireDefault(_reactAddonsCreateFragment);
var _ramda = require('ramda');

@@ -36,3 +40,3 @@

var PropTypes = _reactAddons2['default'].PropTypes;
var PropTypes = _react2['default'].PropTypes;

@@ -70,3 +74,3 @@ var CONFIG = {

var selectedButton = this.props.selectedButton.group === groupName ? this.props.selectedButton.button : null;
return _reactAddons2['default'].createElement(_ButtonGroupJs2['default'], {
return _react2['default'].createElement(_ButtonGroupJs2['default'], {
name: groupName,

@@ -82,6 +86,5 @@ buttonProps: buttonProps,

value: function render() {
var groups = _ramda2['default'].mapObjIndexed(this.toButtonGroups, CONFIG);
groups = _reactAddons2['default'].addons.createFragment(groups);
var groups = (0, _reactAddonsCreateFragment2['default'])(_ramda2['default'].mapObjIndexed(this.toButtonGroups, CONFIG));
return _reactAddons2['default'].createElement(
return _react2['default'].createElement(
'div',

@@ -95,3 +98,3 @@ { style: this.props.style },

return ComponentSelector;
})(_reactAddons2['default'].Component);
})(_react2['default'].Component);

@@ -98,0 +101,0 @@ exports['default'] = ComponentSelector;

{
"name": "circuitsim-component-selector",
"version": "0.4.0",
"version": "0.4.1",
"description": "Sidebar with buttons to select a circuit component.",

@@ -60,4 +60,5 @@ "main": "dist/ComponentSelector.js",

"radium": "^0.13.5",
"ramda": "^0.17"
"ramda": "^0.17",
"react-addons-create-fragment": "^0.14.0-beta3"
}
}