New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-window

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-window - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

33

react-window/index.d.ts

@@ -19,3 +19,5 @@ // Type definitions for react-window 1.7

export type Direction = "vertical" | "horizontal";
export type CSSDirection = "ltr" | "rtl";
export type Direction = "vertical" | "horizontal"; // TODO: deprecate in favour of Layout
export type Layout = "vertical" | "horizontal";
export type ScrollDirection = "forward" | "backward";

@@ -140,11 +142,22 @@ export type Align = "auto" | "center" | "end" | "start";

/**
* Primary scroll direction of the list. Acceptable values are:
* Determines the direction of text and horizontal scrolling.
*
* - vertical (default) - Up/down scrolling.
* - horizontal - Left/right scrolling.
* This property also automatically sets the CSS direction style for the list component.
*
* Note that lists may scroll in both directions (depending on CSS) but content will only be windowed in the primary direction.
* Specifying "horizontal" or "vertical" for this value is deprecated. Use "layout" prop instead.
*
* @default "ltr"
*/
direction?: Direction;
direction?: CSSDirection | Direction;
/**
* Layout/orientation of the list.
*
* Acceptable values are:
* - "vertical" (default) - Up/down scrolling.
* - "horizontal" - Left/right scrolling.
*
* Note that lists may scroll in both directions (depending on CSS) but content will only be windowed in the layout direction specified.
*/
layout?: Layout;
/**
* Scroll offset for initial render.

@@ -220,2 +233,10 @@ *

/**
* Determines the direction of text and horizontal scrolling.
*
* This property also automatically sets the CSS direction style for the grid component.
*
* @default "ltr"
*/
direction?: CSSDirection;
/**
* Height of the grid. This affects the number of rows that will be rendered (and displayed) at any given time.

@@ -222,0 +243,0 @@ */

4

react-window/package.json
{
"name": "@types/react-window",
"version": "1.7.0",
"version": "1.7.1",
"description": "TypeScript definitions for react-window",

@@ -34,4 +34,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "18391f33700fe6cc03241fa17b99656c7721639dc4c7e6935fda9b5900cd2084",
"typesPublisherContentHash": "b5d7b180bb0fb8445319d037ce88980b9430a3dd5d27525234f6d0a71cbe038c",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 18 Mar 2019 19:46:56 GMT
* Last updated: Tue, 02 Apr 2019 23:58:14 GMT
* Dependencies: @types/react

@@ -14,0 +14,0 @@ * Global values: none

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