wca-designsystem 1.0.21 → 1.0.23

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.21",
2
+ "version": "1.0.23",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -17,14 +17,18 @@ function SkeletonTable<T extends { id: number | string }>({
17
17
  return (
18
18
  <>
19
19
  {data?.length === 0 ? (
20
- <S.TabelaSemDados
21
- style={{
22
- justifyContent: 'center',
23
- alignContent: 'center',
24
- }}
25
- color={color}
26
- >
27
- <Loader color={color} />
20
+ <S.TabelaSemDados>
21
+ <tr>
22
+ <td
23
+ style={{
24
+ justifyContent: 'center',
25
+ alignContent: 'center',
26
+ }}
27
+ color={color}
28
+ >
29
+ <Loader color={color} />
30
+ </td>
31
+ </tr>
28
32
  </S.TabelaSemDados>
29
33
  ) : (
30
34
  <S.TabelaBody>
@@ -99,7 +99,7 @@ function BodyTable<
99
99
  ? theme.colors.gray['500']
100
100
  : isSelected
101
101
  ? theme.colors.gray['500']
102
- : 'transparent',
102
+ : '',
103
103
  }}
104
104
  >
105
105
  {columns.map((column, colIndex) => {
@@ -177,7 +177,7 @@ export const TabelaBody = styled.tbody<ColorsProp>`
177
177
  `}
178
178
  `;
179
179
 
180
- export const TabelaSemDados = styled.div<ColorsProp>`
180
+ export const TabelaSemDados = styled.tbody<ColorsProp>`
181
181
  ${({ color, theme }) => css`
182
182
  text-align: center;
183
183
  background-color: ${theme.colors.gray['300']};