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

@blerp/design

Package Overview
Dependencies
Maintainers
2
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blerp/design - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

21

dist/index.cjs.js
'use strict';
var React = require('react');
var core = require('@material-ui/core');
var styles = require('@material-ui/core/styles');
var Button = require('@material-ui/core/Button');

@@ -9,10 +10,20 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
var Button = function Button() {
return /*#__PURE__*/React__default['default'].createElement(core.Button, null);
};
var StyledButton = styles.styled(Button__default['default'])({
background: "linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)",
border: 0,
borderRadius: 3,
boxShadow: "0 3px 5px 2px rgba(255, 105, 135, .3)",
color: "white",
height: 48,
padding: "0 30px"
});
function Test() {
return /*#__PURE__*/React__default['default'].createElement(StyledButton, null, "Styled Components");
}
var returnLibrary = function returnLibrary() {
return {
Button: Button // you can add here other components that you want to export
Button: Test // you can add here other components that you want to export

@@ -19,0 +30,0 @@ };

import React from 'react';
import { Button as Button$1 } from '@material-ui/core';
import { styled } from '@material-ui/core/styles';
import Button from '@material-ui/core/Button';
var Button = function Button() {
return /*#__PURE__*/React.createElement(Button$1, null);
};
var StyledButton = styled(Button)({
background: "linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)",
border: 0,
borderRadius: 3,
boxShadow: "0 3px 5px 2px rgba(255, 105, 135, .3)",
color: "white",
height: 48,
padding: "0 30px"
});
function Test() {
return /*#__PURE__*/React.createElement(StyledButton, null, "Styled Components");
}
var returnLibrary = function returnLibrary() {
return {
Button: Button // you can add here other components that you want to export
Button: Test // you can add here other components that you want to export

@@ -12,0 +22,0 @@ };

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('@material-ui/core')) :
typeof define === 'function' && define.amd ? define(['react', '@material-ui/core'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global['react-awesome-buttons'] = factory(global.React, global.core));
}(this, (function (React, core) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('@material-ui/core/styles'), require('@material-ui/core/Button')) :
typeof define === 'function' && define.amd ? define(['react', '@material-ui/core/styles', '@material-ui/core/Button'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global['react-awesome-buttons'] = factory(global.React, global.styles, global.Button));
}(this, (function (React, styles, Button) { 'use strict';
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
var Button = function Button() {
return /*#__PURE__*/React__default['default'].createElement(core.Button, null);
};
var StyledButton = styles.styled(Button__default['default'])({
background: "linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)",
border: 0,
borderRadius: 3,
boxShadow: "0 3px 5px 2px rgba(255, 105, 135, .3)",
color: "white",
height: 48,
padding: "0 30px"
});
function Test() {
return /*#__PURE__*/React__default['default'].createElement(StyledButton, null, "Styled Components");
}
var returnLibrary = function returnLibrary() {
return {
Button: Button // you can add here other components that you want to export
var returnLibrary = function returnLibrary() {
return {
Button: Test // you can add here other components that you want to export
};
};
};
var index = returnLibrary();
var index = returnLibrary();
return index;
return index;
})));
{
"name": "@blerp/design",
"version": "0.0.12",
"version": "0.0.13",
"description": "your description",

@@ -14,3 +14,4 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@babel/runtime": "^7.14.0"
"@babel/runtime": "^7.14.0",
"@material-ui/core": "^4.11.4"
},

@@ -17,0 +18,0 @@ "keywords": [

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