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.9.4-alpha.22 to 0.9.4-alpha.23

10

es/components/Button/Button.js

@@ -1,2 +0,2 @@

var _templateObject = _taggedTemplateLiteralLoose(['\n cursor: pointer;\n padding: 1rem;\n outline: none;\n padding: ', 'rem;\n font-size: ', ';\n border-radius: 3px;\n border: none;\n transition: all .2s ease-in-out;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n ', '\n\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n\n ', '\n\n ', '\n ', '\n ', '\n'], ['\n cursor: pointer;\n padding: 1rem;\n outline: none;\n padding: ', 'rem;\n font-size: ', ';\n border-radius: 3px;\n border: none;\n transition: all .2s ease-in-out;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n ', '\n\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n\n ', '\n\n ', '\n ', '\n ', '\n']),
var _templateObject = _taggedTemplateLiteralLoose(['\n cursor: pointer;\n padding: 1rem;\n outline: none;\n padding: ', 'rem;\n font-size: ', ';\n border-radius: 3px;\n border: none;\n transition: all .2s ease-in-out;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n ', '\n\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n box-shadow: ', ';\n\n ', '\n\n ', '\n ', '\n ', '\n\n &:disabled {\n background: ', ';\n color: ', ';\n }\n'], ['\n cursor: pointer;\n padding: 1rem;\n outline: none;\n padding: ', 'rem;\n font-size: ', ';\n border-radius: 3px;\n border: none;\n transition: all .2s ease-in-out;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n ', '\n\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n box-shadow: ', ';\n\n ', '\n\n ', '\n ', '\n ', '\n\n &:disabled {\n background: ', ';\n color: ', ';\n }\n']),
_templateObject2 = _taggedTemplateLiteralLoose(['\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n '], ['\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n ']);

@@ -30,2 +30,4 @@

}, function (props) {
return props.theme["button.shadow"];
}, function (props) {
return props.palette && css(_templateObject2, function (props) {

@@ -38,3 +40,7 @@ return props.theme.colors[props.palette];

});
}, color, space, width);
}, color, space, width, function (props) {
return props.theme["button.disabled.background"];
}, function (props) {
return props.theme["button.disabled.color"];
});

@@ -41,0 +47,0 @@ Button.propTypes = {

3

es/themes/base/index.js

@@ -24,2 +24,5 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

/* Button */
"button.disabled.background": 'gray',
/* Checkbox */

@@ -26,0 +29,0 @@ "checkbox.border.color": colors.primary2,

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

var _templateObject = _taggedTemplateLiteralLoose(['\n cursor: pointer;\n padding: 1rem;\n outline: none;\n padding: ', 'rem;\n font-size: ', ';\n border-radius: 3px;\n border: none;\n transition: all .2s ease-in-out;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n ', '\n\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n\n ', '\n\n ', '\n ', '\n ', '\n'], ['\n cursor: pointer;\n padding: 1rem;\n outline: none;\n padding: ', 'rem;\n font-size: ', ';\n border-radius: 3px;\n border: none;\n transition: all .2s ease-in-out;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n ', '\n\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n\n ', '\n\n ', '\n ', '\n ', '\n']),
var _templateObject = _taggedTemplateLiteralLoose(['\n cursor: pointer;\n padding: 1rem;\n outline: none;\n padding: ', 'rem;\n font-size: ', ';\n border-radius: 3px;\n border: none;\n transition: all .2s ease-in-out;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n ', '\n\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n box-shadow: ', ';\n\n ', '\n\n ', '\n ', '\n ', '\n\n &:disabled {\n background: ', ';\n color: ', ';\n }\n'], ['\n cursor: pointer;\n padding: 1rem;\n outline: none;\n padding: ', 'rem;\n font-size: ', ';\n border-radius: 3px;\n border: none;\n transition: all .2s ease-in-out;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n ', '\n\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n box-shadow: ', ';\n\n ', '\n\n ', '\n ', '\n ', '\n\n &:disabled {\n background: ', ';\n color: ', ';\n }\n']),
_templateObject2 = _taggedTemplateLiteralLoose(['\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n '], ['\n background: ', ';\n border: 1px solid ', ';\n color: ', ';\n ']);

@@ -46,2 +46,4 @@

}, function (props) {
return props.theme["button.shadow"];
}, function (props) {
return props.palette && (0, _styledComponents.css)(_templateObject2, function (props) {

@@ -54,3 +56,7 @@ return props.theme.colors[props.palette];

});
}, _styledSystem.color, _styledSystem.space, _styledSystem.width);
}, _styledSystem.color, _styledSystem.space, _styledSystem.width, function (props) {
return props.theme["button.disabled.background"];
}, function (props) {
return props.theme["button.disabled.color"];
});

@@ -57,0 +63,0 @@ Button.propTypes = {

@@ -41,2 +41,5 @@ 'use strict';

/* Button */
"button.disabled.background": 'gray',
/* Checkbox */

@@ -43,0 +46,0 @@ "checkbox.border.color": colors.primary2,

{
"name": "react-interface",
"version": "0.9.4-alpha.22",
"version": "0.9.4-alpha.23",
"description": "react-interface React component",

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

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