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

react-date-picker

Package Overview
Dependencies
Maintainers
1
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-date-picker - npm Package Compare versions

Comparing version 8.3.3 to 8.3.4

10

dist/DatePicker.js

@@ -26,3 +26,4 @@ "use strict";

var _excluded = ["calendarClassName", "className", "onChange", "value"];
var _excluded = ["calendarClassName", "className", "onChange", "value"],
_excluded2 = ["onChange"];

@@ -332,2 +333,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var eventProps = this.eventProps;
var _this$props5 = this.props,

@@ -337,5 +339,9 @@ className = _this$props5.className,

var isOpen = this.state.isOpen;
var onChange = eventProps.onChange,
eventPropsWithoutOnChange = _objectWithoutProperties(eventProps, _excluded2);
return /*#__PURE__*/_react["default"].createElement("div", _extends({
className: (0, _mergeClassNames["default"])(baseClassName, "".concat(baseClassName, "--").concat(isOpen ? 'open' : 'closed'), "".concat(baseClassName, "--").concat(disabled ? 'disabled' : 'enabled'), className)
}, this.eventProps, {
}, eventPropsWithoutOnChange, {
onFocus: this.onFocus,

@@ -342,0 +348,0 @@ ref: function ref(_ref) {

0

dist/entry.nostyle.d.ts

@@ -0,0 +0,0 @@ declare module "react-date-picker/dist/entry.nostyle" {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

{
"name": "react-date-picker",
"version": "8.3.3",
"version": "8.3.4",
"description": "A date picker for your React app.",

@@ -5,0 +5,0 @@ "main": "dist/entry.js",

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ import React from 'react';

@@ -252,5 +252,8 @@ import React, { PureComponent } from 'react';

render() {
const { eventProps } = this;
const { className, disabled } = this.props;
const { isOpen } = this.state;
const { onChange, ...eventPropsWithoutOnChange } = eventProps;
return (

@@ -264,3 +267,3 @@ <div

)}
{...this.eventProps}
{...eventPropsWithoutOnChange}
onFocus={this.onFocus}

@@ -267,0 +270,0 @@ ref={(ref) => {

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ import 'react-calendar/dist/Calendar.css';

import DatePicker from './DatePicker';
export default DatePicker;

@@ -0,0 +0,0 @@ import getUserLocale from 'get-user-locale';

@@ -0,0 +0,0 @@ import {

@@ -0,0 +0,0 @@ import {

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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