@types/draft-js
Advanced tools
Comparing version 0.10.12 to 0.10.13
@@ -1,2 +0,2 @@ | ||
// Type definitions for Draft.js v0.10.0 | ||
// Type definitions for Draft.js v0.10.1 | ||
// Project: https://facebook.github.io/draft-js/ | ||
@@ -9,2 +9,3 @@ // Definitions by: Dmitry Rogozhny <https://github.com/dmitryrogozhny> | ||
// Willis Plummer <https://github.com/willisplummer> | ||
// Santiago Vilar <https://github.com/smvilar> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -129,7 +130,7 @@ // TypeScript Version: 2.3 | ||
// removing the style from an empty list item. | ||
handleReturn?(e: SyntheticKeyboardEvent): DraftHandleValue, | ||
handleReturn?(e: SyntheticKeyboardEvent, editorState: EditorState): DraftHandleValue, | ||
// Map a key command string provided by your key binding function to a | ||
// specified behavior. | ||
handleKeyCommand?(command: EditorCommand): DraftHandleValue, | ||
handleKeyCommand?(command: EditorCommand, editorState: EditorState): DraftHandleValue, | ||
@@ -141,5 +142,5 @@ // Handle intended text insertion before the insertion occurs. This may be | ||
// quotes. | ||
handleBeforeInput?(chars: string): DraftHandleValue, | ||
handleBeforeInput?(chars: string, editorState: EditorState): DraftHandleValue, | ||
handlePastedText?(text: string, html?: string): DraftHandleValue, | ||
handlePastedText?(text: string, html: string|undefined, editorState: EditorState): DraftHandleValue, | ||
@@ -146,0 +147,0 @@ handlePastedFiles?(files: Array<Blob>): DraftHandleValue, |
{ | ||
"name": "@types/draft-js", | ||
"version": "0.10.12", | ||
"version": "0.10.13", | ||
"description": "TypeScript definitions for Draft.js", | ||
@@ -36,2 +36,7 @@ "license": "MIT", | ||
"githubUsername": "willisplummer" | ||
}, | ||
{ | ||
"name": "Santiago Vilar", | ||
"url": "https://github.com/smvilar", | ||
"githubUsername": "smvilar" | ||
} | ||
@@ -49,4 +54,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "b5eb9d8105d6cd42cc66c63a5d926e7666ce65f3c8e0dabedc2344617e361f92", | ||
"typesPublisherContentHash": "bd05a99e9bee808ad80883f21c21600adc90c6c1547740842bb0185e4552272f", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 31 Aug 2017 21:47:30 GMT | ||
* Last updated: Mon, 18 Sep 2017 21:23:40 GMT | ||
* Dependencies: react, immutable | ||
@@ -17,2 +17,2 @@ * Global values: Draft | ||
# Credits | ||
These definitions were written by Dmitry Rogozhny <https://github.com/dmitryrogozhny>, Eelco Lempsink <https://github.com/eelco>, Yale Cason <https://github.com/ghotiphud>, Ryan Schwers <https://github.com/schwers>, Michael Wu <https://github.com/michael-yx-wu>, Willis Plummer <https://github.com/willisplummer>. | ||
These definitions were written by Dmitry Rogozhny <https://github.com/dmitryrogozhny>, Eelco Lempsink <https://github.com/eelco>, Yale Cason <https://github.com/ghotiphud>, Ryan Schwers <https://github.com/schwers>, Michael Wu <https://github.com/michael-yx-wu>, Willis Plummer <https://github.com/willisplummer>, Santiago Vilar <https://github.com/smvilar>. |
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
47349
822