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

cf-component-button

Package Overview
Dependencies
Maintainers
21
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.2 to 7.3.3

11

CHANGELOG.md

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

<a name="7.3.3"></a>
## [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)
### Bug Fixes
* **cf-component-button:** UI-372 Fix some buttons not receiving MouseEvent ([aa2f6c2](http://stash.cfops.it:7999/www/cf-ux/commits/aa2f6c2))
<a name="7.3.2"></a>

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

4

es/Button.js

@@ -223,3 +223,3 @@ 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; }; }();

var handleClick = function handleClick() {
var handleClick = function handleClick(e) {
// If analytics info has been specified, send an event

@@ -235,3 +235,3 @@ if (category && action) {

_this2.props.onClick();
_this2.props.onClick(e);
};

@@ -238,0 +238,0 @@

@@ -205,3 +205,3 @@ 'use strict';

({ category, label, action, value }) => {
const handleClick = () => {
const handleClick = e => {
// If analytics info has been specified, send an event

@@ -217,3 +217,3 @@ if (category && action) {

this.props.onClick();
this.props.onClick(e);
};

@@ -220,0 +220,0 @@

{
"name": "cf-component-button",
"description": "Cloudflare Button Component",
"version": "7.3.2",
"version": "7.3.3",
"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