Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
[terra-table] Table section pinned divider overlay (#1898)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm9361 authored Nov 20, 2023
1 parent 2fb2c49 commit 457d4b4
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/terra-framework-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* Updated About page of `terra-table` to provide accessibility documentation for Home and End keys.
* Removed alpha notice for FlowsheetDataGrid.
* Removed unsupported props `isMasked` and `isSelectable` from FlowsheetDataGrid subcomponent documentation.
* Updated examples and tests in `terra-table` to validate sections in a table with pinned columns.

## 1.44.0 - (November 9, 2023)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ const TableWithSections = () => {
return (
<Table
id="table-with-sections"
overflowColumns={tableData.cols}
pinnedColumns={tableData.cols.slice(0, 2)}
overflowColumns={tableData.cols.slice(2)}
sections={tableSections}
onSectionSelect={handleSectionSelect}
isStriped
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ const TableWithSections = () => {
return (
<Table
id="table-with-sections"
overflowColumns={tableData.cols}
pinnedColumns={tableData.cols.slice(0, 2)}
overflowColumns={tableData.cols.slice(2)}
sections={tableSections}
onSectionSelect={handleSectionSelect}
/>
Expand Down
1 change: 1 addition & 0 deletions packages/terra-table/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Fixed
* Fixed tab index issues in the column header cells.
* Fixed screenreader issue due to space in the headers attribute.
* Fixed pinned column divider covering section headers.

## 5.1.1-alpha.1 - (November 9, 2023)

Expand Down
3 changes: 3 additions & 0 deletions packages/terra-table/src/subcomponents/Section.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
}

.header {
position: relative;
z-index: 3;

th {
border-left: var(--terra-table-cell-border-left, 1px solid #dedfe0);
border-right: var(--terra-table-cell-border-right, 1px solid #dedfe0);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 457d4b4

Please sign in to comment.