Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/rc-slider

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rc-slider - npm Package Compare versions

Comparing version 8.2.5 to 8.6.0

42

rc-slider/index.d.ts

@@ -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>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc