@types/react-datepicker
Advanced tools
Comparing version 0.62.0 to 1.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for react-datepicker 0.62 | ||
// Type definitions for react-datepicker 1.0 | ||
// Project: https://github.com/Hacker0x01/react-datepicker | ||
@@ -8,2 +8,3 @@ // Definitions by: Rajab Shakirov <https://github.com/radziksh>, | ||
// Roy Xue <https://github.com/royxue> | ||
// Koala Human <https://github.com/KoalaHuman> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -16,2 +17,3 @@ // TypeScript Version: 2.4 | ||
export interface ReactDatePickerProps { | ||
adjustDateOnChange?: boolean; | ||
allowSameDay?: boolean; | ||
@@ -30,3 +32,3 @@ autoComplete?: string; | ||
disabledKeyboardNavigation?: boolean; | ||
dropdownMode?: string; | ||
dropdownMode?: 'scroll' | 'select'; | ||
endDate?: moment.Moment; | ||
@@ -57,2 +59,3 @@ excludeDates?: any[]; | ||
onWeekSelect?(firstDayOfWeek: moment.Moment, weekNumber: string | number, event: React.SyntheticEvent<any> | undefined): void; | ||
onYearChange?(date: moment.Moment): void; | ||
openToDate?: moment.Moment; | ||
@@ -64,2 +67,3 @@ peekNextMonth?: boolean; | ||
popperPlacement?: string; | ||
preventOpenOnFocus?: boolean; | ||
readOnly?: boolean; | ||
@@ -79,2 +83,3 @@ required?: boolean; | ||
useWeekdaysShort?: boolean; | ||
useShortMonthInDropdown?: boolean; | ||
utcOffset?: number; | ||
@@ -81,0 +86,0 @@ value?: string; |
{ | ||
"name": "@types/react-datepicker", | ||
"version": "0.62.0", | ||
"version": "1.0.0", | ||
"description": "TypeScript definitions for react-datepicker", | ||
@@ -31,2 +31,7 @@ "license": "MIT", | ||
"githubUsername": "royxue" | ||
}, | ||
{ | ||
"name": "Koala Human", | ||
"url": "https://github.com/KoalaHuman", | ||
"githubUsername": "KoalaHuman" | ||
} | ||
@@ -44,4 +49,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "626725a335bba305cc95c72ffb9ad11aad8684fdd178d3512e1549e974660df2", | ||
"typesPublisherContentHash": "4507ab41b089f50929a93fb6f3ef53d2352829025e5a6637ae30d7273946a952", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 20 Dec 2017 14:47:51 GMT | ||
* Last updated: Thu, 11 Jan 2018 22:07:40 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>, Greg Smith <https://github.com/smrq>, Platon Pronko <https://github.com/Rogach>, Roy Xue <https://github.com/royxue>. | ||
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>. |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6595
91
1