cf-component-button
Advanced tools
Comparing version 7.3.2 to 7.3.3
@@ -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) |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50910