@types/react-datepicker
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -8,3 +8,4 @@ // Type definitions for react-datepicker 1.1 | ||
// Roy Xue <https://github.com/royxue> | ||
// Koala Human <https://github.com/KoalaHuman> | ||
// Koala Human <https://github.com/KoalaHuman> | ||
// Sean Kelley <https://github.com/seansfkelley> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -15,2 +16,3 @@ // TypeScript Version: 2.6 | ||
import * as moment from "moment"; | ||
import * as Popper from "popper.js"; | ||
@@ -23,3 +25,3 @@ export interface ReactDatePickerProps { | ||
calendarClassName?: string; | ||
children?: any; | ||
children?: React.ReactNode; | ||
className?: string; | ||
@@ -35,3 +37,4 @@ customInput?: React.ReactNode; | ||
endDate?: moment.Moment; | ||
excludeDates?: any[]; | ||
excludeDates?: moment.Moment[]; | ||
excludeTimes?: moment.Moment[]; | ||
filterDate?(date: moment.Moment): boolean; | ||
@@ -41,6 +44,6 @@ fixedHeight?: boolean; | ||
formatWeekNumber?(date: moment.Moment): string | number; | ||
highlightDates?: any[]; | ||
highlightDates?: moment.Moment[]; | ||
id?: string; | ||
includeDates?: any[]; | ||
includeTimes?: any[]; | ||
includeDates?: moment.Moment[]; | ||
includeTimes?: moment.Moment[]; | ||
inline?: boolean; | ||
@@ -50,7 +53,9 @@ isClearable?: boolean; | ||
maxDate?: moment.Moment; | ||
maxTime?: moment.Moment; | ||
minDate?: moment.Moment; | ||
minTime?: moment.Moment; | ||
monthsShown?: number; | ||
name?: string; | ||
onBlur?(event: React.FocusEvent<HTMLInputElement>): void; | ||
onChange(date: moment.Moment | null, event: React.SyntheticEvent<any> | undefined): any; | ||
onChange(date: moment.Moment | null, event: React.SyntheticEvent<any> | undefined): void; | ||
onChangeRaw?(event: React.FocusEvent<HTMLInputElement>): void; | ||
@@ -69,3 +74,3 @@ onClickOutside?(event: React.MouseEvent<HTMLDivElement>): void; | ||
popperContainer?(props: { children: React.ReactNode[] }): React.ReactNode; | ||
popperModifiers?: any; | ||
popperModifiers?: Popper.Modifiers; | ||
popperPlacement?: string; | ||
@@ -75,10 +80,13 @@ preventOpenOnFocus?: boolean; | ||
required?: boolean; | ||
scrollableMonthYearDropdown?: boolean; | ||
scrollableYearDropdown?: boolean; | ||
scrollableMonthYearDropdown?: boolean; | ||
selected?: moment.Moment | null; | ||
selectsEnd?: boolean; | ||
selectsStart?: boolean; | ||
shouldCloseOnSelect?: boolean; | ||
showDisabledMonthNavigation?: boolean; | ||
showMonthDropdown?: boolean; | ||
showMonthYearDropdown?: boolean; | ||
showTimeSelect?: boolean; | ||
showTimeSelectOnly?: boolean; | ||
showWeekNumbers?: boolean; | ||
@@ -89,6 +97,8 @@ showYearDropdown?: boolean; | ||
tabIndex?: number; | ||
timeFormat?: string; | ||
timeIntervals?: number; | ||
title?: string; | ||
todayButton?: string; | ||
useShortMonthInDropdown?: boolean; | ||
useWeekdaysShort?: boolean; | ||
useShortMonthInDropdown?: boolean; | ||
utcOffset?: number; | ||
@@ -99,12 +109,4 @@ value?: string; | ||
yearDropdownItemNumber?: number; | ||
shouldCloseOnSelect?: boolean; | ||
showTimeSelect?: boolean; | ||
showTimeSelectOnly?: boolean; | ||
timeFormat?: string; | ||
timeIntervals?: number; | ||
minTime?: moment.Moment; | ||
maxTime?: moment.Moment; | ||
excludeTimes?: any[]; | ||
} | ||
declare const ReactDatePicker: React.ClassicComponentClass<ReactDatePickerProps>; | ||
export default ReactDatePicker; |
{ | ||
"name": "@types/react-datepicker", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "TypeScript definitions for react-datepicker", | ||
@@ -36,2 +36,7 @@ "license": "MIT", | ||
"githubUsername": "KoalaHuman" | ||
}, | ||
{ | ||
"name": "Sean Kelley", | ||
"url": "https://github.com/seansfkelley", | ||
"githubUsername": "seansfkelley" | ||
} | ||
@@ -47,6 +52,7 @@ ], | ||
"moment": ">=2.14.0", | ||
"popper.js": "^1.14.1", | ||
"@types/react": "*" | ||
}, | ||
"typesPublisherContentHash": "ec0615696fb22c0451a070e5efd811016cb13b06ebbcc5b5500c865033b1ed09", | ||
"typesPublisherContentHash": "173ebe67bdab3d6cc64bf3107504a255fd6d455c8796245273e8d7a22f5326e0", | ||
"typeScriptVersion": "2.6" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 23 Jun 2018 00:22:09 GMT | ||
* Dependencies: react, moment | ||
* Last updated: Sat, 30 Jun 2018 02:47:51 GMT | ||
* Dependencies: react, moment, popper.js | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Rajab Shakirov <https://github.com/radziksh>, Andrey Balokha <https://github.com/andrewBalekha>, Greg Smith <https://github.com/smrq>, Platon Pronko <https://github.com/Rogach>, Roy Xue <https://github.com/royxue>, Koala Human <https://github.com/KoalaHuman>. | ||
These definitions were written by Rajab Shakirov <https://github.com/radziksh>, Andrey Balokha <https://github.com/andrewBalekha>, Greg Smith <https://github.com/smrq>, Platon Pronko <https://github.com/Rogach>, Roy Xue <https://github.com/royxue>, Koala Human <https://github.com/KoalaHuman>, Sean Kelley <https://github.com/seansfkelley>. |
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
7285
100
3
+ Addedpopper.js@^1.14.1
+ Addedpopper.js@1.16.1(transitive)