Skip to content

Commit

Permalink
Version 0.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamran Asif committed Oct 13, 2016
1 parent 104df1b commit 7909fae
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 22 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.7.5
* FixedDataTable v0.7.6
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion dist/fixed-data-table-base.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.7.5
* FixedDataTable v0.7.6
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion dist/fixed-data-table-style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.7.5
* FixedDataTable v0.7.6
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down
29 changes: 19 additions & 10 deletions dist/fixed-data-table.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v0.7.5
* FixedDataTable v0.7.6
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down Expand Up @@ -208,7 +208,7 @@ return /******/ (function(modules) { // webpackBootstrap
Table: _FixedDataTable2.default
};

FixedDataTableRoot.version = '0.7.5';
FixedDataTableRoot.version = '0.7.6';
module.exports = FixedDataTableRoot;

/***/ },
Expand Down Expand Up @@ -1062,15 +1062,15 @@ return /******/ (function(modules) { // webpackBootstrap
}

var lastScrollToRow = oldState ? oldState.scrollToRow : undefined;
if (props.scrollToRow !== lastScrollToRow) {
if (props.scrollToRow != null && props.scrollToRow !== lastScrollToRow) {
scrollState = this._scrollHelper.scrollRowIntoView(props.scrollToRow);
firstRowIndex = scrollState.index;
firstRowOffset = scrollState.offset;
scrollY = scrollState.position;
}

var lastScrollTop = oldState ? oldState.scrollTop : undefined;
if (props.scrollTop !== lastScrollTop) {
if (props.scrollTop != null && props.scrollTop !== lastScrollTop) {
scrollState = this._scrollHelper.scrollTo(props.scrollTop);
firstRowIndex = scrollState.index;
firstRowOffset = scrollState.offset;
Expand Down Expand Up @@ -5928,7 +5928,17 @@ return /******/ (function(modules) { // webpackBootstrap
* Optional prop that if specified on the `Column` will be passed to the
* cell. It can be used to uniquely identify which column is the cell is in.
*/
columnKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
columnKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),

/**
* Optional prop that represents the rows index in the table.
* For the 'cell' prop of a Column, this parameter will exist for any
* cell in a row with a positive index.
*
* Below that entry point the user is welcome to consume or
* pass the prop through at their discretion.
*/
rowIndex: PropTypes.number
},

render: function render() {
Expand Down Expand Up @@ -7170,15 +7180,14 @@ return /******/ (function(modules) { // webpackBootstrap

'use strict';

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };

var hasOwnProperty = Object.prototype.hasOwnProperty;

/**
* Performs equality by iterating through keys on an object and returning false
* when any key has values which are not strictly equal between the arguments.
* Returns true when the values of all keys are strictly equal.
*/

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };

function shallowEqual(objA, objB) {
if (objA === objB) {
return true;
Expand All @@ -7196,7 +7205,7 @@ return /******/ (function(modules) { // webpackBootstrap
}

// Test for A's keys different from B.
var bHasOwnProperty = hasOwnProperty.bind(objB);
var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);
for (var i = 0; i < keysA.length; i++) {
if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion dist/fixed-data-table.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 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.7.5",
"version": "0.7.6",
"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.7.5';
FixedDataTableRoot.version = '0.7.6';
module.exports = FixedDataTableRoot;

0 comments on commit 7909fae

Please sign in to comment.