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

@types/react-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-datepicker - npm Package Compare versions

Comparing version 0.40.2 to 0.46.0

react-datepicker/LICENSE

123

react-datepicker/index.d.ts

@@ -1,65 +0,70 @@

// Type definitions for react-datepicker v0.40.0
// Type definitions for react-datepicker 0.46
// Project: https://github.com/Hacker0x01/react-datepicker
// Definitions by: Rajab Shakirov <https://github.com/radziksh>, Andrey Balokha <https://github.com/andrewBalekha>
// Definitions by: Rajab Shakirov <https://github.com/radziksh>,
// Andrey Balokha <https://github.com/andrewBalekha>,
// Greg Smith <https://github.com/smrq>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
declare module "react-datepicker" {
import * as React from "react";
import * as moment from "moment";
import * as React from "react";
import * as moment from "moment";
interface ReactDatePickerProps {
autoComplete?: string;
autoFocus?: boolean;
className?: string;
customInput?: React.ReactNode;
dateFormat?: string;
dateFormatCalendar?: string;
disabled?: boolean;
dropdownMode?: string;
endDate?: moment.Moment;
excludeDates?: any[];
filterDate?(): any;
fixedHeight?: boolean;
forceShowMonthNavigation?: boolean;
highlightDates?: any[];
id?: string;
includeDates?: any[];
inline?: boolean;
isClearable?: boolean;
locale?: string;
maxDate?: moment.Moment;
minDate?: moment.Moment;
monthsShown?: number;
name?: string;
onBlur?(event: React.FocusEvent<HTMLInputElement>): void;
onChange(date: moment.Moment | null, event: React.SyntheticEvent<any> | undefined): any;
onChangeRaw?(event: React.FocusEvent<HTMLInputElement>): void;
onFocus?(event: React.FocusEvent<HTMLInputElement>): void;
onMonthChange?(date: moment.Moment): void;
openToDate?: moment.Moment;
peekNextMonth?: boolean;
placeholderText?: string;
popoverAttachment?: string;
popoverTargetAttachment?: string;
popoverTargetOffset?: string;
readOnly?: boolean;
renderCalendarTo?: any;
required?: boolean;
scrollableYearDropdown?: boolean;
selected?: moment.Moment | null;
selectsEnd?: boolean;
selectsStart?: boolean;
showMonthDropdown?: boolean;
showYearDropdown?: boolean;
showWeekNumbers?: boolean;
startDate?: moment.Moment;
tabIndex?: number;
tetherConstraints?: any[];
title?: string;
todayButton?: string;
utcOffset?: number;
}
let ReactDatePicker: React.ClassicComponentClass<ReactDatePickerProps>;
export = ReactDatePicker;
interface ReactDatePickerProps {
autoComplete?: string;
autoFocus?: boolean;
calendarClassName?: string;
className?: string;
customInput?: React.ReactNode;
dateFormat?: string | string[];
dateFormatCalendar?: string;
disabled?: boolean;
disabledKeyboardNavigation?: boolean;
dropdownMode?: string;
endDate?: moment.Moment;
excludeDates?: any[];
filterDate?(): any;
fixedHeight?: boolean;
forceShowMonthNavigation?: boolean;
highlightDates?: any[];
id?: string;
includeDates?: any[];
inline?: boolean;
isClearable?: boolean;
locale?: string;
maxDate?: moment.Moment;
minDate?: moment.Moment;
monthsShown?: number;
name?: string;
onBlur?(event: React.FocusEvent<HTMLInputElement>): void;
onChange(date: moment.Moment | null, event: React.SyntheticEvent<any> | undefined): any;
onChangeRaw?(event: React.FocusEvent<HTMLInputElement>): void;
onClickOutside?(event: React.MouseEvent<HTMLDivElement>): void;
onFocus?(event: React.FocusEvent<HTMLInputElement>): void;
onMonthChange?(date: moment.Moment): void;
openToDate?: moment.Moment;
peekNextMonth?: boolean;
placeholderText?: string;
popoverAttachment?: string;
popoverTargetAttachment?: string;
popoverTargetOffset?: string;
readOnly?: boolean;
renderCalendarTo?: any;
required?: boolean;
scrollableYearDropdown?: boolean;
selected?: moment.Moment | null;
selectsEnd?: boolean;
selectsStart?: boolean;
showMonthDropdown?: boolean;
showWeekNumbers?: boolean;
showYearDropdown?: boolean;
startDate?: moment.Moment;
tabIndex?: number;
tetherConstraints?: any[];
title?: string;
todayButton?: string;
utcOffset?: number;
value?: string;
withPortal?: boolean;
}
declare const ReactDatePicker: React.ClassicComponentClass<ReactDatePickerProps>;
export default ReactDatePicker;
{
"name": "@types/react-datepicker",
"version": "0.40.2",
"version": "0.46.0",
"description": "TypeScript definitions for react-datepicker",

@@ -14,2 +14,6 @@ "license": "MIT",

"url": "https://github.com/andrewBalekha"
},
{
"name": "Greg Smith",
"url": "https://github.com/smrq"
}

@@ -28,4 +32,4 @@ ],

"peerDependencies": {},
"typesPublisherContentHash": "87ca74f26f9fbc440fc720b5f2f948b457cb0508f52a97d67ac0d419b61c910b",
"typesPublisherContentHash": "e70e561019c44d6cf9e347fe716f722b3c829e256062ba6c20b9d3e85e8c98ca",
"typeScriptVersion": "2.1"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Fri, 07 Apr 2017 22:26:36 GMT
* Last updated: Wed, 26 Apr 2017 17:34:12 GMT
* Dependencies: react, moment

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Rajab Shakirov <https://github.com/radziksh>, Andrey Balokha <https://github.com/andrewBalekha>.
These definitions were written by Rajab Shakirov <https://github.com/radziksh>, Andrey Balokha <https://github.com/andrewBalekha>, Greg Smith <https://github.com/smrq>.
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