@types/react-virtualized
Advanced tools
Comparing version 9.21.29 to 9.21.30
@@ -1,3 +0,2 @@ | ||
import * as PropTypes from "prop-types"; | ||
import { PureComponent, Requireable, Validator } from "react"; | ||
import { PureComponent } from "react"; | ||
import { RenderedSection } from "./Grid"; | ||
@@ -4,0 +3,0 @@ |
@@ -1,3 +0,2 @@ | ||
import * as PropTypes from "prop-types"; | ||
import { JSX, PureComponent, Requireable, Validator } from "react"; | ||
import { JSX, PureComponent } from "react"; | ||
@@ -4,0 +3,0 @@ export type Size = { |
@@ -1,2 +0,3 @@ | ||
import { JSX, PureComponent, Requireable, Validator } from "react"; | ||
import type * as PropTypes from "prop-types"; | ||
import { JSX, PureComponent } from "react"; | ||
import { | ||
@@ -131,8 +132,8 @@ Alignment, | ||
static propTypes: { | ||
"aria-label": Requireable<string>; | ||
cellCount: Validator<number>; | ||
cellGroupRenderer: Validator<CollectionCellGroupRenderer>; | ||
cellRenderer: Validator<CollectionCellRenderer>; | ||
cellSizeAndPositionGetter: Validator<CollectionCellSizeAndPositionGetter>; | ||
sectionSize: Requireable<number>; | ||
"aria-label": PropTypes.Requireable<string>; | ||
cellCount: PropTypes.Validator<number>; | ||
cellGroupRenderer: PropTypes.Validator<CollectionCellGroupRenderer>; | ||
cellRenderer: PropTypes.Validator<CollectionCellRenderer>; | ||
cellSizeAndPositionGetter: PropTypes.Validator<CollectionCellSizeAndPositionGetter>; | ||
sectionSize: PropTypes.Requireable<number>; | ||
}; | ||
@@ -139,0 +140,0 @@ |
@@ -1,2 +0,3 @@ | ||
import { PureComponent, Requireable, Validator } from "react"; | ||
import type * as PropTypes from "prop-types"; | ||
import { PureComponent } from "react"; | ||
@@ -43,7 +44,7 @@ export type SizedColumnProps = { | ||
static propTypes: { | ||
children: Validator<(props: SizedColumnProps) => React.ReactNode>; | ||
columnMaxWidth: Requireable<number>; | ||
columnMinWidth: Requireable<number>; | ||
columnCount: Validator<number>; | ||
width: Validator<number>; | ||
children: PropTypes.Validator<(props: SizedColumnProps) => React.ReactNode>; | ||
columnMaxWidth: PropTypes.Requireable<number>; | ||
columnMinWidth: PropTypes.Requireable<number>; | ||
columnCount: PropTypes.Validator<number>; | ||
width: PropTypes.Validator<number>; | ||
}; | ||
@@ -50,0 +51,0 @@ } |
@@ -1,6 +0,4 @@ | ||
import { Component, PureComponent, Requireable, Validator } from "react"; | ||
import { PureComponent } from "react"; | ||
import { Alignment, Index, Map, OverscanIndexRange } from "../../index"; | ||
import { CellMeasurerCache, CellMeasurerCacheInterface, MeasuredCellParent } from "./CellMeasurer"; | ||
import { List } from "./List"; | ||
import { Table } from "./Table"; | ||
@@ -7,0 +5,0 @@ export type RenderedSection = { |
@@ -1,2 +0,3 @@ | ||
import { PureComponent, Requireable, Validator } from "react"; | ||
import type * as PropTypes from "prop-types"; | ||
import { PureComponent } from "react"; | ||
import { Index, IndexRange } from "../../index"; | ||
@@ -64,8 +65,8 @@ | ||
static propTypes: { | ||
children: Validator<(props: InfiniteLoaderChildProps) => React.ReactNode>; | ||
isRowLoaded: Validator<(params: Index) => boolean>; | ||
loadMoreRows: Validator<(params: IndexRange) => Promise<any>>; | ||
minimumBatchSize: Validator<number>; | ||
rowCount: Validator<number>; | ||
threshold: Validator<number>; | ||
children: PropTypes.Validator<(props: InfiniteLoaderChildProps) => React.ReactNode>; | ||
isRowLoaded: PropTypes.Validator<(params: Index) => boolean>; | ||
loadMoreRows: PropTypes.Validator<(params: IndexRange) => Promise<any>>; | ||
minimumBatchSize: PropTypes.Validator<number>; | ||
rowCount: PropTypes.Validator<number>; | ||
threshold: PropTypes.Validator<number>; | ||
}; | ||
@@ -72,0 +73,0 @@ |
@@ -1,5 +0,4 @@ | ||
import { PureComponent, Requireable, Validator } from "react"; | ||
import { PureComponent } from "react"; | ||
import { IndexRange } from "../../index"; | ||
import { CellMeasurerCacheInterface, KeyMapper, MeasuredCellParent } from "./CellMeasurer"; | ||
import { GridCellRenderer } from "./Grid"; | ||
/** | ||
@@ -6,0 +5,0 @@ * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress. |
@@ -1,2 +0,3 @@ | ||
import { PureComponent, Requireable, Validator } from "react"; | ||
import type * as PropTypes from "prop-types"; | ||
import { PureComponent } from "react"; | ||
import { CellPosition } from "./CellMeasurer"; | ||
@@ -35,15 +36,15 @@ import { GridProps } from "./Grid"; | ||
static propTypes: { | ||
classNameBottomLeftGrid: Validator<string>; | ||
classNameBottomRightGrid: Validator<string>; | ||
classNameTopLeftGrid: Validator<string>; | ||
classNameTopRightGrid: Validator<string>; | ||
enableFixedColumnScroll: Validator<boolean>; | ||
enableFixedRowScroll: Validator<boolean>; | ||
fixedColumnCount: Validator<number>; | ||
fixedRowCount: Validator<number>; | ||
style: Validator<React.CSSProperties>; | ||
styleBottomLeftGrid: Validator<React.CSSProperties>; | ||
styleBottomRightGrid: Validator<React.CSSProperties>; | ||
styleTopLeftGrid: Validator<React.CSSProperties>; | ||
styleTopRightGrid: Validator<React.CSSProperties>; | ||
classNameBottomLeftGrid: PropTypes.Validator<string>; | ||
classNameBottomRightGrid: PropTypes.Validator<string>; | ||
classNameTopLeftGrid: PropTypes.Validator<string>; | ||
classNameTopRightGrid: PropTypes.Validator<string>; | ||
enableFixedColumnScroll: PropTypes.Validator<boolean>; | ||
enableFixedRowScroll: PropTypes.Validator<boolean>; | ||
fixedColumnCount: PropTypes.Validator<number>; | ||
fixedRowCount: PropTypes.Validator<number>; | ||
style: PropTypes.Validator<React.CSSProperties>; | ||
styleBottomLeftGrid: PropTypes.Validator<React.CSSProperties>; | ||
styleBottomRightGrid: PropTypes.Validator<React.CSSProperties>; | ||
styleTopLeftGrid: PropTypes.Validator<React.CSSProperties>; | ||
styleTopRightGrid: PropTypes.Validator<React.CSSProperties>; | ||
}; | ||
@@ -50,0 +51,0 @@ |
@@ -1,2 +0,3 @@ | ||
import { PureComponent, Requireable, Validator } from "react"; | ||
import type * as PropTypes from "prop-types"; | ||
import { PureComponent } from "react"; | ||
@@ -53,3 +54,3 @@ export type OnScrollParams = { | ||
static propTypes: { | ||
children: Validator<(props: ScrollSyncChildProps) => React.ReactNode>; | ||
children: PropTypes.Validator<(props: ScrollSyncChildProps) => React.ReactNode>; | ||
}; | ||
@@ -56,0 +57,0 @@ } |
@@ -1,2 +0,3 @@ | ||
import { Component, JSX, PureComponent, ReactNode, Requireable, Validator } from "react"; | ||
import type * as PropTypes from "prop-types"; | ||
import { Component, JSX, PureComponent, ReactNode } from "react"; | ||
import { Alignment, Index, IndexRange, OverscanIndexRange, ScrollEventData } from "../../index"; | ||
@@ -147,19 +148,19 @@ import { CellMeasurerCache } from "./CellMeasurer"; | ||
static propTypes: { | ||
"aria-label": Requireable<string>; | ||
cellDataGetter: Requireable<TableCellDataGetter>; | ||
cellRenderer: Requireable<TableCellRenderer>; | ||
className: Requireable<string>; | ||
columnData: Requireable<object>; | ||
dataKey: Validator<string>; | ||
disableSort: Requireable<boolean>; | ||
flexGrow: Requireable<number>; | ||
flexShrink: Requireable<number>; | ||
headerClassName: Requireable<string>; | ||
headerRenderer: Validator<TableHeaderRowRenderer>; | ||
label: Requireable<string>; | ||
maxWidth: Requireable<number>; | ||
minWidth: Requireable<number>; | ||
style: Requireable<React.CSSProperties>; | ||
width: Validator<number>; | ||
id: Requireable<string>; | ||
"aria-label": PropTypes.Requireable<string>; | ||
cellDataGetter: PropTypes.Requireable<TableCellDataGetter>; | ||
cellRenderer: PropTypes.Requireable<TableCellRenderer>; | ||
className: PropTypes.Requireable<string>; | ||
columnData: PropTypes.Requireable<object>; | ||
dataKey: PropTypes.Validator<string>; | ||
disableSort: PropTypes.Requireable<boolean>; | ||
flexGrow: PropTypes.Requireable<number>; | ||
flexShrink: PropTypes.Requireable<number>; | ||
headerClassName: PropTypes.Requireable<string>; | ||
headerRenderer: PropTypes.Validator<TableHeaderRowRenderer>; | ||
label: PropTypes.Requireable<string>; | ||
maxWidth: PropTypes.Requireable<number>; | ||
minWidth: PropTypes.Requireable<number>; | ||
style: PropTypes.Requireable<React.CSSProperties>; | ||
width: PropTypes.Validator<number>; | ||
id: PropTypes.Requireable<string>; | ||
}; | ||
@@ -368,40 +369,40 @@ | ||
static propTypes: { | ||
"aria-label": Requireable<string>; | ||
autoHeight: Requireable<boolean>; | ||
children: Validator<Column>; | ||
className: Requireable<string>; | ||
disableHeader: Requireable<boolean>; | ||
estimatedRowSize: Validator<number>; | ||
gridClassName: Requireable<string>; | ||
gridStyle: Requireable<React.CSSProperties>; | ||
headerClassName: Requireable<string>; | ||
headerHeight: Validator<number>; | ||
headerRowRenderer: Requireable<TableHeaderRowRenderer>; | ||
headerStyle: Requireable<React.CSSProperties>; | ||
height: Validator<number>; | ||
id: Requireable<string>; | ||
noRowsRenderer: Requireable<() => JSX.Element>; | ||
onHeaderClick: Requireable<(params: HeaderMouseEventHandlerParams) => void>; | ||
onRowClick: Requireable<(params: RowMouseEventHandlerParams) => void>; | ||
onRowDoubleClick: Requireable<(params: RowMouseEventHandlerParams) => void>; | ||
onRowMouseOut: Requireable<(params: RowMouseEventHandlerParams) => void>; | ||
onRowMouseOver: Requireable<(params: RowMouseEventHandlerParams) => void>; | ||
onRowsRendered: Requireable<(params: IndexRange & OverscanIndexRange) => void>; | ||
onScroll: Requireable<(params: ScrollEventData) => void>; | ||
overscanRowCount: Validator<number>; | ||
rowClassName: Requireable<string | ((params: Index) => string)>; | ||
rowGetter: Validator<(params: Index) => any>; | ||
rowHeight: Validator<number | ((params: Index) => number)>; | ||
rowCount: Validator<number>; | ||
rowRenderer: Requireable<(props: TableRowProps) => React.ReactNode>; | ||
rowStyle: Validator<React.CSSProperties | ((params: Index) => React.CSSProperties)>; | ||
scrollToAlignment: Validator<Alignment>; | ||
scrollToIndex: Validator<number>; | ||
scrollTop: Requireable<number>; | ||
sort: Requireable<(params: { sortBy: string; sortDirection: SortDirectionType }) => void>; | ||
sortBy: Requireable<string>; | ||
sortDirection: Validator<SortDirectionType>; | ||
style: Requireable<React.CSSProperties>; | ||
tabIndex: Requireable<number>; | ||
width: Validator<number>; | ||
"aria-label": PropTypes.Requireable<string>; | ||
autoHeight: PropTypes.Requireable<boolean>; | ||
children: PropTypes.Validator<Column>; | ||
className: PropTypes.Requireable<string>; | ||
disableHeader: PropTypes.Requireable<boolean>; | ||
estimatedRowSize: PropTypes.Validator<number>; | ||
gridClassName: PropTypes.Requireable<string>; | ||
gridStyle: PropTypes.Requireable<React.CSSProperties>; | ||
headerClassName: PropTypes.Requireable<string>; | ||
headerHeight: PropTypes.Validator<number>; | ||
headerRowRenderer: PropTypes.Requireable<TableHeaderRowRenderer>; | ||
headerStyle: PropTypes.Requireable<React.CSSProperties>; | ||
height: PropTypes.Validator<number>; | ||
id: PropTypes.Requireable<string>; | ||
noRowsRenderer: PropTypes.Requireable<() => JSX.Element>; | ||
onHeaderClick: PropTypes.Requireable<(params: HeaderMouseEventHandlerParams) => void>; | ||
onRowClick: PropTypes.Requireable<(params: RowMouseEventHandlerParams) => void>; | ||
onRowDoubleClick: PropTypes.Requireable<(params: RowMouseEventHandlerParams) => void>; | ||
onRowMouseOut: PropTypes.Requireable<(params: RowMouseEventHandlerParams) => void>; | ||
onRowMouseOver: PropTypes.Requireable<(params: RowMouseEventHandlerParams) => void>; | ||
onRowsRendered: PropTypes.Requireable<(params: IndexRange & OverscanIndexRange) => void>; | ||
onScroll: PropTypes.Requireable<(params: ScrollEventData) => void>; | ||
overscanRowCount: PropTypes.Validator<number>; | ||
rowClassName: PropTypes.Requireable<string | ((params: Index) => string)>; | ||
rowGetter: PropTypes.Validator<(params: Index) => any>; | ||
rowHeight: PropTypes.Validator<number | ((params: Index) => number)>; | ||
rowCount: PropTypes.Validator<number>; | ||
rowRenderer: PropTypes.Requireable<(props: TableRowProps) => React.ReactNode>; | ||
rowStyle: PropTypes.Validator<React.CSSProperties | ((params: Index) => React.CSSProperties)>; | ||
scrollToAlignment: PropTypes.Validator<Alignment>; | ||
scrollToIndex: PropTypes.Validator<number>; | ||
scrollTop: PropTypes.Requireable<number>; | ||
sort: PropTypes.Requireable<(params: { sortBy: string; sortDirection: SortDirectionType }) => void>; | ||
sortBy: PropTypes.Requireable<string>; | ||
sortDirection: PropTypes.Validator<SortDirectionType>; | ||
style: PropTypes.Requireable<React.CSSProperties>; | ||
tabIndex: PropTypes.Requireable<number>; | ||
width: PropTypes.Validator<number>; | ||
}; | ||
@@ -408,0 +409,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { PureComponent, Requireable, Validator } from "react"; | ||
import { PureComponent } from "react"; | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@types/react-virtualized", | ||
"version": "9.21.29", | ||
"version": "9.21.30", | ||
"description": "TypeScript definitions for react-virtualized", | ||
@@ -56,4 +56,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized", | ||
}, | ||
"typesPublisherContentHash": "08bc29b7f4285c992d2aa9f65d93d15fdb8c905a896b39ee9ad59417d4e676c4", | ||
"typeScriptVersion": "4.6" | ||
"typesPublisherContentHash": "7c9281eb92aee6ab97a4cdad506d1d419f130e2eb6d3e78e03e42659daca0f6f", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 06 Dec 2023 07:07:09 GMT | ||
* Last updated: Wed, 10 Apr 2024 09:08:16 GMT | ||
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ |
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
77120
1839