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

@superlogica/button

Package Overview
Dependencies
Maintainers
5
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superlogica/button - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

3

Button.js

@@ -10,3 +10,3 @@ import styled from 'styled-components';

const checkType = (type) => {
const regex = /^(outline|solid|ghost)$/;
const regex = /^(outline|solid|text)$/;
if(regex.test(type)){

@@ -20,2 +20,3 @@ return type;

disabled: props.disable,
style: null,
type: checkType(props.type)

@@ -22,0 +23,0 @@ }))`

{
"name": "@superlogica/button",
"version": "0.0.7",
"version": "0.0.8",
"description": "Button - DSweb Superlogica",

@@ -5,0 +5,0 @@ "main": "Button.js",

@@ -15,4 +15,4 @@ import Colors from "@superlogica/superlogica-core/resources/color";

//retorna css para button type ghost
if (type === 'ghost') {
//retorna css para button type text
if (type === 'text') {
return `background:transparent;

@@ -19,0 +19,0 @@ border:1px solid transparent;

@@ -15,3 +15,3 @@ export default {

medium: {
padding: "12px 14px",
padding: "16px 20px",
fontFamily: "proxima-nova",

@@ -22,3 +22,3 @@ fontSize: "1rem",

fontStretch: "normal",
lineHeight: "22px",
lineHeight: "16px",
letterSpacing: "normal",

@@ -25,0 +25,0 @@ textAlign: "center",

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