Skip to content

Commit 7c0bc36

Browse files
authored
HdsAdvancedTableTh Remove @isVisuallyHidden argument (#3210)
1 parent 83cef7f commit 7c0bc36

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.changeset/hot-owls-rescue.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@hashicorp/design-system-components": major
3+
---
4+
5+
<!-- START components/table/advanced-table -->
6+
`AdvancedTable` - Removed the `@isVisuallyHidden` argument from `HdsAdvancedTableTh` component. This setting is supported via setting `isVisuallyHidden` in the corresponding `@columns` item's configuration.
7+
<!-- END -->

packages/components/src/components/hds/advanced-table/index.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
@isExpandable={{column.isExpandable}}
8585
@isStickyColumn={{this._isStickyColumn column}}
8686
@isStickyColumnPinned={{this.isStickyColumnPinned}}
87-
@isVisuallyHidden={{column.isVisuallyHidden}}
8887
@tableHeight={{this._tableHeight}}
8988
@tooltip={{column.tooltip}}
9089
@onClickToggle={{this._tableModel.toggleAll}}

packages/components/src/components/hds/advanced-table/th.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export interface HdsAdvancedTableThSignature {
4444
isExpandable?: boolean;
4545
isStickyColumn?: boolean;
4646
isStickyColumnPinned?: boolean;
47-
isVisuallyHidden?: boolean;
4847
newLabel?: string;
4948
parentId?: string;
5049
rowspan?: number;

website/docs/components/table/advanced-table/partials/code/component-api.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,6 @@ If the `Th` component is passed as the first cell of a body row, `role="rowheade
205205
<C.Property @name="tooltip" @type="string">
206206
Text string which will appear in the [`Tooltip`](/components/tooltip). May contain basic HTML tags for formatting text such as `strong` and `em` tags. Not intended for multi-paragraph text or other more complex content. May not contain interactive content such as links or buttons. The `placement` and `offset` are automatically set and can’t be overwritten.
207207
</C.Property>
208-
<C.Property @name="isVisuallyHidden" @type="boolean" @default="false">
209-
If set to `true`, it visually hides the column’s text content (it will still be available to screen readers for accessibility).
210-
</C.Property>
211208
<C.Property @name="colspan" @type="string">
212209
The number of columns the cell spans. Used to apply the correct grid styles and the aria-rowspan attribute for accessibility.
213210
</C.Property>

0 commit comments

Comments
 (0)