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

@vtex/styleguide

Package Overview
Dependencies
Maintainers
20
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.25 to 2.0.0-rc.26

10

lib/Button/index.js

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

var _props = this.props,
submit = _props.submit,
primary = _props.primary,

@@ -100,3 +101,4 @@ secondary = _props.secondary,

onClick: this.handleClick,
disabled: !isIconButton && disabled
disabled: !isIconButton && disabled,
type: submit ? 'submit' : 'button'
}),

@@ -116,3 +118,4 @@ isLoading ? _react2.default.createElement(_Spinner2.default, { width: 11, height: 11, secondary: primary }) : this.props.children

isLoading: false,
htmlProps: {}
htmlProps: {},
submit: false
};

@@ -127,5 +130,6 @@

isLoading: _propTypes2.default.bool,
onClick: _propTypes2.default.func
onClick: _propTypes2.default.func,
submit: false
};
exports.default = Button;
{
"name": "@vtex/styleguide",
"version": "2.0.0-rc.25",
"version": "2.0.0-rc.26",
"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