Skip to content

Commit

Permalink
Version 0.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjordan committed Nov 2, 2017
1 parent 4924419 commit 13ca6c3
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/fixed-data-table-base.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v0.8.4
* FixedDataTable v0.8.5
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion dist/fixed-data-table-base.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v0.8.4
* FixedDataTable v0.8.5
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion dist/fixed-data-table-style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v0.8.4
* FixedDataTable v0.8.5
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion dist/fixed-data-table-style.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v0.8.4
* FixedDataTable v0.8.5
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion dist/fixed-data-table.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v0.8.4
* FixedDataTable v0.8.5
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
13 changes: 10 additions & 3 deletions dist/fixed-data-table.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v0.8.4
* FixedDataTable v0.8.5
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down Expand Up @@ -1816,7 +1816,7 @@ var FixedDataTableRowImpl = function (_React$Component) {
isScrolling: this.props.isScrolling,
height: this.props.height,
cellGroupWrapperHeight: this.props.cellGroupWrapperHeight,
left: -this.props.width + fixedRightColumnsWidth,
offsetLeft: this.props.width - fixedRightColumnsWidth,
width: fixedRightColumnsWidth,
zIndex: 2,
columns: this.props.fixedRightColumns,
Expand Down Expand Up @@ -2799,7 +2799,7 @@ var FixedDataTableRoot = {
Table: _FixedDataTable2.default
};

FixedDataTableRoot.version = '0.8.4';
FixedDataTableRoot.version = '0.8.5';
module.exports = FixedDataTableRoot;

/***/ }),
Expand Down Expand Up @@ -3886,6 +3886,12 @@ var FixedDataTable = (0, _createReactClass2.default)({
totalFixedColumnsWidth += column.props.width;
}

var j;
for (j = 0; j < columnInfo.bodyFixedRightColumns.length; ++j) {
column = columnInfo.bodyFixedRightColumns[j];
totalFixedColumnsWidth += column.props.width;
}

// Convert column index (0 indexed) to scrollable index (0 indexed)
// and clamp to max scrollable index
var scrollableColumnIndex = Math.min(props.scrollToColumn - fixedColumnsCount, columnInfo.bodyScrollableColumns.length - 1);
Expand Down Expand Up @@ -8537,6 +8543,7 @@ var FixedDataTableCellGroup = (0, _createReactClass2.default)({
},
getDefaultProps: function getDefaultProps() /*object*/{
return {
left: 0,
offsetLeft: 0
};
},
Expand Down
2 changes: 1 addition & 1 deletion dist/fixed-data-table.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v0.8.4
* FixedDataTable v0.8.5
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions dist/fixed-data-table.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fixed-data-table-2",
"version": "0.8.4",
"version": "0.8.5",
"description": "A React table component designed to allow presenting thousands of rows of data.",
"main": "main.js",
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/FixedDataTableRoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ var FixedDataTableRoot = {
Table: FixedDataTable,
};

FixedDataTableRoot.version = '0.8.4';
FixedDataTableRoot.version = '0.8.5';
module.exports = FixedDataTableRoot;

0 comments on commit 13ca6c3

Please sign in to comment.