Socket
Socket
Sign inDemoInstall

@benkeentestorg/buttons

Package Overview
Dependencies
12
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.17 to 1.0.18

3

dist/buttons-es6.js

@@ -32,2 +32,3 @@ import { createElement, Component } from 'react';

var styles = require('./buttons.scss');
var PrimaryButton = (function (_super) {

@@ -40,3 +41,3 @@ __extends(PrimaryButton, _super);

var _a = this.props, label = _a.label, className = _a.className, onClick = _a.onClick;
return (createElement("button", { onClick: onClick, className: className }, label));
return (createElement("button", { onClick: onClick, className: className + " " + styles.pink }, label));
};

@@ -43,0 +44,0 @@ return PrimaryButton;

@@ -5,2 +5,3 @@ import * as React from 'react';

className?: string;
buttonStyle?: React.CSSProperties;
onClick?: () => void;

@@ -7,0 +8,0 @@ }

@@ -34,2 +34,3 @@ 'use strict';

var styles = require('./buttons.scss');
var PrimaryButton = (function (_super) {

@@ -42,3 +43,3 @@ __extends(PrimaryButton, _super);

var _a = this.props, label = _a.label, className = _a.className, onClick = _a.onClick;
return (React.createElement("button", { onClick: onClick, className: className }, label));
return (React.createElement("button", { onClick: onClick, className: className + " " + styles.pink }, label));
};

@@ -45,0 +46,0 @@ return PrimaryButton;

{
"name": "@benkeentestorg/buttons",
"version": "1.0.17",
"version": "1.0.18",
"description": "Button components.",

@@ -21,3 +21,3 @@ "author": "Ben Keen <ben.keen@gmail.com>",

"watch": "rollup -c -w",
"test": "echo \"Error: run tests from root\" && exit 1"
"test": "jest"
},

@@ -28,2 +28,4 @@ "bugs": {

"devDependencies": {
"autoprefixer": "^9.4.5",
"node-sass": "^4.11.0",
"react": "^16.7.0",

@@ -35,2 +37,3 @@ "react-dom": "^16.7.0",

"rollup-plugin-postcss": "^1.6.3",
"rollup-plugin-postcss-modules": "^1.0.10",
"rollup-plugin-typescript2": "0.19.0",

@@ -44,6 +47,5 @@ "typescript": "^3.2.2"

"dependencies": {
"@types/react": "^16.7.20",
"react": "^16.7.0"
"@types/react": "^16.7.20"
},
"gitHead": "0393388de23aa84fff5af91926d1217d7b45d16e"
"gitHead": "0c21d12ac6f88a9a7c7bd9ec067f27a00bd45984"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc