Skip to content

Commit

Permalink
feat(redmine 1306616): display header column title 'Actions' (#209)
Browse files Browse the repository at this point in the history
* feat(redmine 1306616): display header column title 'Actions'
  • Loading branch information
Meriemu authored Aug 9, 2024
1 parent 0f0d647 commit eaf66ee
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-cows-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@smile/haring-react-table': minor
---

Accessibility corrections to table header text
1 change: 0 additions & 1 deletion packages/haring-react-table/src/Components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ export function Table<Data extends Record<string, unknown>>(
const table = useMantineReactTable({
displayColumnDefOptions: {
'mrt-row-actions': {
header: undefined,
size: 124,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,9 @@ exports[`Table matches snapshot 1`] = `
>
<div
class="mrt-table-head-cell-content-wrapper MRT_TableHeadCell-module_content-wrapper__py6aJ MRT_TableHeadCell-module_content-wrapper-nowrap__-4aIg m_8bffd616 mantine-Flex-root __m__-r5l"
/>
>
Actions
</div>
</div>
<div
class="mrt-table-head-cell-content-actions MRT_TableHeadCell-module_content-actions__utxbm m_8bffd616 mantine-Flex-root __m__-r5n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,9 @@ exports[`TableGridView matches snapshot 1`] = `
>
<div
class="mrt-table-head-cell-content-wrapper MRT_TableHeadCell-module_content-wrapper__py6aJ MRT_TableHeadCell-module_content-wrapper-nowrap__-4aIg m_8bffd616 mantine-Flex-root __m__-r6q"
/>
>
Actions
</div>
</div>
<div
class="mrt-table-head-cell-content-actions MRT_TableHeadCell-module_content-actions__utxbm m_8bffd616 mantine-Flex-root __m__-r6s"
Expand Down

0 comments on commit eaf66ee

Please sign in to comment.