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

react-interface

Package Overview
Dependencies
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-interface - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

8

es/components/index.js
import Button from './Button';
import { Menu, MenuItem, MenuHeader, MenuDivider } from './Menu';
export default {
Button: Button,
Menu: Menu,
MenuItem: MenuItem,
MenuHeader: MenuHeader,
MenuDivider: MenuDivider
};
export { Button, Menu, MenuItem, MenuHeader, MenuDivider };

11

es/components/Menu/MenuItem.js

@@ -1,3 +0,4 @@

var _templateObject = _taggedTemplateLiteralLoose(['\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: normal;\n display: block;\n border-radius: 2px;\n padding: 7px;\n line-height: 16px;\n display: flex;\n align-items: center;\n color: ', ';\n font-size: ', ';\n cursor: pointer;\n\n &:hover {\n background: ', ';\n }\n\n ', '\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 5px;\n }\n'], ['\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: normal;\n display: block;\n border-radius: 2px;\n padding: 7px;\n line-height: 16px;\n display: flex;\n align-items: center;\n color: ', ';\n font-size: ', ';\n cursor: pointer;\n\n &:hover {\n background: ', ';\n }\n\n ', '\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 5px;\n }\n']),
_templateObject2 = _taggedTemplateLiteralLoose(['\n font-size: ', ';\n '], ['\n font-size: ', ';\n ']);
var _templateObject = _taggedTemplateLiteralLoose(['\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: normal;\n display: block;\n border-radius: 2px;\n padding: 7px;\n line-height: 16px;\n display: flex;\n align-items: center;\n color: ', ';\n font-size: ', ';\n cursor: pointer;\n\n &:hover {\n background: ', ';\n }\n\n ', '\n\n ', '\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 5px;\n }\n'], ['\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: normal;\n display: block;\n border-radius: 2px;\n padding: 7px;\n line-height: 16px;\n display: flex;\n align-items: center;\n color: ', ';\n font-size: ', ';\n cursor: pointer;\n\n &:hover {\n background: ', ';\n }\n\n ', '\n\n ', '\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 5px;\n }\n']),
_templateObject2 = _taggedTemplateLiteralLoose(['\n background: ', ';\n '], ['\n background: ', ';\n ']),
_templateObject3 = _taggedTemplateLiteralLoose(['\n font-size: ', ';\n '], ['\n font-size: ', ';\n ']);

@@ -15,5 +16,9 @@ function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }

}, function (props) {
return props.large && css(_templateObject2, function (props) {
return props.active && css(_templateObject2, function (props) {
return props.theme.colors.background.darken(.25);
});
}, function (props) {
return props.large && css(_templateObject3, function (props) {
return props.theme.sizes.fonts.large;
});
});
import Caret from './Caret';
export default {
Caret: Caret
};
export { Caret };
'use strict';
exports.__esModule = true;
exports.MenuDivider = exports.MenuHeader = exports.MenuItem = exports.Menu = exports.Button = undefined;

@@ -13,9 +14,6 @@ var _Button = require('./Button');

exports.default = {
Button: _Button2.default,
Menu: _Menu.Menu,
MenuItem: _Menu.MenuItem,
MenuHeader: _Menu.MenuHeader,
MenuDivider: _Menu.MenuDivider
};
module.exports = exports['default'];
exports.Button = _Button2.default;
exports.Menu = _Menu.Menu;
exports.MenuItem = _Menu.MenuItem;
exports.MenuHeader = _Menu.MenuHeader;
exports.MenuDivider = _Menu.MenuDivider;

@@ -5,4 +5,5 @@ 'use strict';

var _templateObject = _taggedTemplateLiteralLoose(['\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: normal;\n display: block;\n border-radius: 2px;\n padding: 7px;\n line-height: 16px;\n display: flex;\n align-items: center;\n color: ', ';\n font-size: ', ';\n cursor: pointer;\n\n &:hover {\n background: ', ';\n }\n\n ', '\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 5px;\n }\n'], ['\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: normal;\n display: block;\n border-radius: 2px;\n padding: 7px;\n line-height: 16px;\n display: flex;\n align-items: center;\n color: ', ';\n font-size: ', ';\n cursor: pointer;\n\n &:hover {\n background: ', ';\n }\n\n ', '\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 5px;\n }\n']),
_templateObject2 = _taggedTemplateLiteralLoose(['\n font-size: ', ';\n '], ['\n font-size: ', ';\n ']);
var _templateObject = _taggedTemplateLiteralLoose(['\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: normal;\n display: block;\n border-radius: 2px;\n padding: 7px;\n line-height: 16px;\n display: flex;\n align-items: center;\n color: ', ';\n font-size: ', ';\n cursor: pointer;\n\n &:hover {\n background: ', ';\n }\n\n ', '\n\n ', '\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 5px;\n }\n'], ['\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n word-wrap: normal;\n display: block;\n border-radius: 2px;\n padding: 7px;\n line-height: 16px;\n display: flex;\n align-items: center;\n color: ', ';\n font-size: ', ';\n cursor: pointer;\n\n &:hover {\n background: ', ';\n }\n\n ', '\n\n ', '\n\n svg {\n height: 18px;\n width: 18px;\n margin-right: 5px;\n }\n']),
_templateObject2 = _taggedTemplateLiteralLoose(['\n background: ', ';\n '], ['\n background: ', ';\n ']),
_templateObject3 = _taggedTemplateLiteralLoose(['\n font-size: ', ';\n '], ['\n font-size: ', ';\n ']);

@@ -24,3 +25,7 @@ var _styledComponents = require('styled-components');

}, function (props) {
return props.large && (0, _styledComponents.css)(_templateObject2, function (props) {
return props.active && (0, _styledComponents.css)(_templateObject2, function (props) {
return props.theme.colors.background.darken(.25);
});
}, function (props) {
return props.large && (0, _styledComponents.css)(_templateObject3, function (props) {
return props.theme.sizes.fonts.large;

@@ -27,0 +32,0 @@ });

'use strict';
exports.__esModule = true;
exports.Caret = undefined;

@@ -11,5 +12,2 @@ var _Caret = require('./Caret');

exports.default = {
Caret: _Caret2.default
};
module.exports = exports['default'];
exports.Caret = _Caret2.default;
{
"name": "react-interface",
"version": "0.1.0",
"version": "0.1.1",
"description": "react-interface React component",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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