@types/react-virtualized
Advanced tools
Comparing version 9.4.0-next.0 to 9.4.0
@@ -1,1 +0,1 @@ | ||
export * from '../es/ArrowKeyStepper'; | ||
export * from '../es/ArrowKeyStepper'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/AutoSizer'; | ||
export * from '../es/AutoSizer'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/CellMeasurer'; | ||
export * from '../es/CellMeasurer'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/Collection'; | ||
export * from '../es/Collection'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/ColumnSizer'; | ||
export * from '../es/ColumnSizer'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/Grid'; | ||
export * from '../es/Grid'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/InfiniteLoader'; | ||
export * from '../es/InfiniteLoader'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/List'; | ||
export * from '../es/List'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/Masonry'; | ||
export * from '../es/Masonry'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/MultiGrid'; | ||
export * from '../es/MultiGrid'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/ScrollSync'; | ||
export * from '../es/ScrollSync'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/Table'; | ||
export * from '../es/Table'; |
@@ -1,1 +0,1 @@ | ||
export * from '../es/WindowScroller'; | ||
export * from '../es/WindowScroller'; |
@@ -22,6 +22,6 @@ import { PropTypes, PureComponent, Validator, Requireable } from 'react' | ||
/** | ||
* Function responsible for rendering children. | ||
* This function should implement the following signature: | ||
* ({ height, width }) => PropTypes.element | ||
*/ | ||
* Function responsible for rendering children. | ||
* This function should implement the following signature: | ||
* ({ height, width }) => PropTypes.element | ||
*/ | ||
children: Validator<(props: Dimensions) => React.ReactNode>, | ||
@@ -40,3 +40,3 @@ | ||
static defaultProps: { | ||
onResize: () => { } | ||
onResize: () => {} | ||
}; | ||
@@ -43,0 +43,0 @@ |
@@ -78,12 +78,12 @@ import { Validator, Requireable, PureComponent } from 'react' | ||
/** | ||
* This method returns the size and position for the cell at the specified index. | ||
* It just-in-time calculates (or used cached values) for cells leading up to the index. | ||
*/ | ||
* This method returns the size and position for the cell at the specified index. | ||
* It just-in-time calculates (or used cached values) for cells leading up to the index. | ||
*/ | ||
getSizeAndPositionOfCell(index: number): SizeAndPositionData; | ||
getSizeAndPositionOfLastMeasuredCell(): SizeAndPositionData; | ||
/** | ||
* Total size of all cells being measured. | ||
* This value will be completedly estimated initially. | ||
* As cells as measured the estimate will be updated. | ||
*/ | ||
* Total size of all cells being measured. | ||
* This value will be completedly estimated initially. | ||
* As cells as measured the estimate will be updated. | ||
*/ | ||
getTotalSize(): number; | ||
@@ -206,3 +206,3 @@ /** | ||
*/ | ||
cellRenderer: Validator< (props: GridCellProps) => React.ReactNode>, | ||
cellRenderer: Validator<(props: GridCellProps) => React.ReactNode>, | ||
@@ -463,2 +463,2 @@ /** | ||
export const defaultCellRangeRenderer: GridCellRangeRenderer; | ||
export const defaultCellRangeRenderer: GridCellRangeRenderer; |
@@ -86,3 +86,2 @@ import { PureComponent, Validator, Requireable } from 'react' | ||
export class Masonry extends PureComponent<MasonryProps, MasonryState> { | ||
static defaultProps: { | ||
@@ -144,4 +143,4 @@ autoHeight: false, | ||
export type Positioner = ((index: number) => Position) & {reset: (params: resetParams) => void}; | ||
export type Positioner = ((index: number) => Position) & { reset: (params: resetParams) => void }; | ||
export const createCellPositioner: (params: createCellPositionerParams) => Positioner; | ||
export const createCellPositioner: (params: createCellPositionerParams) => Positioner; |
@@ -51,2 +51,2 @@ import { PureComponent, Validator, Requireable } from 'react' | ||
render(): JSX.Element; | ||
} | ||
} |
@@ -36,3 +36,3 @@ import { Validator, Requireable, PureComponent, Component } from 'react'; | ||
className: string, | ||
columns: Array<any>, | ||
columns: any[], | ||
index: number, | ||
@@ -202,3 +202,3 @@ isScrolling: boolean, | ||
export const defaultTableCellRenderer: TableCellRenderer; | ||
export const defaultTableHeaderRenderer: () => React.ReactElement<TableHeaderProps>[]; | ||
export const defaultTableHeaderRenderer: () => Array<React.ReactElement<TableHeaderProps>>; | ||
export const defaultTableHeaderRowRenderer: TableHeaderRowRenderer; | ||
@@ -291,5 +291,5 @@ export const defaultTableRowRenderer: TableRowRenderer; | ||
/** | ||
* Optional callback when a column's header is clicked. | ||
* ({ columnData: any, dataKey: string }): void | ||
*/ | ||
* Optional callback when a column's header is clicked. | ||
* ({ columnData: any, dataKey: string }): void | ||
*/ | ||
onHeaderClick: Requireable<(params: HeaderMouseEventHandlerParams) => void>, | ||
@@ -296,0 +296,0 @@ |
@@ -167,2 +167,2 @@ // Type definitions for react-virtualized 9.4 | ||
scrollTop: number | ||
} | ||
} |
{ | ||
"name": "@types/react-virtualized", | ||
"version": "9.4.0-next.0", | ||
"version": "9.4.0", | ||
"description": "TypeScript definitions for react-virtualized", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "e29575162aa69c4beac1567d5785cb26c500358a92b78271ff513af6ee50f1a8", | ||
"typesPublisherContentHash": "8894155e1726aa28dfe52c204379513be07bf4331f382e7d95abc8c5b9de8e8f", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/react-virtualized | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized | ||
Additional Details | ||
* Last updated: Thu, 30 Mar 2017 18:38:56 GMT | ||
* Last updated: Thu, 30 Mar 2017 20:16:41 GMT | ||
* Dependencies: react | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
68190
1698
1
0