rsuite-table
Advanced tools
Comparing version 3.4.4 to 3.4.5
@@ -548,3 +548,3 @@ 'use strict'; | ||
var table = this.table; | ||
var row = table.querySelector('.' + this.addPrefix('row') + ':not(.vitrualized)'); | ||
var row = table.querySelector('.' + this.addPrefix('row') + ':not(.virtualized)'); | ||
var contentWidth = row ? (0, _domLib.getWidth)(row) : 0; | ||
@@ -789,3 +789,3 @@ | ||
wordWrap = _props9.wordWrap, | ||
vitrualized = _props9.vitrualized; | ||
virtualized = _props9.virtualized; | ||
@@ -857,3 +857,3 @@ | ||
if (vitrualized && !wordWrap) { | ||
if (virtualized && !wordWrap) { | ||
if (top + nextRowHeight < minTop) { | ||
@@ -898,5 +898,5 @@ topHideHeight += nextRowHeight; | ||
}, | ||
topHideHeight ? React.createElement(_Row2.default, { style: topRowStyles, className: 'vitrualized' }) : null, | ||
topHideHeight ? React.createElement(_Row2.default, { style: topRowStyles, className: 'virtualized' }) : null, | ||
this._rows, | ||
bottomHideHeight ? React.createElement(_Row2.default, { style: bottomRowStyles, className: 'vitrualized' }) : null | ||
bottomHideHeight ? React.createElement(_Row2.default, { style: bottomRowStyles, className: 'virtualized' }) : null | ||
), | ||
@@ -1051,3 +1051,3 @@ this.renderInfo(), | ||
showHeader: true, | ||
vitrualized: false, | ||
virtualized: false, | ||
rowKey: 'key', | ||
@@ -1059,3 +1059,3 @@ locale: { | ||
}; | ||
Table.handledProps = ['autoHeight', 'bodyRef', 'bordered', 'cellBordered', 'children', 'className', 'classPrefix', 'data', 'defaultExpandAllRows', 'defaultExpandedRowKeys', 'defaultSortType', 'disabledScroll', 'expandedRowKeys', 'headerHeight', 'height', 'hover', 'isTree', 'loadAnimation', 'loading', 'locale', 'minHeight', 'onExpandChange', 'onRowClick', 'onScroll', 'onSortColumn', 'onTouchMove', 'onTouchStart', 'renderRowExpanded', 'renderTreeToggle', 'rowClassName', 'rowExpandedHeight', 'rowHeight', 'rowKey', 'setRowHeight', 'showHeader', 'sortColumn', 'sortType', 'style', 'vitrualized', 'width', 'wordWrap']; | ||
Table.handledProps = ['autoHeight', 'bodyRef', 'bordered', 'cellBordered', 'children', 'className', 'classPrefix', 'data', 'defaultExpandAllRows', 'defaultExpandedRowKeys', 'defaultSortType', 'disabledScroll', 'expandedRowKeys', 'headerHeight', 'height', 'hover', 'isTree', 'loadAnimation', 'loading', 'locale', 'minHeight', 'onExpandChange', 'onRowClick', 'onScroll', 'onSortColumn', 'onTouchMove', 'onTouchStart', 'renderRowExpanded', 'renderTreeToggle', 'rowClassName', 'rowExpandedHeight', 'rowHeight', 'rowKey', 'setRowHeight', 'showHeader', 'sortColumn', 'sortType', 'style', 'virtualized', 'width', 'wordWrap']; | ||
Table.propTypes = { | ||
@@ -1108,3 +1108,3 @@ width: _propTypes2.default.number, | ||
rowClassName: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.func]), | ||
vitrualized: _propTypes2.default.bool | ||
virtualized: _propTypes2.default.bool | ||
}; | ||
@@ -1213,3 +1213,3 @@ | ||
onScroll = _props13.onScroll, | ||
vitrualized = _props13.vitrualized; | ||
virtualized = _props13.virtualized; | ||
@@ -1229,3 +1229,3 @@ if (!_this3.table) { | ||
if (vitrualized) { | ||
if (virtualized) { | ||
_this3.setState({ | ||
@@ -1232,0 +1232,0 @@ isScrolling: true, |
{ | ||
"name": "rsuite-table", | ||
"version": "3.4.4", | ||
"version": "3.4.5", | ||
"description": "A React table component", | ||
@@ -15,3 +15,4 @@ "main": "lib/index.js", | ||
"clean": "rm -rf node_modules/gh-pages/.cache", | ||
"coveralls": "cat ./coverage/lcov/lcov.info | ./node_modules/.bin/coveralls" | ||
"coveralls": "cat ./coverage/lcov/lcov.info | ./node_modules/.bin/coveralls", | ||
"prepublish": "npm run test && npm run build" | ||
}, | ||
@@ -18,0 +19,0 @@ "author": "simonguo.2009@gmail.com", |
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
201982