@symply.io/basic-components 1.1.2-beta.7 → 1.1.2-beta.9

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.
@@ -28,7 +28,7 @@ function TableBodyRow(props) {
28
28
  return (_jsxs(TableRow, __assign({ sx: {
29
29
  "&:hover": {
30
30
  cursor: onRowClick ? "pointer" : "default",
31
- backgroundColor: onRowClick ? "#f9f9f9" : "#fefefe"
31
+ backgroundColor: onRowClick ? "#F2F1F3" : "#FEFEFE"
32
32
  }
33
33
  }, onMouseEnter: function (event) {
34
34
  setRowEl(event.currentTarget);
@@ -48,7 +48,7 @@ function TableBodyRow(props) {
48
48
  left: left,
49
49
  position: "sticky",
50
50
  zIndex: 10,
51
- backgroundColor: onRowClick && rowEl ? "#f9f9f9" : "#fefefe",
51
+ backgroundColor: onRowClick && rowEl ? "#F2F1F3" : "#FEFEFE",
52
52
  "&::after": index === fixedLeftCols.length - 1 && leftShadowVisible
53
53
  ? {
54
54
  position: "absolute",
@@ -65,7 +65,11 @@ function TableBodyRow(props) {
65
65
  } }, { children: cloneElement(Cell, { column: col, rows: rows, row: row }) }), accessor));
66
66
  }), dynamicCols.map(function (col) {
67
67
  var accessor = col.accessor, Cell = col.Cell, width = col.width, _a = col.align, align = _a === void 0 ? "center" : _a;
68
- return (_jsx(TableCell, __assign({ align: align, sx: { width: width, zIndex: 9 } }, { children: cloneElement(Cell, { column: col, rows: rows, row: row }) }), accessor));
68
+ return (_jsx(TableCell, __assign({ align: align, sx: {
69
+ width: width,
70
+ zIndex: 9,
71
+ backgroundColor: onRowClick && rowEl ? "#F2F1F3" : "#FEFEFE"
72
+ } }, { children: cloneElement(Cell, { column: col, rows: rows, row: row }) }), accessor));
69
73
  }), fixedRightCols.map(function (col, index) {
70
74
  var accessor = col.accessor, Cell = col.Cell, width = col.width, _a = col.align, align = _a === void 0 ? "center" : _a;
71
75
  var right = fixedRightCols
@@ -76,7 +80,7 @@ function TableBodyRow(props) {
76
80
  right: right,
77
81
  position: "sticky",
78
82
  zIndex: 10,
79
- backgroundColor: onRowClick && rowEl ? "#f9f9f9" : "#fefefe",
83
+ backgroundColor: onRowClick && rowEl ? "#F2F1F3" : "#FEFEFE",
80
84
  "&::after": index === 0 && rightShadowVisible
81
85
  ? {
82
86
  position: "absolute",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.1.2-beta.7",
3
+ "version": "1.1.2-beta.9",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",