react-virtualized
Advanced tools
Comparing version 10.0.0-alpha.7 to 10.0.0-alpha.8
@@ -502,3 +502,2 @@ 'use strict'; | ||
cellSize = void 0, | ||
estimatedCellSize = void 0, | ||
lastMeasuredIndex = void 0; | ||
@@ -508,3 +507,2 @@ if (cellType === 'column') { | ||
cellSize = props.columnWidth; | ||
estimatedCellSize = instanceProps.estimatedColumnWidth; | ||
lastMeasuredIndex = instanceProps.lastMeasuredColumnIndex; | ||
@@ -514,3 +512,2 @@ } else { | ||
cellSize = props.rowHeight; | ||
estimatedCellSize = instanceProps.estimatedRowHeight; | ||
lastMeasuredIndex = instanceProps.lastMeasuredRowIndex; | ||
@@ -549,11 +546,8 @@ } | ||
var cellMetadataMap = void 0, | ||
estimatedCellSize = void 0, | ||
lastMeasuredIndex = void 0; | ||
if (cellType === 'column') { | ||
cellMetadataMap = instanceProps.columnMetadataMap; | ||
estimatedCellSize = instanceProps.estimatedColumnWidth; | ||
lastMeasuredIndex = instanceProps.lastMeasuredColumnIndex; | ||
} else { | ||
cellMetadataMap = instanceProps.rowMetadataMap; | ||
estimatedCellSize = instanceProps.estimatedRowHeight; | ||
lastMeasuredIndex = instanceProps.lastMeasuredRowIndex; | ||
@@ -633,3 +627,3 @@ } | ||
var DynamicGrid = createGridComponent({ | ||
var VariableSizeGrid = createGridComponent({ | ||
getColumnOffset: function getColumnOffset(props, index, instanceProps) { | ||
@@ -1095,4 +1089,3 @@ return getCellMetadata('column', props, index, instanceProps).offset; | ||
var _ref = props, | ||
cellSize = _ref.cellSize, | ||
estimatedCellSize = _ref.estimatedCellSize; | ||
cellSize = _ref.cellSize; | ||
var cellMetadataMap = instanceProps.cellMetadataMap, | ||
@@ -1128,3 +1121,2 @@ lastMeasuredIndex = instanceProps.lastMeasuredIndex; | ||
var cellMetadataMap = instanceProps.cellMetadataMap, | ||
estimatedCellSize = instanceProps.estimatedCellSize, | ||
lastMeasuredIndex = instanceProps.lastMeasuredIndex; | ||
@@ -1180,3 +1172,3 @@ | ||
var DynamicList = createListComponent({ | ||
var VariableSizeList = createListComponent({ | ||
getCellOffset: function getCellOffset(props, index, instanceProps) { | ||
@@ -1267,4 +1259,3 @@ return getCellMetadata$1(props, index, instanceProps).offset; | ||
var _ref4 = props, | ||
estimatedCellSize = _ref4.estimatedCellSize, | ||
direction = _ref4.direction; | ||
estimatedCellSize = _ref4.estimatedCellSize; | ||
@@ -1514,5 +1505,5 @@ | ||
exports.DynamicGrid = DynamicGrid; | ||
exports.DynamicList = DynamicList; | ||
exports.VariableSizeGrid = VariableSizeGrid; | ||
exports.VariableSizeList = VariableSizeList; | ||
exports.FixedSizeGrid = FixedSizeGrid; | ||
exports.FixedSizeList = FixedSizeList; |
@@ -496,3 +496,2 @@ import React from 'react'; | ||
cellSize = void 0, | ||
estimatedCellSize = void 0, | ||
lastMeasuredIndex = void 0; | ||
@@ -502,3 +501,2 @@ if (cellType === 'column') { | ||
cellSize = props.columnWidth; | ||
estimatedCellSize = instanceProps.estimatedColumnWidth; | ||
lastMeasuredIndex = instanceProps.lastMeasuredColumnIndex; | ||
@@ -508,3 +506,2 @@ } else { | ||
cellSize = props.rowHeight; | ||
estimatedCellSize = instanceProps.estimatedRowHeight; | ||
lastMeasuredIndex = instanceProps.lastMeasuredRowIndex; | ||
@@ -543,11 +540,8 @@ } | ||
var cellMetadataMap = void 0, | ||
estimatedCellSize = void 0, | ||
lastMeasuredIndex = void 0; | ||
if (cellType === 'column') { | ||
cellMetadataMap = instanceProps.columnMetadataMap; | ||
estimatedCellSize = instanceProps.estimatedColumnWidth; | ||
lastMeasuredIndex = instanceProps.lastMeasuredColumnIndex; | ||
} else { | ||
cellMetadataMap = instanceProps.rowMetadataMap; | ||
estimatedCellSize = instanceProps.estimatedRowHeight; | ||
lastMeasuredIndex = instanceProps.lastMeasuredRowIndex; | ||
@@ -627,3 +621,3 @@ } | ||
var DynamicGrid = createGridComponent({ | ||
var VariableSizeGrid = createGridComponent({ | ||
getColumnOffset: function getColumnOffset(props, index, instanceProps) { | ||
@@ -1089,4 +1083,3 @@ return getCellMetadata('column', props, index, instanceProps).offset; | ||
var _ref = props, | ||
cellSize = _ref.cellSize, | ||
estimatedCellSize = _ref.estimatedCellSize; | ||
cellSize = _ref.cellSize; | ||
var cellMetadataMap = instanceProps.cellMetadataMap, | ||
@@ -1122,3 +1115,2 @@ lastMeasuredIndex = instanceProps.lastMeasuredIndex; | ||
var cellMetadataMap = instanceProps.cellMetadataMap, | ||
estimatedCellSize = instanceProps.estimatedCellSize, | ||
lastMeasuredIndex = instanceProps.lastMeasuredIndex; | ||
@@ -1174,3 +1166,3 @@ | ||
var DynamicList = createListComponent({ | ||
var VariableSizeList = createListComponent({ | ||
getCellOffset: function getCellOffset(props, index, instanceProps) { | ||
@@ -1261,4 +1253,3 @@ return getCellMetadata$1(props, index, instanceProps).offset; | ||
var _ref4 = props, | ||
estimatedCellSize = _ref4.estimatedCellSize, | ||
direction = _ref4.direction; | ||
estimatedCellSize = _ref4.estimatedCellSize; | ||
@@ -1508,2 +1499,2 @@ | ||
export { DynamicGrid, DynamicList, FixedSizeGrid, FixedSizeList }; | ||
export { VariableSizeGrid, VariableSizeList, FixedSizeGrid, FixedSizeList }; |
{ | ||
"name": "react-virtualized", | ||
"version": "10.0.0-alpha.7", | ||
"version": "10.0.0-alpha.8", | ||
"main": "index.cjs.js", | ||
@@ -8,2 +8,5 @@ "module": "index.esm.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"memoize-one": "^3.1.1" | ||
}, | ||
"peerDependencies": { | ||
@@ -10,0 +13,0 @@ "react": "^15.3.0 || ^16.0.0-alpha", |
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
0
107361
3
2480
+ Addedmemoize-one@^3.1.1
+ Addedmemoize-one@3.1.1(transitive)