@desynova-digital/components 8.19.45 → 8.19.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/molecules/table/table.js +6 -2
- package/package.json +2 -2
package/molecules/table/table.js
CHANGED
|
@@ -465,7 +465,11 @@ var Table = function (_Component) {
|
|
|
465
465
|
if (item[column.field] || column.percentageField && column.percentageField.field && item[column.percentageField.field]) {
|
|
466
466
|
return _react2.default.createElement(
|
|
467
467
|
_label2.default,
|
|
468
|
-
{
|
|
468
|
+
{
|
|
469
|
+
percentageStatus: column.percentageField && column.percentageField.field && item[column.percentageField.field],
|
|
470
|
+
percentageField: column.percentageField,
|
|
471
|
+
status: item[column.field]
|
|
472
|
+
},
|
|
469
473
|
item[column.field]
|
|
470
474
|
);
|
|
471
475
|
}
|
|
@@ -1652,7 +1656,7 @@ Table.Cell = _styledComponents2.default.td(_templateObject10, function (props) {
|
|
|
1652
1656
|
}, function (props) {
|
|
1653
1657
|
return props.column.width;
|
|
1654
1658
|
}, function (props) {
|
|
1655
|
-
return props.maxWidth ||
|
|
1659
|
+
return props.maxWidth || "175px";
|
|
1656
1660
|
}, function (props) {
|
|
1657
1661
|
return _tokens.colors[props.theme].table.innerTableBackground;
|
|
1658
1662
|
});
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/components",
|
|
3
|
-
"version": "8.19.
|
|
3
|
+
"version": "8.19.46",
|
|
4
4
|
"description": "Components for Desynova Digital",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "desynova-digital",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": "desynova-digital",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@desynova-digital/tokens": "8.19.
|
|
10
|
+
"@desynova-digital/tokens": "8.19.46",
|
|
11
11
|
"prop-types": "^15.7.2",
|
|
12
12
|
"styled-components": "^4.3.2"
|
|
13
13
|
},
|