ui-kit-ck-consultant 0.5.268 → 0.5.269

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4428,7 +4428,6 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
4428
4428
  };
4429
4429
 
4430
4430
  _this.state = {
4431
- isDisplay: true,
4432
4431
  isActive: false,
4433
4432
  position: 0
4434
4433
  };
@@ -4438,10 +4437,6 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
4438
4437
  var _proto = Gauge.prototype;
4439
4438
 
4440
4439
  _proto.componentDidMount = function componentDidMount() {
4441
- this.setState({
4442
- isDisplay: true
4443
- });
4444
-
4445
4440
  if (this.props.position) {
4446
4441
  this.setState({
4447
4442
  position: this.props.position
@@ -4452,13 +4447,7 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
4452
4447
  };
4453
4448
 
4454
4449
  _proto.componentWillUnmount = function componentWillUnmount() {
4455
- var _this2 = this;
4456
-
4457
- this.setState({
4458
- isDisplay: false
4459
- }, function () {
4460
- window.removeEventListener('mouseup', _this2.eventMouseUp);
4461
- });
4450
+ window.removeEventListener('mouseup', this.eventMouseUp, true);
4462
4451
  };
4463
4452
 
4464
4453
  _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
@@ -4470,7 +4459,7 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
4470
4459
  };
4471
4460
 
4472
4461
  _proto.render = function render() {
4473
- var _this3 = this;
4462
+ var _this2 = this;
4474
4463
 
4475
4464
  return /*#__PURE__*/React.createElement("div", {
4476
4465
  className: this.props.className
@@ -4502,15 +4491,15 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
4502
4491
  borderRadius: '8px'
4503
4492
  },
4504
4493
  onMouseMove: function onMouseMove(e) {
4505
- return _this3.onMouse(e);
4494
+ return _this2.onMouse(e);
4506
4495
  },
4507
4496
  onClick: function onClick(e) {
4508
- return _this3.onMouse(e, true);
4497
+ return _this2.onMouse(e, true);
4509
4498
  },
4510
4499
  onMouseDown: function onMouseDown(e) {
4511
4500
  e.preventDefault();
4512
4501
 
4513
- _this3.setState({
4502
+ _this2.setState({
4514
4503
  isActive: true
4515
4504
  });
4516
4505
  }