@types/react-datepicker
Advanced tools
Comparing version 0.40.2 to 0.46.0
@@ -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>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4910
4
68