wca-designsystem 1.0.4 → 1.0.5

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.4",
2
+ "version": "1.0.5",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -98,7 +98,7 @@ const HeaderTabela = <T,>({
98
98
  <tr>
99
99
  {hasExpand && <></>}
100
100
  {hasSelect && (
101
- <td className="select select-all" key={`select-all`}>
101
+ <th className="select-all" key={`select-all`}>
102
102
  <Checkbox
103
103
  size="md"
104
104
  color={color}
@@ -106,7 +106,7 @@ const HeaderTabela = <T,>({
106
106
  checked={rowSelection?.length === data.length}
107
107
  onChange={e => handleSelectAll(e.target.checked)}
108
108
  />
109
- </td>
109
+ </th>
110
110
  )}
111
111
  {columns.map((header, index) => {
112
112
  if (header.key === 'expand')
@@ -87,6 +87,7 @@ export const TabelaHeader = styled.thead<ColorsProp>`
87
87
  align-items: center;
88
88
  justify-content: center;
89
89
  width: 35px;
90
+ display: table-cell;
90
91
  }
91
92
 
92
93
  th.expand {