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

@project-r/styleguide

Package Overview
Dependencies
Maintainers
2
Versions
689
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@project-r/styleguide - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

3

lib/components/Form/Field.js

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

sim = _props.simulate,
ref = _props.ref,
label = _props.label,

@@ -131,3 +132,3 @@ error = _props.error;

containerStyle,
_react2.default.createElement('input', _extends({ type: type,
_react2.default.createElement('input', _extends({ type: type, ref: ref,
onChange: onChange || function (event) {

@@ -134,0 +135,0 @@ var v = event.target.value;

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

var primary = exports.primary = '#3CAD00';
var primaryBg = exports.primaryBg = '#EBF6E5';
var secondary = exports.secondary = '#4B6359';

@@ -7,0 +8,0 @@ var disabled = exports.disabled = '#B7C1BD';

{
"name": "@project-r/styleguide",
"version": "0.1.4",
"version": "0.1.5",
"peerDependencies": {

@@ -5,0 +5,0 @@ "glamor": "^2.20.24",

@@ -74,3 +74,3 @@ import React, {Component} from 'react'

render () {
const {onChange, type, simulate: sim, label, error} = this.props
const {onChange, type, simulate: sim, ref, label, error} = this.props

@@ -96,3 +96,3 @@ let simulations = {}

<label {...containerStyle}>
<input type={type}
<input type={type} ref={ref}
onChange={onChange || ((event) => {

@@ -99,0 +99,0 @@ const v = event.target.value

export const primary = '#3CAD00'
export const primaryBg = '#EBF6E5'
export const secondary = '#4B6359'

@@ -3,0 +4,0 @@ export const disabled = '#B7C1BD'

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