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

cf-component-button

Package Overview
Dependencies
Maintainers
22
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-component-button - npm Package Compare versions

Comparing version 7.3.3 to 7.3.4

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="7.3.4"></a>
## [7.3.4](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-button@7.3.3...cf-component-button@7.3.4) (2018-02-07)
**Note:** Version bump only for package cf-component-button
<a name="7.3.3"></a>

@@ -8,0 +16,0 @@ ## [7.3.3](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-button@7.3.2...cf-component-button@7.3.3) (2018-02-01)

4

es/Button.js

@@ -212,4 +212,6 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

loading = _props.loading,
testId = _props.testId,
children = _props.children;
return React.createElement(

@@ -242,2 +244,3 @@ ConnectEventTracking,

type: submit ? 'submit' : 'button',
'data-test-id': testId,
disabled: disabled || loading,

@@ -265,2 +268,3 @@ className: className,

type: PropTypes.oneOf(['default', 'primary', 'success', 'warning', 'danger']).isRequired,
testId: PropTypes.string,
disabled: PropTypes.bool,

@@ -267,0 +271,0 @@ loading: PropTypes.bool,

@@ -200,3 +200,11 @@ 'use strict';

render() {
const { submit, className, disabled, loading, children } = this.props;
const {
submit,
className,
disabled,
loading,
testId,
children
} = this.props;
return _react2.default.createElement(

@@ -224,2 +232,3 @@ _cfUtilUserTracking.ConnectEventTracking,

type: submit ? 'submit' : 'button',
'data-test-id': testId,
disabled: disabled || loading,

@@ -244,2 +253,3 @@ className: className,

type: _propTypes2.default.oneOf(['default', 'primary', 'success', 'warning', 'danger']).isRequired,
testId: _propTypes2.default.string,
disabled: _propTypes2.default.bool,

@@ -246,0 +256,0 @@ loading: _propTypes2.default.bool,

2

package.json
{
"name": "cf-component-button",
"description": "Cloudflare Button Component",
"version": "7.3.3",
"version": "7.3.4",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "module": "es/index.js",

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