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

@vtex/styleguide

Package Overview
Dependencies
Maintainers
19
Versions
668
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtex/styleguide - npm Package Compare versions

Comparing version 2.0.0-rc.10 to 2.0.0-rc.11

10

lib/Toggle/index.js

@@ -33,2 +33,4 @@ 'use strict';

var noop = function noop() {};
var Toggle = function (_Component) {

@@ -101,4 +103,4 @@ _inherits(Toggle, _Component);

var eventHandlers = {
onClick: this.props.onClick ? this.props.onClick : undefined,
onChange: this.props.onChange ? this.props.onChange : undefined
onClick: this.props.onClick ? this.props.onClick : noop,
onChange: this.props.onChange ? this.props.onChange : noop
};

@@ -108,6 +110,6 @@

'label',
Object.assign({
{
htmlFor: '' + id,
className: 'flex flex-row items-center ' + (!disabled && 'pointer')
}, eventHandlers),
},
this.props.children ? this.props.children : '',

@@ -114,0 +116,0 @@ _react2.default.createElement(

2

package.json
{
"name": "@vtex/styleguide",
"version": "2.0.0-rc.10",
"version": "2.0.0-rc.11",
"scripts": {

@@ -5,0 +5,0 @@ "test": "react-scripts test --env=jsdom",

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