@symply.io/basic-components 1.1.2-beta.6 → 1.1.2-beta.8

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 ? "#fafafa" : "Menu"
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 ? "#fafafa" : "Menu",
51
+ backgroundColor: onRowClick && rowEl ? "#F2F1F3" : "#FEFEFE",
52
52
  "&::after": index === fixedLeftCols.length - 1 && leftShadowVisible
53
53
  ? {
54
54
  position: "absolute",
@@ -76,7 +76,7 @@ function TableBodyRow(props) {
76
76
  right: right,
77
77
  position: "sticky",
78
78
  zIndex: 10,
79
- backgroundColor: onRowClick && rowEl ? "#fafafa" : "Menu",
79
+ backgroundColor: onRowClick && rowEl ? "#F2F1F3" : "#FEFEFE",
80
80
  "&::after": index === 0 && rightShadowVisible
81
81
  ? {
82
82
  position: "absolute",
@@ -31,13 +31,6 @@ function DataTable(props) {
31
31
  var scrollWidth = target.scrollWidth;
32
32
  var clientWidth = target.clientWidth;
33
33
  var hasScrollBar = scrollWidth > clientWidth;
34
- console.log({
35
- target: target,
36
- scrollLeft: scrollLeft,
37
- scrollWidth: scrollWidth,
38
- clientWidth: clientWidth,
39
- hasScrollBar: hasScrollBar
40
- });
41
34
  setLeftShadowVisible(hasScrollBar && scrollLeft > 0);
42
35
  setRightShadowVisible(hasScrollBar && scrollWidth - scrollLeft !== clientWidth);
43
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.1.2-beta.6",
3
+ "version": "1.1.2-beta.8",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",