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

glud-component

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glud-component - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

12

lib/InputDatePicker/index.js

@@ -24,6 +24,2 @@ 'use strict';

var _classnames = require('classnames');
var _classnames2 = _interopRequireDefault(_classnames);
var _Input = require('../Input');

@@ -123,6 +119,2 @@

var classNameBoxDaterange = (0, _classnames2.default)('box-datarange-wrapper', {
show: isShowCalendar
});
return _react2.default.createElement(

@@ -149,5 +141,5 @@ 'div',

}),
_react2.default.createElement(
isShowCalendar && _react2.default.createElement(
'div',
{ className: classNameBoxDaterange },
{ className: 'box-datarange-wrapper show' },
_react2.default.createElement('a', { className: 'delete', onClick: this.handleClickCloseDatePicker }),

@@ -154,0 +146,0 @@ _react2.default.createElement(_reactDaterangePicker2.default, {

18

lib/InputDateRangePicker/index.js

@@ -28,6 +28,2 @@ 'use strict';

var _classnames = require('classnames');
var _classnames2 = _interopRequireDefault(_classnames);
var _Input = require('../Input');

@@ -85,2 +81,3 @@

_this.props.onFocus(e);
_this.input.blurInput();
}, _this.handleClickCloseDatePicker = function () {

@@ -112,2 +109,4 @@ _this.onCloseDatePicker();

value: function render() {
var _this2 = this;
var _state = this.state,

@@ -130,6 +129,2 @@ isShowCalendar = _state.isShowCalendar,

var classNameBoxDaterange = (0, _classnames2.default)('box-datarange-wrapper', {
show: isShowCalendar
});
var startDate = (0, _get2.default)(dateRangeValue, 'start', null);

@@ -143,2 +138,5 @@ var endDate = (0, _get2.default)(dateRangeValue, 'end', null);

_react2.default.createElement(_Input2.default, {
ref: function ref(input) {
return _this2.input = input;
},
onlyContain: onlyContain,

@@ -158,5 +156,5 @@ label: label,

}),
_react2.default.createElement(
isShowCalendar && _react2.default.createElement(
'div',
{ className: classNameBoxDaterange },
{ className: 'box-datarange-wrapper show' },
_react2.default.createElement('a', { className: 'delete', onClick: this.handleClickCloseDatePicker }),

@@ -163,0 +161,0 @@ _react2.default.createElement(_reactDaterangePicker2.default, {

{
"name": "glud-component",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

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

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