@dtdot/lego 2.0.0-20 → 2.0.0-21

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.
@@ -8,6 +8,7 @@ import TableActionMenu from './_TableActionMenu';
8
8
  import TableRow from './_TableRow.component';
9
9
  const StyledTable = styled.table `
10
10
  width: 100%;
11
+ border-spacing: 0;
11
12
  `;
12
13
  const TableHiddenActionSpan = styled.span `
13
14
  visibility: none;
@@ -9,6 +9,10 @@ const StyledRow = styled.tr `
9
9
  &:last-child {
10
10
  box-shadow: none;
11
11
  }
12
+
13
+ &:hover {
14
+ background-color: ${(props) => props.theme.colours.cardBackground};
15
+ }
12
16
  `;
13
17
  const TableRow = ({ children, 'data-testid': dataTestId }) => {
14
18
  const { variant } = useContext(TableContext);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtdot/lego",
3
- "version": "2.0.0-20",
3
+ "version": "2.0.0-21",
4
4
  "description": "Some reusable components for building my applications",
5
5
  "main": "build/index.js",
6
6
  "scripts": {