@types/rc-slider
Advanced tools
Comparing version 8.2.5 to 8.6.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for rc-slider 8.2 | ||
// Type definitions for rc-slider 8.6 | ||
// Project: https://github.com/react-component/slider | ||
@@ -7,2 +7,3 @@ // Definitions by: Marcinkus Mantas <https://github.com/mantasmarcinkus> | ||
// Jacob Froman <https://github.com/j-fro> | ||
// Deanna Veale <https://github.com/Deanna2> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -72,14 +73,2 @@ // TypeScript Version: 2.8 | ||
dots?: boolean; | ||
/** | ||
* onBeforeChange will be triggered when ontouchstart or onmousedown is triggered. | ||
*/ | ||
onBeforeChange?(value: any): any | undefined; | ||
/** | ||
* onChange will be triggered while the value of Slider changing. | ||
*/ | ||
onChange?(value: any): any | undefined; | ||
/** | ||
* onAfterChange will be triggered when ontouchend or onmouseup is triggered. | ||
*/ | ||
onAfterChange?(value: any): any | undefined; | ||
@@ -131,2 +120,14 @@ /** | ||
/** | ||
* onBeforeChange will be triggered when ontouchstart or onmousedown is triggered. | ||
*/ | ||
onBeforeChange?(value: number): void; | ||
/** | ||
* onChange will be triggered while the value of Slider changing. | ||
*/ | ||
onChange?(value: number): void; | ||
/** | ||
* onAfterChange will be triggered when ontouchend or onmouseup is triggered. | ||
*/ | ||
onAfterChange?(value: number): void; | ||
/** | ||
* Set initial value of slider. | ||
@@ -144,2 +145,17 @@ * @default 0 | ||
/** | ||
* onBeforeChange will be triggered when ontouchstart or onmousedown is triggered. | ||
* For prop (count = -1) type returned is [number, undefined]. Bug raised in rc-slider https://github.com/react-component/slider/issues/457 | ||
*/ | ||
onBeforeChange?(value: number[]): void; | ||
/** | ||
* onChange will be triggered while the value of Slider changing. | ||
* For prop (count = -1) type returned is [number, undefined]. Bug raised in rc-slider https://github.com/react-component/slider/issues/457 | ||
*/ | ||
onChange?(value: number[]): void; | ||
/** | ||
* onAfterChange will be triggered when ontouchend or onmouseup is triggered. | ||
* For prop (count = -1) type returned is [number, undefined]. Bug raised in rc-slider https://github.com/react-component/slider/issues/457 | ||
*/ | ||
onAfterChange?(value: number[]): void; | ||
/** | ||
* Set initial positions of handles. | ||
@@ -146,0 +162,0 @@ * @default [0,0] |
{ | ||
"name": "@types/rc-slider", | ||
"version": "8.2.5", | ||
"version": "8.6.0", | ||
"description": "TypeScript definitions for rc-slider", | ||
@@ -26,2 +26,7 @@ "license": "MIT", | ||
"githubUsername": "j-fro" | ||
}, | ||
{ | ||
"name": "Deanna Veale", | ||
"url": "https://github.com/Deanna2", | ||
"githubUsername": "Deanna2" | ||
} | ||
@@ -39,4 +44,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "d052bfc933526dd1f75a54c2000c9ad9f363b949e43a75475f6ee702f79063e6", | ||
"typesPublisherContentHash": "71905651d5dee5495cb40af14e8207e518af552cba6d6a9367a2bd2d1819a4b2", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 04 Aug 2018 00:56:31 GMT | ||
* Last updated: Thu, 23 Aug 2018 17:24:04 GMT | ||
* Dependencies: react, rc-tooltip | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Marcinkus Mantas <https://github.com/mantasmarcinkus>, Alexander Mattoni <https://github.com/mattoni>, Austin Turner <https://github.com/paustint>, Jacob Froman <https://github.com/j-fro>. | ||
These definitions were written by Marcinkus Mantas <https://github.com/mantasmarcinkus>, Alexander Mattoni <https://github.com/mattoni>, Austin Turner <https://github.com/paustint>, Jacob Froman <https://github.com/j-fro>, Deanna Veale <https://github.com/Deanna2>. |
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
9868
191