New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

belle

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

belle - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

4

CHANGELOG.md

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

## 2.0.9 - 2016-10-21
- [DatePicker, ActionArea] Avoid firing the ActionArea's onUpdate twice on touch devices e.g. next month button & previous month button.
## 2.0.8 - 2016-10-17

@@ -9,0 +13,0 @@

23

lib/components/ActionArea.js

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

onUpdate: _react.PropTypes.func,
onClick: _react.PropTypes.func,
style: _react.PropTypes.object

@@ -119,3 +120,2 @@ };

_this._onMouseUp = function (event) {
var isActive = _this.state.isActive;
if (event.button === 0) {

@@ -130,6 +130,2 @@ _this.setState({

}
if (event.button === 0 && isActive && _this.props.onUpdate) {
_this.props.onUpdate({});
}
};

@@ -151,4 +147,2 @@

_this._onTouchEnd = function () {
var isActive = _this.state.isActive;
_this.setState({

@@ -162,6 +156,2 @@ isActive: false,

}
if (isActive && _this.props.onUpdate) {
_this.props.onUpdate({});
}
};

@@ -180,2 +170,12 @@

_this._onClick = function (event) {
if (_this.props.onClick) {
_this.props.onClick(event);
}
if (_this.props.onUpdate) {
_this.props.onUpdate({});
}
};
_this.childProps = sanitizeChildProps(properties);

@@ -262,2 +262,3 @@ return _this;

onTouchCancel: this._onTouchCancel,
onClick: this._onClick,
style: style

@@ -264,0 +265,0 @@ }),

{
"name": "belle",
"version": "2.0.8",
"version": "2.0.9",
"description": "Configurable React Components with great UX",

@@ -5,0 +5,0 @@ "author": {

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