pui-react-table
Advanced tools
Comparing version 8.0.3 to 8.0.4
{ | ||
"name": "pui-react-table", | ||
"version": "8.0.3", | ||
"version": "8.0.4", | ||
"description": "A React component that provides a table that can be sorted by column", | ||
@@ -29,6 +29,6 @@ "main": "table.js", | ||
"lodash.sortby": "^3.1.1", | ||
"pui-css-tables": "=8.0.3", | ||
"pui-react-helpers": "=8.0.3", | ||
"pui-react-iconography": "=8.0.3" | ||
"pui-css-tables": "=8.0.4", | ||
"pui-react-helpers": "=8.0.4", | ||
"pui-react-iconography": "=8.0.4" | ||
} | ||
} |
11
table.js
@@ -318,3 +318,4 @@ /*(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.*/ | ||
var attribute = _ref6.attribute, | ||
CustomCell = _ref6.CustomCell; | ||
CustomCell = _ref6.CustomCell, | ||
cellClass = _ref6.cellClass; | ||
@@ -324,3 +325,3 @@ var Cell = CustomCell || _this9.defaultCell; | ||
Cell, | ||
{ key: key, index: rowKey, value: datum[attribute], rowDatum: datum }, | ||
{ key: key, index: rowKey, value: datum[attribute], className: cellClass, rowDatum: datum }, | ||
datum[attribute] | ||
@@ -348,2 +349,3 @@ ); | ||
displayName = column.displayName, | ||
cellClass = column.cellClass, | ||
_column$headerProps = column.headerProps, | ||
@@ -360,3 +362,3 @@ headerProps = _column$headerProps === undefined ? {} : _column$headerProps; | ||
className = (0, _classnames2.default)(className, headerProps.className); | ||
className = (0, _classnames2.default)(className, headerProps.className, cellClass); | ||
@@ -554,3 +556,4 @@ headerProps = (0, _extends3.default)({}, headerProps, { | ||
data: types.array.isRequired, | ||
defaultSort: types.string | ||
defaultSort: types.string, | ||
cellClass: types.string | ||
}; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
20126
435
1
Updatedpui-css-tables@=8.0.4
Updatedpui-react-helpers@=8.0.4
Updatedpui-react-iconography@=8.0.4