From 5ab2a8bd78f61dd768501927a273bcca276d5a6e Mon Sep 17 00:00:00 2001 From: ksharma-c-eightfold Date: Mon, 30 Mar 2026 19:46:47 +0530 Subject: [PATCH 1/3] fix(Table): add scope row and col accessibility attributes --- .../Table/Internal/Body/BodyRow.tsx | 2 +- .../Table/Internal/Tests/ExpandRow.test.js | 5 +- .../Table/Internal/Tests/FixedColumn.test.js | 10 +- .../Table/Internal/Tests/Hover.test.tsx | 36 +-- .../Table/Internal/Tests/Table.test.js | 30 +- .../ExpandRow.childrencolname.shot | 108 +++---- .../__snapshots__/ExpandRow.expandable1.shot | 144 ++++----- .../__snapshots__/ExpandRow.expandable2.shot | 144 ++++----- .../ExpandRow.nonestinvalidchildren.shot | 108 +++---- .../ExpandRow.renderfixedcol.shot | 72 ++--- .../__snapshots__/ExpandRow.rendertree.shot | 108 +++---- .../ExpandRow.rendertreechildren.shot | 12 +- .../__snapshots__/ExpandRow.scrollunset1.shot | 144 ++++----- .../__snapshots__/ExpandRow.scrollunset2.shot | 144 ++++----- .../FixedColumn.renderwithdata.shot | 84 ++--- .../Tests/__snapshots__/FixedColumn.rtl.shot | 36 +-- .../Table.colchildrenundefined.shot | 48 +-- .../__snapshots__/Table.customcomponents.shot | 60 +--- .../Tests/__snapshots__/Table.falseycols.shot | 48 +-- .../Tests/__snapshots__/Table.nocols.shot | 24 +- .../__snapshots__/Table.renderbasic.shot | 24 +- .../__snapshots__/Table.rendercolspan.shot | 36 +-- .../Table.renderfixedcolheader.shot | 120 ++------ .../__snapshots__/Table.renderrowspan.shot | 36 +-- .../Tests/__snapshots__/Table.rtl.shot | 24 +- .../__snapshots__/Table.transformcols.shot | 72 ++--- .../Table/Internal/octable.module.scss | 9 +- src/components/Table/Styles/bordered.scss | 15 + src/components/Table/Styles/table.module.scss | 5 + .../Table/Tests/Table.filter.test.js | 2 +- .../Table/Tests/Table.order.test.js | 5 +- .../__snapshots__/Table.expand.test.tsx.snap | 48 +-- .../__snapshots__/Table.filter.test.js.snap | 288 +++++++++--------- .../Table.fixselectionexpandonleft.shot | 72 ++--- .../__snapshots__/Table.fixselectionleft.shot | 72 ++--- .../Table.fixselectionwithcols.shot | 72 ++--- .../Table.pagination.accepttrue.shot | 48 +-- .../Table.pagination.nocrashonchange.shot | 48 +-- .../Table.pagination.position.shot | 48 +-- .../Table.pagination.renders.shot | 48 +-- .../__snapshots__/Table.sorter.test.js.snap | 204 ++++++------- .../Tests/__snapshots__/Table.test.js.snap | 72 ++--- .../Table.usecolselectionwithkey.shot | 48 +-- 43 files changed, 1356 insertions(+), 1427 deletions(-) diff --git a/src/components/Table/Internal/Body/BodyRow.tsx b/src/components/Table/Internal/Body/BodyRow.tsx index 5410dd8e0..ce72b031b 100644 --- a/src/components/Table/Internal/Body/BodyRow.tsx +++ b/src/components/Table/Internal/Body/BodyRow.tsx @@ -170,7 +170,7 @@ function BodyRow( ellipsis={column.ellipsis} align={column.align} verticalAlign={column.verticalAlign} - component={cellComponent} + component={colIndex === 0 ? 'th' : cellComponent} key={key} record={record} index={index} diff --git a/src/components/Table/Internal/Tests/ExpandRow.test.js b/src/components/Table/Internal/Tests/ExpandRow.test.js index 81445809b..78932bf54 100644 --- a/src/components/Table/Internal/Tests/ExpandRow.test.js +++ b/src/components/Table/Internal/Tests/ExpandRow.test.js @@ -333,7 +333,10 @@ describe('Table.Expand', () => { ); expect(wrapper.find('.table-row-expand-icon-cell').at(0)).toBeTruthy(); - expect(wrapper.find('tbody tr').first().find('td')).toHaveLength(3); + const firstBodyRow = wrapper.find('tbody tr').first(); + expect( + firstBodyRow.find('th').length + firstBodyRow.find('td').length + ).toBe(3); }); }); diff --git a/src/components/Table/Internal/Tests/FixedColumn.test.js b/src/components/Table/Internal/Tests/FixedColumn.test.js index 7c282854b..a16e70aaf 100644 --- a/src/components/Table/Internal/Tests/FixedColumn.test.js +++ b/src/components/Table/Internal/Tests/FixedColumn.test.js @@ -190,10 +190,12 @@ describe('Table.FixedColumn', () => { /> ); - expect(wrapper.find('tr th').find('.table-cell-content')).toHaveLength(1); - expect(wrapper.find('tr td').find('.table-cell-content')).toHaveLength( - data.length - ); + expect( + wrapper.find('thead tr th').find('.table-cell-content') + ).toHaveLength(1); + expect( + wrapper.find('tbody tr th').find('.table-cell-content') + ).toHaveLength(data.length); }); it('fixed column renders correctly RTL', () => { diff --git a/src/components/Table/Internal/Tests/Hover.test.tsx b/src/components/Table/Internal/Tests/Hover.test.tsx index 2eb1b99f6..db837a765 100644 --- a/src/components/Table/Internal/Tests/Hover.test.tsx +++ b/src/components/Table/Internal/Tests/Hover.test.tsx @@ -28,10 +28,10 @@ describe('Table.Hover', () => { it('basic', () => { const wrapper = mount(createTable()); - wrapper.find('tbody td').first().simulate('mouseEnter'); + wrapper.find('tbody th').first().simulate('mouseEnter'); expect(wrapper.exists('.table-cell-row-hover')).toBeTruthy(); - wrapper.find('tbody td').first().simulate('mouseLeave'); + wrapper.find('tbody th').first().simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); }); @@ -49,10 +49,10 @@ describe('Table.Hover', () => { }) ); - wrapper.find('tbody td').first().simulate('mouseEnter'); + wrapper.find('tbody th').first().simulate('mouseEnter'); expect(wrapper.exists('.table-cell-row-hover')).toBeTruthy(); - wrapper.find('tbody td').first().simulate('mouseLeave'); + wrapper.find('tbody th').first().simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); }); @@ -78,19 +78,21 @@ describe('Table.Hover', () => { }) ); - // Merge row check - expect(wrapper.find('tbody td')).toHaveLength(3); + // Merge row check (1 th + 2 td = 3) + expect( + wrapper.find('tbody th').length + wrapper.find('tbody td').length + ).toBe(3); - // Hover 0-0 - wrapper.find('tbody td').at(0).simulate('mouseEnter'); + // Hover 0-0 (th with rowSpan=2) + wrapper.find('tbody th').at(0).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(3); - // Hover 0-1 - wrapper.find('tbody td').at(1).simulate('mouseEnter'); + // Hover 0-1 (first td = row0,col1) + wrapper.find('tbody td').at(0).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(2); // Mouse leave - wrapper.find('tbody td').at(1).simulate('mouseLeave'); + wrapper.find('tbody td').at(0).simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); }); @@ -117,19 +119,19 @@ describe('Table.Hover', () => { // Hover 0-0 renderTimes = 0; - wrapper.find('tbody td').at(0).simulate('mouseEnter'); + wrapper.find('tbody th').at(0).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(1); expect(renderTimes).toBe(1); // Hover 0-1 renderTimes = 0; - wrapper.find('tbody td').at(1).simulate('mouseEnter'); + wrapper.find('tbody th').at(1).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(1); expect(renderTimes).toBe(2); // Mouse leave renderTimes = 0; - wrapper.find('tbody td').at(1).simulate('mouseLeave'); + wrapper.find('tbody th').at(1).simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); expect(renderTimes).toBe(1); }); @@ -154,19 +156,19 @@ describe('Table.Hover', () => { // Hover 0-0 renderTimes = 0; - wrapper.find('tbody td').at(0).simulate('mouseEnter'); + wrapper.find('tbody th').at(0).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(1); expect(renderTimes).toBe(0); // Hover 0-1 renderTimes = 0; - wrapper.find('tbody td').at(1).simulate('mouseEnter'); + wrapper.find('tbody th').at(1).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(1); expect(renderTimes).toBe(0); // Mouse leave renderTimes = 0; - wrapper.find('tbody td').at(1).simulate('mouseLeave'); + wrapper.find('tbody th').at(1).simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); expect(renderTimes).toBe(0); }); diff --git a/src/components/Table/Internal/Tests/Table.test.js b/src/components/Table/Internal/Tests/Table.test.js index 14b75cd29..5d3751c02 100644 --- a/src/components/Table/Internal/Tests/Table.test.js +++ b/src/components/Table/Internal/Tests/Table.test.js @@ -338,8 +338,8 @@ describe('Table.Basic', () => { ]; wrapper.find('tbody tr').forEach((tr, ri) => { - tr.find('td').forEach((td, di) => { - expect(td.text()).toEqual(targetData[ri][di]); + targetData[ri].forEach((expected, di) => { + expect(tr.childAt(di).text()).toEqual(expected); }); }); }); @@ -351,7 +351,7 @@ describe('Table.Basic', () => { { key: 'key1', name: 'Mia' }, ]; const wrapper = mount(createTable({ data: localData })); - expect(wrapper.find('table td').first().text()).toBe(''); + expect(wrapper.find('tbody th').first().text()).toBe(''); }); it('renders colSpan correctly', () => { @@ -423,7 +423,7 @@ describe('Table.Basic', () => { }} /> ); - const props = wrapper.find('td').props(); + const props = wrapper.find('tbody th').props(); expect(props.style).toEqual(expect.objectContaining({ background: 'red' })); expect(props.className.includes('customize-render')).toBeTruthy(); expect(props['data-light']).toEqual('bamboo'); @@ -529,7 +529,7 @@ describe('Table.Basic', () => { }; const wrapper = mount(); for (let i = 0; i < 10; i += 1) { - wrapper.find('tbody tr td').last().simulate('click'); + wrapper.find('tbody tr th').last().simulate('click'); expect(wrapper.find('#count').text()).toEqual(String(i + 1)); } }); @@ -542,8 +542,8 @@ describe('Table.Basic', () => { const columns = [{ title: 'Name', dataIndex: 'name', key: 'name', onCell }]; const wrapper = mount(createTable({ columns })); - expect(wrapper.find('tbody td')).toHaveLength(2); - wrapper.find('tbody td').forEach((td, index) => { + expect(wrapper.find('tbody th')).toHaveLength(2); + wrapper.find('tbody th').forEach((td, index) => { expect(td.props().id).toEqual(`cell-${data[index].name}`); }); }); @@ -672,10 +672,10 @@ describe('Table.Basic', () => { expect(wrapper.find('th').at(0).props().style.textAlign).toBeFalsy(); expect(wrapper.find('th').at(1).props().style.textAlign).toEqual('center'); expect( - wrapper.find('tbody tr').first().find('td').at(0).props().style.textAlign + wrapper.find('tbody tr').first().find('th').at(0).props().style.textAlign ).toBeFalsy(); expect( - wrapper.find('tbody tr').first().find('td').at(1).props().style.textAlign + wrapper.find('tbody tr').first().find('td').at(0).props().style.textAlign ).toEqual('center'); }); @@ -695,7 +695,7 @@ describe('Table.Basic', () => { color: 'green', textAlign: 'center', }); - expect(wrapper.find('td').first().props().style).toEqual({ + expect(wrapper.find('tbody th').first().props().style).toEqual({ color: 'red', textAlign: 'center', }); @@ -715,11 +715,11 @@ describe('Table.Basic', () => { expect(wrapper.find('th').at(0).props().style.verticalAlign).toBeFalsy(); expect(wrapper.find('th').at(1).props().style.verticalAlign).toEqual('top'); expect( - wrapper.find('tbody tr').first().find('td').at(0).props().style + wrapper.find('tbody tr').first().find('th').at(0).props().style .verticalAlign ).toBeFalsy(); expect( - wrapper.find('tbody tr').first().find('td').at(1).props().style + wrapper.find('tbody tr').first().find('td').at(0).props().style .verticalAlign ).toEqual('top'); }); @@ -740,7 +740,7 @@ describe('Table.Basic', () => { color: 'green', verticalAlign: 'top', }); - expect(wrapper.find('td').first().props().style).toEqual({ + expect(wrapper.find('tbody th').first().props().style).toEqual({ color: 'red', verticalAlign: 'top', }); @@ -966,10 +966,10 @@ describe('Table.Basic', () => { } const wrapper = mount(); - expect(wrapper.find('td').text()).toEqual('false'); + expect(wrapper.find('tbody th').text()).toEqual('false'); wrapper.setState({ change: true }); - expect(wrapper.find('td').text()).toEqual('true'); + expect(wrapper.find('tbody th').text()).toEqual('true'); }); it('not crash with raw data', () => { diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.childrencolname.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.childrencolname.shot index ce24620d6..06bae5fe3 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.childrencolname.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.childrencolname.shot @@ -290,7 +290,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -474,7 +474,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -633,7 +633,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -817,7 +817,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -976,7 +976,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1160,7 +1160,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1356,7 +1356,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1540,7 +1540,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1699,7 +1699,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1883,7 +1883,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2056,7 +2056,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2240,7 +2240,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2422,7 +2422,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2606,7 +2606,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2767,7 +2767,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2951,7 +2951,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3112,7 +3112,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3296,7 +3296,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3646,7 +3646,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3830,7 +3830,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3989,7 +3989,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4173,7 +4173,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4332,7 +4332,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4516,7 +4516,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4712,7 +4712,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4896,7 +4896,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5055,7 +5055,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5239,7 +5239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5412,7 +5412,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5596,7 +5596,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5778,7 +5778,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5962,7 +5962,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6123,7 +6123,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6307,7 +6307,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6468,7 +6468,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6652,7 +6652,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6884,7 +6884,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7068,7 +7068,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7227,7 +7227,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7411,7 +7411,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7570,7 +7570,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7754,7 +7754,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7950,7 +7950,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8134,7 +8134,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8293,7 +8293,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8477,7 +8477,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8650,7 +8650,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8834,7 +8834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9016,7 +9016,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9200,7 +9200,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9361,7 +9361,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9545,7 +9545,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9706,7 +9706,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9890,7 +9890,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable1.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable1.shot index 229268655..5c1032e55 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable1.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable1.shot @@ -1208,7 +1208,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1390,7 +1390,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1497,7 +1497,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1604,7 +1604,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1677,7 +1677,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1859,7 +1859,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1966,7 +1966,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2073,7 +2073,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2185,7 +2185,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2367,7 +2367,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2474,7 +2474,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2654,7 +2654,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2836,7 +2836,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2943,7 +2943,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3050,7 +3050,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3880,7 +3880,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4062,7 +4062,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4169,7 +4169,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4276,7 +4276,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4351,7 +4351,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4533,7 +4533,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4640,7 +4640,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4747,7 +4747,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6733,7 +6733,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6915,7 +6915,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7022,7 +7022,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7129,7 +7129,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7202,7 +7202,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7384,7 +7384,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7491,7 +7491,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7598,7 +7598,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7710,7 +7710,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7892,7 +7892,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7999,7 +7999,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8106,7 +8106,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8179,7 +8179,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8361,7 +8361,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8468,7 +8468,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8575,7 +8575,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9405,7 +9405,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9587,7 +9587,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9694,7 +9694,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9801,7 +9801,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9876,7 +9876,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10058,7 +10058,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10165,7 +10165,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10272,7 +10272,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11877,7 +11877,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12059,7 +12059,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12166,7 +12166,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12273,7 +12273,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12346,7 +12346,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12528,7 +12528,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12635,7 +12635,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12742,7 +12742,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12854,7 +12854,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13036,7 +13036,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13143,7 +13143,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13250,7 +13250,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13323,7 +13323,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13505,7 +13505,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13612,7 +13612,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13719,7 +13719,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14549,7 +14549,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14731,7 +14731,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14838,7 +14838,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14945,7 +14945,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15020,7 +15020,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15202,7 +15202,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15309,7 +15309,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15416,7 +15416,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable2.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable2.shot index 229268655..5c1032e55 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable2.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable2.shot @@ -1208,7 +1208,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1390,7 +1390,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1497,7 +1497,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1604,7 +1604,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1677,7 +1677,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1859,7 +1859,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1966,7 +1966,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2073,7 +2073,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2185,7 +2185,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2367,7 +2367,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2474,7 +2474,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2654,7 +2654,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2836,7 +2836,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2943,7 +2943,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3050,7 +3050,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3880,7 +3880,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4062,7 +4062,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4169,7 +4169,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4276,7 +4276,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4351,7 +4351,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4533,7 +4533,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4640,7 +4640,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4747,7 +4747,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6733,7 +6733,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6915,7 +6915,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7022,7 +7022,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7129,7 +7129,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7202,7 +7202,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7384,7 +7384,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7491,7 +7491,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7598,7 +7598,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7710,7 +7710,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7892,7 +7892,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7999,7 +7999,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8106,7 +8106,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8179,7 +8179,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8361,7 +8361,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8468,7 +8468,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8575,7 +8575,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9405,7 +9405,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9587,7 +9587,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9694,7 +9694,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9801,7 +9801,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9876,7 +9876,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10058,7 +10058,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10165,7 +10165,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10272,7 +10272,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11877,7 +11877,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12059,7 +12059,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12166,7 +12166,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12273,7 +12273,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12346,7 +12346,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12528,7 +12528,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12635,7 +12635,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12742,7 +12742,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12854,7 +12854,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13036,7 +13036,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13143,7 +13143,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13250,7 +13250,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13323,7 +13323,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13505,7 +13505,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13612,7 +13612,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13719,7 +13719,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14549,7 +14549,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14731,7 +14731,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14838,7 +14838,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14945,7 +14945,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15020,7 +15020,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15202,7 +15202,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15309,7 +15309,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15416,7 +15416,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.nonestinvalidchildren.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.nonestinvalidchildren.shot index 0094d50eb..a97ae648a 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.nonestinvalidchildren.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.nonestinvalidchildren.shot @@ -174,7 +174,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -242,7 +242,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -285,7 +285,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -353,7 +353,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -396,7 +396,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -464,7 +464,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -544,7 +544,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -612,7 +612,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -655,7 +655,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -723,7 +723,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -780,7 +780,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -848,7 +848,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -914,7 +914,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -982,7 +982,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1027,7 +1027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1095,7 +1095,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1140,7 +1140,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1208,7 +1208,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1442,7 +1442,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1510,7 +1510,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1553,7 +1553,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1621,7 +1621,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1664,7 +1664,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1732,7 +1732,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1812,7 +1812,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1880,7 +1880,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1923,7 +1923,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1991,7 +1991,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2048,7 +2048,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2116,7 +2116,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2182,7 +2182,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2250,7 +2250,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2295,7 +2295,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2363,7 +2363,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2408,7 +2408,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2476,7 +2476,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2592,7 +2592,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2660,7 +2660,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2703,7 +2703,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2771,7 +2771,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2814,7 +2814,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2882,7 +2882,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2962,7 +2962,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3030,7 +3030,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3073,7 +3073,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3141,7 +3141,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3198,7 +3198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3266,7 +3266,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3332,7 +3332,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3400,7 +3400,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3445,7 +3445,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3513,7 +3513,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3558,7 +3558,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3626,7 +3626,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.renderfixedcol.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.renderfixedcol.shot index ffaf34793..3162af27a 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.renderfixedcol.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.renderfixedcol.shot @@ -1232,7 +1232,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1424,7 +1424,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1537,7 +1537,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1648,7 +1648,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2026,7 +2026,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2139,7 +2139,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2250,7 +2250,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3228,7 +3228,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3420,7 +3420,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3533,7 +3533,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3644,7 +3644,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5656,7 +5656,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5848,7 +5848,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5961,7 +5961,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6072,7 +6072,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6258,7 +6258,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6450,7 +6450,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6563,7 +6563,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6674,7 +6674,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7652,7 +7652,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7844,7 +7844,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7957,7 +7957,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8068,7 +8068,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9675,7 +9675,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9867,7 +9867,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9980,7 +9980,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10091,7 +10091,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10277,7 +10277,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10469,7 +10469,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10582,7 +10582,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10693,7 +10693,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11671,7 +11671,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -11863,7 +11863,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11976,7 +11976,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12087,7 +12087,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertree.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertree.shot index 248941147..2ab9a6771 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertree.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertree.shot @@ -290,7 +290,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -474,7 +474,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -633,7 +633,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -817,7 +817,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -976,7 +976,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1160,7 +1160,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1356,7 +1356,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1540,7 +1540,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1699,7 +1699,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1883,7 +1883,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2056,7 +2056,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2240,7 +2240,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2422,7 +2422,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2606,7 +2606,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2767,7 +2767,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2951,7 +2951,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3112,7 +3112,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3296,7 +3296,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3646,7 +3646,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3830,7 +3830,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3989,7 +3989,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4173,7 +4173,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4332,7 +4332,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4516,7 +4516,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4712,7 +4712,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4896,7 +4896,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5055,7 +5055,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5239,7 +5239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5412,7 +5412,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5596,7 +5596,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5778,7 +5778,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5962,7 +5962,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6123,7 +6123,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6307,7 +6307,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6468,7 +6468,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6652,7 +6652,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6884,7 +6884,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7068,7 +7068,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7227,7 +7227,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7411,7 +7411,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7570,7 +7570,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7754,7 +7754,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7950,7 +7950,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8134,7 +8134,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8293,7 +8293,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8477,7 +8477,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8650,7 +8650,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8834,7 +8834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9016,7 +9016,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9200,7 +9200,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9361,7 +9361,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9545,7 +9545,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9706,7 +9706,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9890,7 +9890,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertreechildren.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertreechildren.shot index 3fa0241ab..10230731a 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertreechildren.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertreechildren.shot @@ -290,7 +290,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -474,7 +474,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -804,7 +804,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -988,7 +988,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1200,7 +1200,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1384,7 +1384,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset1.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset1.shot index f7ec7b5d5..8576ea8d2 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset1.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset1.shot @@ -1208,7 +1208,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1390,7 +1390,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1497,7 +1497,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1604,7 +1604,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1677,7 +1677,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1859,7 +1859,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1966,7 +1966,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2073,7 +2073,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2185,7 +2185,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2367,7 +2367,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2474,7 +2474,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2654,7 +2654,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2836,7 +2836,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2943,7 +2943,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3050,7 +3050,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3880,7 +3880,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4062,7 +4062,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4169,7 +4169,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4276,7 +4276,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4351,7 +4351,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4533,7 +4533,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4640,7 +4640,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4747,7 +4747,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6733,7 +6733,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6915,7 +6915,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7022,7 +7022,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7129,7 +7129,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7202,7 +7202,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7384,7 +7384,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7491,7 +7491,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7598,7 +7598,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7710,7 +7710,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7892,7 +7892,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7999,7 +7999,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8106,7 +8106,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8179,7 +8179,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8361,7 +8361,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8468,7 +8468,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8575,7 +8575,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9405,7 +9405,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9587,7 +9587,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9694,7 +9694,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9801,7 +9801,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9876,7 +9876,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10058,7 +10058,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10165,7 +10165,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10272,7 +10272,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11877,7 +11877,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12059,7 +12059,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12166,7 +12166,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12273,7 +12273,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12346,7 +12346,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12528,7 +12528,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12635,7 +12635,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12742,7 +12742,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12854,7 +12854,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13036,7 +13036,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13143,7 +13143,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13250,7 +13250,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13323,7 +13323,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13505,7 +13505,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13612,7 +13612,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13719,7 +13719,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14549,7 +14549,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14731,7 +14731,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14838,7 +14838,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14945,7 +14945,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15020,7 +15020,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15202,7 +15202,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15309,7 +15309,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15416,7 +15416,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset2.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset2.shot index f7ec7b5d5..8576ea8d2 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset2.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset2.shot @@ -1208,7 +1208,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1390,7 +1390,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1497,7 +1497,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1604,7 +1604,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1677,7 +1677,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1859,7 +1859,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1966,7 +1966,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2073,7 +2073,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2185,7 +2185,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2367,7 +2367,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2474,7 +2474,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2654,7 +2654,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2836,7 +2836,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2943,7 +2943,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3050,7 +3050,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3880,7 +3880,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4062,7 +4062,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4169,7 +4169,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4276,7 +4276,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4351,7 +4351,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4533,7 +4533,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4640,7 +4640,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4747,7 +4747,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6733,7 +6733,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6915,7 +6915,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7022,7 +7022,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7129,7 +7129,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7202,7 +7202,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7384,7 +7384,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7491,7 +7491,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7598,7 +7598,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7710,7 +7710,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7892,7 +7892,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7999,7 +7999,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8106,7 +8106,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8179,7 +8179,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8361,7 +8361,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8468,7 +8468,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8575,7 +8575,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9405,7 +9405,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9587,7 +9587,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9694,7 +9694,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9801,7 +9801,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9876,7 +9876,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10058,7 +10058,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10165,7 +10165,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10272,7 +10272,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11877,7 +11877,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12059,7 +12059,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12166,7 +12166,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12273,7 +12273,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12346,7 +12346,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12528,7 +12528,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12635,7 +12635,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12742,7 +12742,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12854,7 +12854,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13036,7 +13036,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13143,7 +13143,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13250,7 +13250,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13323,7 +13323,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13505,7 +13505,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13612,7 +13612,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13719,7 +13719,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14549,7 +14549,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14731,7 +14731,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14838,7 +14838,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14945,7 +14945,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15020,7 +15020,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15202,7 +15202,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15309,7 +15309,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15416,7 +15416,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.renderwithdata.shot b/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.renderwithdata.shot index 7997aab76..1913304ef 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.renderwithdata.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.renderwithdata.shot @@ -870,7 +870,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -981,7 +981,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1045,7 +1045,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1128,7 +1128,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1239,7 +1239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1303,7 +1303,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2506,7 +2506,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2617,7 +2617,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2681,7 +2681,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2764,7 +2764,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2875,7 +2875,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2939,7 +2939,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4019,7 +4019,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4130,7 +4130,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4194,7 +4194,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4277,7 +4277,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4388,7 +4388,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4452,7 +4452,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6730,7 +6730,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6841,7 +6841,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6905,7 +6905,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6988,7 +6988,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7099,7 +7099,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7163,7 +7163,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8089,7 +8089,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8200,7 +8200,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8264,7 +8264,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8347,7 +8347,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8458,7 +8458,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8522,7 +8522,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9789,7 +9789,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9900,7 +9900,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9964,7 +9964,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10047,7 +10047,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10158,7 +10158,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10222,7 +10222,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11148,7 +11148,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -11259,7 +11259,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11323,7 +11323,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11406,7 +11406,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -11517,7 +11517,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11581,7 +11581,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.rtl.shot b/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.rtl.shot index 320e98940..089b15d32 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.rtl.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.rtl.shot @@ -870,7 +870,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -981,7 +981,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1045,7 +1045,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1128,7 +1128,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1239,7 +1239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1303,7 +1303,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2506,7 +2506,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2617,7 +2617,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2681,7 +2681,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2764,7 +2764,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2875,7 +2875,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2939,7 +2939,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4019,7 +4019,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4130,7 +4130,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4194,7 +4194,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4277,7 +4277,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4388,7 +4388,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4452,7 +4452,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.colchildrenundefined.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.colchildrenundefined.shot index f6ae5ae0f..e125ba46d 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.colchildrenundefined.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.colchildrenundefined.shot @@ -174,7 +174,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -226,7 +226,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -269,7 +269,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -321,7 +321,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -389,7 +389,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -441,7 +441,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -486,7 +486,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -538,7 +538,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -762,7 +762,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -814,7 +814,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -857,7 +857,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -909,7 +909,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -977,7 +977,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1029,7 +1029,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1074,7 +1074,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1126,7 +1126,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1232,7 +1232,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1284,7 +1284,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1327,7 +1327,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1379,7 +1379,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1447,7 +1447,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1499,7 +1499,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1544,7 +1544,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1596,7 +1596,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.customcomponents.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.customcomponents.shot index 8b4245756..7fbb03f9d 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.customcomponents.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.customcomponents.shot @@ -101,7 +101,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -112,7 +111,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -120,11 +119,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -140,7 +137,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -151,7 +147,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -159,11 +155,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -208,7 +202,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -219,7 +212,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -227,11 +220,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -249,7 +240,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -260,7 +250,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -268,11 +258,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -412,7 +400,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -423,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -431,11 +418,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -451,7 +436,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -462,7 +446,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,11 +454,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -519,7 +501,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -530,7 +511,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -538,11 +519,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -560,7 +539,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -571,7 +549,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -579,11 +557,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -671,7 +647,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -682,7 +657,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -690,11 +665,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -710,7 +683,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -721,7 +693,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -729,11 +701,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -778,7 +748,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -789,7 +758,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -797,11 +766,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], @@ -819,7 +786,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", - "name": "my-body-cell", }, "children": Array [ Node { @@ -830,7 +796,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -838,11 +804,9 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, }, }, ], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.falseycols.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.falseycols.shot index c3fdfed8b..6e4fef9eb 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.falseycols.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.falseycols.shot @@ -98,7 +98,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -150,7 +150,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -193,7 +193,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -245,7 +245,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -313,7 +313,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -365,7 +365,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -462,7 +462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -610,7 +610,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -662,7 +662,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -705,7 +705,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -757,7 +757,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -825,7 +825,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -877,7 +877,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -922,7 +922,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -974,7 +974,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1080,7 +1080,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1132,7 +1132,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1175,7 +1175,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1227,7 +1227,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1295,7 +1295,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1347,7 +1347,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1392,7 +1392,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1444,7 +1444,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.nocols.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.nocols.shot index 308aac450..d6cf8db8c 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.nocols.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.nocols.shot @@ -82,7 +82,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -109,7 +109,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -161,7 +161,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -190,7 +190,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -314,7 +314,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -341,7 +341,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -393,7 +393,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -422,7 +422,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -512,7 +512,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -539,7 +539,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -591,7 +591,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -620,7 +620,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.renderbasic.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.renderbasic.shot index 9b11884e8..eaf9259fc 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.renderbasic.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.renderbasic.shot @@ -98,7 +98,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -133,7 +133,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -193,7 +193,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -230,7 +230,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -370,7 +370,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -405,7 +405,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -465,7 +465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -502,7 +502,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -600,7 +600,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -635,7 +635,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -695,7 +695,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -732,7 +732,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.rendercolspan.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.rendercolspan.shot index 6e530b463..4fa160b6e 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.rendercolspan.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.rendercolspan.shot @@ -102,7 +102,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -139,7 +139,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -207,7 +207,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -275,7 +275,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -343,7 +343,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -389,7 +389,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -535,7 +535,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -572,7 +572,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -708,7 +708,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -776,7 +776,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -822,7 +822,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -923,7 +923,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -960,7 +960,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1028,7 +1028,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1096,7 +1096,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1164,7 +1164,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1210,7 +1210,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.renderfixedcolheader.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.renderfixedcolheader.shot index 91b75bc74..f129e661f 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.renderfixedcolheader.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.renderfixedcolheader.shot @@ -1134,7 +1134,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1146,7 +1145,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1213,12 +1212,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -1274,7 +1271,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1286,7 +1282,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1294,12 +1290,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -1353,7 +1347,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1365,7 +1358,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1373,12 +1366,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -1446,7 +1437,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1458,7 +1448,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1525,12 +1515,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -1586,7 +1574,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1598,7 +1585,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1606,12 +1593,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -1665,7 +1650,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1677,7 +1661,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1685,12 +1669,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -2604,7 +2586,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -2616,7 +2597,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2683,12 +2664,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -2744,7 +2723,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -2756,7 +2734,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2764,12 +2742,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -2823,7 +2799,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -2835,7 +2810,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2843,12 +2818,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -2916,7 +2889,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -2928,7 +2900,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2995,12 +2967,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -3056,7 +3026,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -3068,7 +3037,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3076,12 +3045,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -3135,7 +3102,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -3147,7 +3113,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3155,12 +3121,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -4140,7 +4104,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4152,7 +4115,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4219,12 +4182,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -4280,7 +4241,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4292,7 +4252,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4300,12 +4260,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -4359,7 +4317,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4371,7 +4328,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4379,12 +4336,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -4452,7 +4407,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4464,7 +4418,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4531,12 +4485,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -4592,7 +4544,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4604,7 +4555,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4612,12 +4563,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -4671,7 +4620,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4683,7 +4631,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4691,12 +4639,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -5610,7 +5556,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -5622,7 +5567,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5689,12 +5634,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -5750,7 +5693,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -5762,7 +5704,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5770,12 +5712,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -5829,7 +5769,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -5841,7 +5780,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5849,12 +5788,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -5922,7 +5859,6 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -5934,7 +5870,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6001,12 +5937,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -6062,7 +5996,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -6074,7 +6007,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6082,12 +6015,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, @@ -6141,7 +6072,6 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", - "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -6153,7 +6083,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6161,12 +6091,10 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, - "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, - "name": undefined, "style": undefined, }, }, diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.renderrowspan.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.renderrowspan.shot index f1c3067c1..fb10554ba 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.renderrowspan.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.renderrowspan.shot @@ -174,7 +174,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -246,7 +246,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -291,7 +291,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -351,7 +351,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -388,7 +388,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -460,7 +460,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -686,7 +686,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -758,7 +758,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -803,7 +803,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -863,7 +863,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -900,7 +900,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -972,7 +972,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1080,7 +1080,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1152,7 +1152,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1197,7 +1197,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1257,7 +1257,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1294,7 +1294,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1366,7 +1366,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.rtl.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.rtl.shot index 94ece3471..45d230a78 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.rtl.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.rtl.shot @@ -98,7 +98,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -133,7 +133,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -193,7 +193,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -230,7 +230,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -370,7 +370,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -405,7 +405,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -465,7 +465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -502,7 +502,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -600,7 +600,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -635,7 +635,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -695,7 +695,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -732,7 +732,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.transformcols.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.transformcols.shot index 089fd4415..f7ee0296f 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.transformcols.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.transformcols.shot @@ -292,7 +292,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -386,7 +386,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -438,7 +438,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -481,7 +481,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -575,7 +575,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -627,7 +627,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -695,7 +695,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -789,7 +789,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -841,7 +841,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -886,7 +886,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -980,7 +980,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1032,7 +1032,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1382,7 +1382,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1476,7 +1476,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1528,7 +1528,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1571,7 +1571,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1665,7 +1665,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1717,7 +1717,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1785,7 +1785,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1879,7 +1879,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1931,7 +1931,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1976,7 +1976,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2070,7 +2070,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2122,7 +2122,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2228,7 +2228,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2322,7 +2322,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2374,7 +2374,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2417,7 +2417,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2511,7 +2511,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2563,7 +2563,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2631,7 +2631,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2725,7 +2725,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2777,7 +2777,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2822,7 +2822,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2916,7 +2916,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2968,7 +2968,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/octable.module.scss b/src/components/Table/Internal/octable.module.scss index 7c2fd414a..bbbe3cb94 100644 --- a/src/components/Table/Internal/octable.module.scss +++ b/src/components/Table/Internal/octable.module.scss @@ -11,11 +11,16 @@ border-radius: $table-border-radius; } - th { + thead th { line-height: $text-line-height-1; @include text-overflow(); } + tbody th { + font-weight: inherit; + text-align: inherit; + } + th, td { position: relative; @@ -234,11 +239,13 @@ tbody { tr.table-row { &:nth-child(odd) { + th, td { background-color: var(--table-background-alternate-color); } &:hover { + th, td { background-color: var(--table-row-hover-background-color); } diff --git a/src/components/Table/Styles/bordered.scss b/src/components/Table/Styles/bordered.scss index 46ab04aaf..945be0871 100644 --- a/src/components/Table/Styles/bordered.scss +++ b/src/components/Table/Styles/bordered.scss @@ -16,6 +16,7 @@ border-spacing: 0; thead tr th, + tbody tr th, tbody tr td, tfoot tr th, tfoot tr td { @@ -52,10 +53,12 @@ } tbody { + tr:not(:last-of-type) th, tr:not(:last-of-type) td { border-bottom: var(--table-border); } + tr:last-of-type th, tr:last-of-type td { border-bottom: none; } @@ -151,6 +154,7 @@ border-right: none; } + tbody tr th, tbody tr td, tfoot tr td { &:first-of-type { @@ -158,7 +162,10 @@ } border-right: var(--table-border); + } + tbody tr td, + tfoot tr td { &:last-of-type { border-right: none; } @@ -184,6 +191,7 @@ } tbody { + tr:not(:last-of-type) th, tr:not(:last-of-type) td { border-bottom: var(--table-border); } @@ -269,6 +277,7 @@ border-right: var(--table-border); } + tbody tr th, tbody tr td, tfoot tr td { border-left: none; @@ -296,6 +305,7 @@ } tbody { + tr th, tr td { border-bottom: none; } @@ -382,6 +392,7 @@ border-spacing: 0; thead tr th, + tbody tr th, tbody tr td, tfoot tr th, tfoot tr td { @@ -391,6 +402,7 @@ } thead tr th, + tbody tr th, tbody tr td, tfoot tr th, tfoot tr td { @@ -426,6 +438,7 @@ } tbody { + tr:not(:last-of-type) th, tr:not(:last-of-type) td { border-bottom: var(--table-border); } @@ -518,6 +531,7 @@ } tbody { + tr:not(:last-of-type) th, tr:not(:last-of-type) td { border-bottom: var(--table-border); } @@ -589,6 +603,7 @@ } tbody { + tr th:not(:last-of-type), tr td:not(:last-of-type) { border-right: var(--table-border); } diff --git a/src/components/Table/Styles/table.module.scss b/src/components/Table/Styles/table.module.scss index ac77a674e..02806d7c2 100644 --- a/src/components/Table/Styles/table.module.scss +++ b/src/components/Table/Styles/table.module.scss @@ -133,6 +133,7 @@ } &.table-row-selected { + th, td { background: var(--table-row-selected-background-color); border-color: rgba(0, 0, 0, 0.03); @@ -459,6 +460,7 @@ &.table-expanded-row { &, &:hover { + th, td { background: var(--table-row-expanded-background-color); } @@ -628,13 +630,16 @@ &-row-hover { .table-tbody { tr { + &.table-row:hover th, &.table-row:hover td, + th.table-cell-row-hover, td.table-cell-row-hover { background: var(--table-row-hover-background-color); } &.table-row-selected { &:hover { + th, td { background: var(--table-row-selected-hover-background-color); } diff --git a/src/components/Table/Tests/Table.filter.test.js b/src/components/Table/Tests/Table.filter.test.js index 96374e6fd..a3855d5c5 100644 --- a/src/components/Table/Tests/Table.filter.test.js +++ b/src/components/Table/Tests/Table.filter.test.js @@ -395,6 +395,6 @@ describe('Table.filter', () => { ); expect(wrapper.find('tbody tr')).toHaveLength(1); - expect(wrapper.find('tbody tr td').text()).toEqual('Jack'); + expect(wrapper.find('tbody tr th').text()).toEqual('Jack'); }); }); diff --git a/src/components/Table/Tests/Table.order.test.js b/src/components/Table/Tests/Table.order.test.js index 170774c45..df8ec3504 100644 --- a/src/components/Table/Tests/Table.order.test.js +++ b/src/components/Table/Tests/Table.order.test.js @@ -70,7 +70,10 @@ describe('Table.order', () => { }) ); - expect(wrapper.find('tr').last().find('td')).toHaveLength(3); + expect( + wrapper.find('tr').last().find('th').length + + wrapper.find('tr').last().find('td').length + ).toBe(3); wrapper.unmount(); }); }); diff --git a/src/components/Table/Tests/__snapshots__/Table.expand.test.tsx.snap b/src/components/Table/Tests/__snapshots__/Table.expand.test.tsx.snap index 9dc1ec5cb..adb10788b 100644 --- a/src/components/Table/Tests/__snapshots__/Table.expand.test.tsx.snap +++ b/src/components/Table/Tests/__snapshots__/Table.expand.test.tsx.snap @@ -322,7 +322,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -576,7 +576,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -855,7 +855,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1111,7 +1111,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1470,7 +1470,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1724,7 +1724,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2003,7 +2003,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2259,7 +2259,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2576,7 +2576,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2830,7 +2830,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3109,7 +3109,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3365,7 +3365,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4277,7 +4277,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4531,7 +4531,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4810,7 +4810,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5066,7 +5066,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5425,7 +5425,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5679,7 +5679,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5958,7 +5958,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6214,7 +6214,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6531,7 +6531,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6785,7 +6785,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7064,7 +7064,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7320,7 +7320,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.filter.test.js.snap b/src/components/Table/Tests/__snapshots__/Table.filter.test.js.snap index 6439b0de0..01c80c867 100644 --- a/src/components/Table/Tests/__snapshots__/Table.filter.test.js.snap +++ b/src/components/Table/Tests/__snapshots__/Table.filter.test.js.snap @@ -413,7 +413,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -448,7 +448,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -483,7 +483,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -518,7 +518,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -602,7 +602,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -637,7 +637,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -672,7 +672,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -733,7 +733,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -791,7 +791,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -826,7 +826,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -875,7 +875,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -912,7 +912,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -980,7 +980,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1017,7 +1017,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1054,7 +1054,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1091,7 +1091,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1561,7 +1561,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1596,7 +1596,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1631,7 +1631,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1666,7 +1666,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1750,7 +1750,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1785,7 +1785,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1820,7 +1820,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1881,7 +1881,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1939,7 +1939,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1974,7 +1974,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2023,7 +2023,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2060,7 +2060,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2128,7 +2128,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2165,7 +2165,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2202,7 +2202,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2239,7 +2239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2357,7 +2357,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2392,7 +2392,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2427,7 +2427,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2462,7 +2462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2546,7 +2546,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2616,7 +2616,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2677,7 +2677,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2735,7 +2735,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2770,7 +2770,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2819,7 +2819,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2856,7 +2856,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2924,7 +2924,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2961,7 +2961,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2998,7 +2998,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3035,7 +3035,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4063,7 +4063,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4098,7 +4098,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4133,7 +4133,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4168,7 +4168,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4252,7 +4252,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4287,7 +4287,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4322,7 +4322,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4383,7 +4383,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4441,7 +4441,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4476,7 +4476,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4525,7 +4525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4562,7 +4562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4630,7 +4630,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4667,7 +4667,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4704,7 +4704,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4741,7 +4741,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5211,7 +5211,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5246,7 +5246,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5281,7 +5281,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5316,7 +5316,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5400,7 +5400,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5435,7 +5435,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5470,7 +5470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5531,7 +5531,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5589,7 +5589,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5624,7 +5624,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5673,7 +5673,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5710,7 +5710,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5778,7 +5778,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5815,7 +5815,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5852,7 +5852,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5889,7 +5889,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6007,7 +6007,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6042,7 +6042,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6077,7 +6077,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6112,7 +6112,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6196,7 +6196,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6231,7 +6231,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6266,7 +6266,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6327,7 +6327,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6385,7 +6385,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6420,7 +6420,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6469,7 +6469,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6506,7 +6506,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6574,7 +6574,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6611,7 +6611,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6648,7 +6648,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6685,7 +6685,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7713,7 +7713,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7748,7 +7748,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7783,7 +7783,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7818,7 +7818,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7902,7 +7902,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7937,7 +7937,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7972,7 +7972,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8033,7 +8033,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8091,7 +8091,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8126,7 +8126,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8175,7 +8175,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8212,7 +8212,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8280,7 +8280,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8317,7 +8317,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8354,7 +8354,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8391,7 +8391,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8861,7 +8861,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8896,7 +8896,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8931,7 +8931,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8966,7 +8966,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9050,7 +9050,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9085,7 +9085,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9120,7 +9120,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9181,7 +9181,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9239,7 +9239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9274,7 +9274,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9323,7 +9323,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9360,7 +9360,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9428,7 +9428,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9465,7 +9465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9502,7 +9502,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9539,7 +9539,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9657,7 +9657,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9692,7 +9692,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9727,7 +9727,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9762,7 +9762,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9846,7 +9846,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9881,7 +9881,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9916,7 +9916,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9977,7 +9977,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10035,7 +10035,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10070,7 +10070,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10119,7 +10119,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10156,7 +10156,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10224,7 +10224,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10261,7 +10261,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10298,7 +10298,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10335,7 +10335,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.fixselectionexpandonleft.shot b/src/components/Table/Tests/__snapshots__/Table.fixselectionexpandonleft.shot index 36ce95f91..3f41f7958 100644 --- a/src/components/Table/Tests/__snapshots__/Table.fixselectionexpandonleft.shot +++ b/src/components/Table/Tests/__snapshots__/Table.fixselectionexpandonleft.shot @@ -1292,7 +1292,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1649,7 +1649,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1981,7 +1981,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2338,7 +2338,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2709,7 +2709,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3066,7 +3066,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3398,7 +3398,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3755,7 +3755,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4314,7 +4314,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4671,7 +4671,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5005,7 +5005,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5362,7 +5362,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6881,7 +6881,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7238,7 +7238,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7570,7 +7570,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7927,7 +7927,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8298,7 +8298,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8655,7 +8655,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8987,7 +8987,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9344,7 +9344,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9903,7 +9903,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10260,7 +10260,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10594,7 +10594,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10951,7 +10951,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11755,7 +11755,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12112,7 +12112,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12444,7 +12444,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12801,7 +12801,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13172,7 +13172,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13529,7 +13529,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13861,7 +13861,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14218,7 +14218,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14777,7 +14777,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15134,7 +15134,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15468,7 +15468,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15825,7 +15825,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.fixselectionleft.shot b/src/components/Table/Tests/__snapshots__/Table.fixselectionleft.shot index e4eb1ce13..e9dc8d311 100644 --- a/src/components/Table/Tests/__snapshots__/Table.fixselectionleft.shot +++ b/src/components/Table/Tests/__snapshots__/Table.fixselectionleft.shot @@ -1292,7 +1292,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1649,7 +1649,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1981,7 +1981,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2338,7 +2338,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2709,7 +2709,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3066,7 +3066,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3398,7 +3398,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3755,7 +3755,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4314,7 +4314,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4671,7 +4671,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5005,7 +5005,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5362,7 +5362,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6881,7 +6881,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7238,7 +7238,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7570,7 +7570,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7927,7 +7927,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8298,7 +8298,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8655,7 +8655,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8987,7 +8987,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9344,7 +9344,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9903,7 +9903,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10260,7 +10260,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10594,7 +10594,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10951,7 +10951,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11755,7 +11755,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12112,7 +12112,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12444,7 +12444,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12801,7 +12801,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13172,7 +13172,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13529,7 +13529,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13861,7 +13861,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14218,7 +14218,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14777,7 +14777,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15134,7 +15134,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15468,7 +15468,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15825,7 +15825,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.fixselectionwithcols.shot b/src/components/Table/Tests/__snapshots__/Table.fixselectionwithcols.shot index 37997460e..e6fd4dd29 100644 --- a/src/components/Table/Tests/__snapshots__/Table.fixselectionwithcols.shot +++ b/src/components/Table/Tests/__snapshots__/Table.fixselectionwithcols.shot @@ -1298,7 +1298,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1659,7 +1659,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1993,7 +1993,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2354,7 +2354,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2727,7 +2727,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3088,7 +3088,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3422,7 +3422,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3783,7 +3783,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4344,7 +4344,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4705,7 +4705,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5041,7 +5041,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5402,7 +5402,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6929,7 +6929,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7290,7 +7290,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7624,7 +7624,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7985,7 +7985,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8358,7 +8358,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8719,7 +8719,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9053,7 +9053,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9414,7 +9414,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9975,7 +9975,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10336,7 +10336,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10672,7 +10672,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -11033,7 +11033,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11839,7 +11839,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12200,7 +12200,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12534,7 +12534,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12895,7 +12895,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13268,7 +13268,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13629,7 +13629,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13963,7 +13963,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14324,7 +14324,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14885,7 +14885,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15246,7 +15246,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15582,7 +15582,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15943,7 +15943,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.pagination.accepttrue.shot b/src/components/Table/Tests/__snapshots__/Table.pagination.accepttrue.shot index 9831d2874..de0996a80 100644 --- a/src/components/Table/Tests/__snapshots__/Table.pagination.accepttrue.shot +++ b/src/components/Table/Tests/__snapshots__/Table.pagination.accepttrue.shot @@ -103,7 +103,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -138,7 +138,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -198,7 +198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -235,7 +235,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -375,7 +375,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,7 +470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -507,7 +507,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -605,7 +605,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -700,7 +700,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -737,7 +737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1430,7 +1430,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1465,7 +1465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1525,7 +1525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1562,7 +1562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1702,7 +1702,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1737,7 +1737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1797,7 +1797,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1967,7 +1967,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2027,7 +2027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2064,7 +2064,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.pagination.nocrashonchange.shot b/src/components/Table/Tests/__snapshots__/Table.pagination.nocrashonchange.shot index ac3b9059a..13d24e00f 100644 --- a/src/components/Table/Tests/__snapshots__/Table.pagination.nocrashonchange.shot +++ b/src/components/Table/Tests/__snapshots__/Table.pagination.nocrashonchange.shot @@ -103,7 +103,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -138,7 +138,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -198,7 +198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -235,7 +235,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -375,7 +375,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,7 +470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -507,7 +507,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -605,7 +605,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -700,7 +700,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -737,7 +737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1430,7 +1430,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1465,7 +1465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1525,7 +1525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1562,7 +1562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1702,7 +1702,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1737,7 +1737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1797,7 +1797,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1967,7 +1967,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2027,7 +2027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2064,7 +2064,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.pagination.position.shot b/src/components/Table/Tests/__snapshots__/Table.pagination.position.shot index 8bbf63e2a..4e365b0a1 100644 --- a/src/components/Table/Tests/__snapshots__/Table.pagination.position.shot +++ b/src/components/Table/Tests/__snapshots__/Table.pagination.position.shot @@ -103,7 +103,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -138,7 +138,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -198,7 +198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -235,7 +235,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -375,7 +375,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,7 +470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -507,7 +507,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -605,7 +605,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -700,7 +700,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -737,7 +737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1430,7 +1430,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1465,7 +1465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1525,7 +1525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1562,7 +1562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1702,7 +1702,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1737,7 +1737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1797,7 +1797,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1967,7 +1967,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2027,7 +2027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2064,7 +2064,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.pagination.renders.shot b/src/components/Table/Tests/__snapshots__/Table.pagination.renders.shot index 268987e4d..e5f91df9d 100644 --- a/src/components/Table/Tests/__snapshots__/Table.pagination.renders.shot +++ b/src/components/Table/Tests/__snapshots__/Table.pagination.renders.shot @@ -103,7 +103,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -138,7 +138,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -198,7 +198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -235,7 +235,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -375,7 +375,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,7 +470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -507,7 +507,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -605,7 +605,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -700,7 +700,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -737,7 +737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1430,7 +1430,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1465,7 +1465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1525,7 +1525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1562,7 +1562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1702,7 +1702,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1737,7 +1737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1797,7 +1797,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1967,7 +1967,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2027,7 +2027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2064,7 +2064,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.sorter.test.js.snap b/src/components/Table/Tests/__snapshots__/Table.sorter.test.js.snap index a57a8d231..dd29faa29 100644 --- a/src/components/Table/Tests/__snapshots__/Table.sorter.test.js.snap +++ b/src/components/Table/Tests/__snapshots__/Table.sorter.test.js.snap @@ -560,7 +560,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -595,7 +595,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -630,7 +630,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -665,7 +665,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -749,7 +749,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -784,7 +784,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -819,7 +819,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -880,7 +880,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -938,7 +938,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -973,7 +973,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1022,7 +1022,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1059,7 +1059,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1127,7 +1127,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1164,7 +1164,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1201,7 +1201,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1238,7 +1238,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1470,7 +1470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1505,7 +1505,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1540,7 +1540,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1575,7 +1575,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1659,7 +1659,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1694,7 +1694,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1729,7 +1729,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1790,7 +1790,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1848,7 +1848,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1883,7 +1883,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1969,7 +1969,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2037,7 +2037,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2074,7 +2074,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2111,7 +2111,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2148,7 +2148,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2357,7 +2357,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2392,7 +2392,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2427,7 +2427,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2462,7 +2462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2546,7 +2546,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2616,7 +2616,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2677,7 +2677,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2735,7 +2735,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2770,7 +2770,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2819,7 +2819,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2856,7 +2856,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2924,7 +2924,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2961,7 +2961,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2998,7 +2998,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3035,7 +3035,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3891,7 +3891,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3926,7 +3926,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3961,7 +3961,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3996,7 +3996,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4080,7 +4080,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4115,7 +4115,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4150,7 +4150,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4211,7 +4211,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4269,7 +4269,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4304,7 +4304,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4353,7 +4353,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4390,7 +4390,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4458,7 +4458,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4495,7 +4495,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4532,7 +4532,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4569,7 +4569,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5216,7 +5216,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5251,7 +5251,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5286,7 +5286,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5321,7 +5321,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5405,7 +5405,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5440,7 +5440,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5475,7 +5475,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5536,7 +5536,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5594,7 +5594,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5629,7 +5629,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5678,7 +5678,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5715,7 +5715,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5783,7 +5783,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5820,7 +5820,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5857,7 +5857,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5894,7 +5894,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6012,7 +6012,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6047,7 +6047,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6082,7 +6082,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6117,7 +6117,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6201,7 +6201,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6236,7 +6236,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6271,7 +6271,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6332,7 +6332,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6390,7 +6390,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6425,7 +6425,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6474,7 +6474,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6511,7 +6511,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6579,7 +6579,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6616,7 +6616,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6653,7 +6653,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6690,7 +6690,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8100,7 +8100,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8744,7 +8744,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8832,7 +8832,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10543,7 +10543,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -11187,7 +11187,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -11275,7 +11275,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.test.js.snap b/src/components/Table/Tests/__snapshots__/Table.test.js.snap index fdb37afe1..7c5c7b12e 100644 --- a/src/components/Table/Tests/__snapshots__/Table.test.js.snap +++ b/src/components/Table/Tests/__snapshots__/Table.test.js.snap @@ -546,7 +546,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -664,7 +664,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -732,7 +732,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -783,7 +783,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -901,7 +901,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -969,7 +969,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1045,7 +1045,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1163,7 +1163,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1231,7 +1231,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1284,7 +1284,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1402,7 +1402,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1470,7 +1470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2069,7 +2069,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2187,7 +2187,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2255,7 +2255,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2306,7 +2306,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2424,7 +2424,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2492,7 +2492,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2568,7 +2568,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2686,7 +2686,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2754,7 +2754,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2807,7 +2807,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2925,7 +2925,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2993,7 +2993,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3107,7 +3107,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3225,7 +3225,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3293,7 +3293,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3344,7 +3344,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3462,7 +3462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3530,7 +3530,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3606,7 +3606,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3724,7 +3724,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3792,7 +3792,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3845,7 +3845,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3963,7 +3963,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4031,7 +4031,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.usecolselectionwithkey.shot b/src/components/Table/Tests/__snapshots__/Table.usecolselectionwithkey.shot index 041b77127..522fbb3ea 100644 --- a/src/components/Table/Tests/__snapshots__/Table.usecolselectionwithkey.shot +++ b/src/components/Table/Tests/__snapshots__/Table.usecolselectionwithkey.shot @@ -1094,7 +1094,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1448,7 +1448,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1777,7 +1777,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2131,7 +2131,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2485,7 +2485,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2839,7 +2839,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3170,7 +3170,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3524,7 +3524,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4644,7 +4644,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4998,7 +4998,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5327,7 +5327,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5681,7 +5681,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6035,7 +6035,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6389,7 +6389,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6720,7 +6720,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7074,7 +7074,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7485,7 +7485,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7839,7 +7839,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8168,7 +8168,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8522,7 +8522,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8876,7 +8876,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9230,7 +9230,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9561,7 +9561,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9915,7 +9915,7 @@ LoadedCheerio { }, }, ], - "name": "td", + "name": "th", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], From 9d4dabf7bdec1a40f031b7657adb7a45e061148d Mon Sep 17 00:00:00 2001 From: ksharma-c-eightfold Date: Tue, 31 Mar 2026 17:00:09 +0530 Subject: [PATCH 2/3] fix(Table): add scope row and col accessibility attributes --- .../Table/Internal/Body/Body.types.ts | 2 + .../Table/Internal/Body/BodyRow.tsx | 7 +- src/components/Table/Internal/Body/index.tsx | 2 + src/components/Table/Internal/OcTable.tsx | 2 + .../Table/Internal/OcTable.types.ts | 5 + .../Table/Internal/Tests/FixedColumn.test.js | 2 +- .../Table/Internal/Tests/Hover.test.tsx | 36 ++- .../Table/Internal/Tests/Table.test.js | 26 +- .../ExpandRow.childrencolname.shot | 108 +++---- .../__snapshots__/ExpandRow.expandable1.shot | 144 ++++----- .../__snapshots__/ExpandRow.expandable2.shot | 144 ++++----- .../ExpandRow.nonestinvalidchildren.shot | 108 +++---- .../ExpandRow.renderfixedcol.shot | 72 ++--- .../__snapshots__/ExpandRow.rendertree.shot | 108 +++---- .../ExpandRow.rendertreechildren.shot | 12 +- .../__snapshots__/ExpandRow.scrollunset1.shot | 144 ++++----- .../__snapshots__/ExpandRow.scrollunset2.shot | 144 ++++----- .../FixedColumn.renderwithdata.shot | 84 ++--- .../Tests/__snapshots__/FixedColumn.rtl.shot | 36 +-- .../Table.colchildrenundefined.shot | 48 +-- .../__snapshots__/Table.customcomponents.shot | 60 +++- .../Tests/__snapshots__/Table.falseycols.shot | 48 +-- .../Tests/__snapshots__/Table.nocols.shot | 24 +- .../__snapshots__/Table.renderbasic.shot | 24 +- .../__snapshots__/Table.rendercolspan.shot | 36 +-- .../Table.renderfixedcolheader.shot | 120 ++++++-- .../__snapshots__/Table.renderrowspan.shot | 36 +-- .../Tests/__snapshots__/Table.rtl.shot | 24 +- .../__snapshots__/Table.transformcols.shot | 72 ++--- .../Table/Tests/Table.filter.test.js | 2 +- .../__snapshots__/Table.expand.test.tsx.snap | 48 +-- .../__snapshots__/Table.filter.test.js.snap | 288 +++++++++--------- .../Table.fixselectionexpandonleft.shot | 72 ++--- .../__snapshots__/Table.fixselectionleft.shot | 72 ++--- .../Table.fixselectionwithcols.shot | 72 ++--- .../Table.pagination.accepttrue.shot | 48 +-- .../Table.pagination.nocrashonchange.shot | 48 +-- .../Table.pagination.position.shot | 48 +-- .../Table.pagination.renders.shot | 48 +-- .../__snapshots__/Table.sorter.test.js.snap | 204 ++++++------- .../Tests/__snapshots__/Table.test.js.snap | 72 ++--- .../Table.usecolselectionwithkey.shot | 48 +-- 42 files changed, 1435 insertions(+), 1313 deletions(-) diff --git a/src/components/Table/Internal/Body/Body.types.ts b/src/components/Table/Internal/Body/Body.types.ts index 76613bfed..bb1a31455 100644 --- a/src/components/Table/Internal/Body/Body.types.ts +++ b/src/components/Table/Internal/Body/Body.types.ts @@ -35,6 +35,7 @@ export interface BodyRowProps { expandedKeys: Set; rowComponent: CustomizeComponent; cellComponent: CustomizeComponent; + rowHeaderCellComponent?: CustomizeComponent; onRow: GetComponentProps; rowExpandable: (record: RecordType) => boolean; rowExpandDisabled?: (record: RecordType) => boolean; @@ -74,6 +75,7 @@ export interface BodyProps { onRow: GetComponentProps; rowExpandable: (record: RecordType) => boolean; rowExpandDisabled?: (record: RecordType) => boolean; + rowHeaderCellComponent?: CustomizeComponent; emptyNode: React.ReactNode; childrenColumnName: string; /** diff --git a/src/components/Table/Internal/Body/BodyRow.tsx b/src/components/Table/Internal/Body/BodyRow.tsx index ce72b031b..ebc8b68f6 100644 --- a/src/components/Table/Internal/Body/BodyRow.tsx +++ b/src/components/Table/Internal/Body/BodyRow.tsx @@ -32,6 +32,7 @@ function BodyRow( indent = 0, rowComponent: RowComponent, cellComponent, + rowHeaderCellComponent, childrenColumnName, onRowHoverEnter, onRowHoverLeave, @@ -170,7 +171,11 @@ function BodyRow( ellipsis={column.ellipsis} align={column.align} verticalAlign={column.verticalAlign} - component={colIndex === 0 ? 'th' : cellComponent} + component={ + colIndex === 0 && rowHeaderCellComponent + ? rowHeaderCellComponent + : cellComponent + } key={key} record={record} index={index} diff --git a/src/components/Table/Internal/Body/index.tsx b/src/components/Table/Internal/Body/index.tsx index bb5c451b1..491ac2c03 100644 --- a/src/components/Table/Internal/Body/index.tsx +++ b/src/components/Table/Internal/Body/index.tsx @@ -29,6 +29,7 @@ function Body({ onRow, rowExpandable, rowExpandDisabled, + rowHeaderCellComponent, emptyNode, childrenColumnName, onRowHoverEnter, @@ -88,6 +89,7 @@ function Body({ renderIndex={renderIndex} rowComponent={trComponent} cellComponent={tdComponent} + rowHeaderCellComponent={rowHeaderCellComponent} expandedKeys={expandedKeys} onRow={onRow} getRowKey={getRowKey} diff --git a/src/components/Table/Internal/OcTable.tsx b/src/components/Table/Internal/OcTable.tsx index 51e5e07f6..fb77c5804 100644 --- a/src/components/Table/Internal/OcTable.tsx +++ b/src/components/Table/Internal/OcTable.tsx @@ -118,6 +118,7 @@ function OcTable( onHeaderRow, transformColumns, rowHoverBackgroundEnabled = true, + rowHeaderCellComponent, sticky, headerClassName, onRowHoverEnter, @@ -537,6 +538,7 @@ function OcTable( expandedKeys={mergedExpandedKeys} rowExpandable={rowExpandable} rowExpandDisabled={rowExpandDisabled} + rowHeaderCellComponent={rowHeaderCellComponent} getRowKey={getRowKey} onRow={onRow} emptyNode={emptyNode} diff --git a/src/components/Table/Internal/OcTable.types.ts b/src/components/Table/Internal/OcTable.types.ts index 3abf40639..3fb1dfdf2 100644 --- a/src/components/Table/Internal/OcTable.types.ts +++ b/src/components/Table/Internal/OcTable.types.ts @@ -518,6 +518,11 @@ export interface OcTableProps { * Override default Table elements. */ components?: TableComponents; + /** + * The component used for the first cell in each body row. + * Defaults to 'td'. Pass 'th' to render row header cells. + */ + rowHeaderCellComponent?: CustomizeComponent; /** * The Table canvas direction. * options: 'ltr', 'rtl' diff --git a/src/components/Table/Internal/Tests/FixedColumn.test.js b/src/components/Table/Internal/Tests/FixedColumn.test.js index a16e70aaf..bf8ec8e2c 100644 --- a/src/components/Table/Internal/Tests/FixedColumn.test.js +++ b/src/components/Table/Internal/Tests/FixedColumn.test.js @@ -194,7 +194,7 @@ describe('Table.FixedColumn', () => { wrapper.find('thead tr th').find('.table-cell-content') ).toHaveLength(1); expect( - wrapper.find('tbody tr th').find('.table-cell-content') + wrapper.find('tbody tr td').find('.table-cell-content') ).toHaveLength(data.length); }); diff --git a/src/components/Table/Internal/Tests/Hover.test.tsx b/src/components/Table/Internal/Tests/Hover.test.tsx index db837a765..7cd9d1113 100644 --- a/src/components/Table/Internal/Tests/Hover.test.tsx +++ b/src/components/Table/Internal/Tests/Hover.test.tsx @@ -28,10 +28,10 @@ describe('Table.Hover', () => { it('basic', () => { const wrapper = mount(createTable()); - wrapper.find('tbody th').first().simulate('mouseEnter'); + wrapper.find('tbody td').first().simulate('mouseEnter'); expect(wrapper.exists('.table-cell-row-hover')).toBeTruthy(); - wrapper.find('tbody th').first().simulate('mouseLeave'); + wrapper.find('tbody td').first().simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); }); @@ -49,10 +49,10 @@ describe('Table.Hover', () => { }) ); - wrapper.find('tbody th').first().simulate('mouseEnter'); + wrapper.find('tbody td').first().simulate('mouseEnter'); expect(wrapper.exists('.table-cell-row-hover')).toBeTruthy(); - wrapper.find('tbody th').first().simulate('mouseLeave'); + wrapper.find('tbody td').first().simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); }); @@ -78,21 +78,19 @@ describe('Table.Hover', () => { }) ); - // Merge row check (1 th + 2 td = 3) - expect( - wrapper.find('tbody th').length + wrapper.find('tbody td').length - ).toBe(3); + // Merge row check (3 td = 3) + expect(wrapper.find('tbody td').length).toBe(3); - // Hover 0-0 (th with rowSpan=2) - wrapper.find('tbody th').at(0).simulate('mouseEnter'); + // Hover 0-0 (td with rowSpan=2) + wrapper.find('tbody td').at(0).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(3); - // Hover 0-1 (first td = row0,col1) - wrapper.find('tbody td').at(0).simulate('mouseEnter'); + // Hover 0-1 (second td = row0,col1) + wrapper.find('tbody td').at(1).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(2); // Mouse leave - wrapper.find('tbody td').at(0).simulate('mouseLeave'); + wrapper.find('tbody td').at(1).simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); }); @@ -119,19 +117,19 @@ describe('Table.Hover', () => { // Hover 0-0 renderTimes = 0; - wrapper.find('tbody th').at(0).simulate('mouseEnter'); + wrapper.find('tbody td').at(0).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(1); expect(renderTimes).toBe(1); // Hover 0-1 renderTimes = 0; - wrapper.find('tbody th').at(1).simulate('mouseEnter'); + wrapper.find('tbody td').at(1).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(1); expect(renderTimes).toBe(2); // Mouse leave renderTimes = 0; - wrapper.find('tbody th').at(1).simulate('mouseLeave'); + wrapper.find('tbody td').at(1).simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); expect(renderTimes).toBe(1); }); @@ -156,19 +154,19 @@ describe('Table.Hover', () => { // Hover 0-0 renderTimes = 0; - wrapper.find('tbody th').at(0).simulate('mouseEnter'); + wrapper.find('tbody td').at(0).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(1); expect(renderTimes).toBe(0); // Hover 0-1 renderTimes = 0; - wrapper.find('tbody th').at(1).simulate('mouseEnter'); + wrapper.find('tbody td').at(1).simulate('mouseEnter'); expect(wrapper.find('.table-cell-row-hover')).toHaveLength(1); expect(renderTimes).toBe(0); // Mouse leave renderTimes = 0; - wrapper.find('tbody th').at(1).simulate('mouseLeave'); + wrapper.find('tbody td').at(1).simulate('mouseLeave'); expect(wrapper.exists('.table-cell-row-hover')).toBeFalsy(); expect(renderTimes).toBe(0); }); diff --git a/src/components/Table/Internal/Tests/Table.test.js b/src/components/Table/Internal/Tests/Table.test.js index 5d3751c02..0cecc03d3 100644 --- a/src/components/Table/Internal/Tests/Table.test.js +++ b/src/components/Table/Internal/Tests/Table.test.js @@ -351,7 +351,7 @@ describe('Table.Basic', () => { { key: 'key1', name: 'Mia' }, ]; const wrapper = mount(createTable({ data: localData })); - expect(wrapper.find('tbody th').first().text()).toBe(''); + expect(wrapper.find('tbody td').first().text()).toBe(''); }); it('renders colSpan correctly', () => { @@ -423,7 +423,7 @@ describe('Table.Basic', () => { }} /> ); - const props = wrapper.find('tbody th').props(); + const props = wrapper.find('tbody td').props(); expect(props.style).toEqual(expect.objectContaining({ background: 'red' })); expect(props.className.includes('customize-render')).toBeTruthy(); expect(props['data-light']).toEqual('bamboo'); @@ -529,7 +529,7 @@ describe('Table.Basic', () => { }; const wrapper = mount(); for (let i = 0; i < 10; i += 1) { - wrapper.find('tbody tr th').last().simulate('click'); + wrapper.find('tbody tr td').last().simulate('click'); expect(wrapper.find('#count').text()).toEqual(String(i + 1)); } }); @@ -542,8 +542,8 @@ describe('Table.Basic', () => { const columns = [{ title: 'Name', dataIndex: 'name', key: 'name', onCell }]; const wrapper = mount(createTable({ columns })); - expect(wrapper.find('tbody th')).toHaveLength(2); - wrapper.find('tbody th').forEach((td, index) => { + expect(wrapper.find('tbody td')).toHaveLength(2); + wrapper.find('tbody td').forEach((td, index) => { expect(td.props().id).toEqual(`cell-${data[index].name}`); }); }); @@ -672,10 +672,10 @@ describe('Table.Basic', () => { expect(wrapper.find('th').at(0).props().style.textAlign).toBeFalsy(); expect(wrapper.find('th').at(1).props().style.textAlign).toEqual('center'); expect( - wrapper.find('tbody tr').first().find('th').at(0).props().style.textAlign + wrapper.find('tbody tr').first().find('td').at(0).props().style.textAlign ).toBeFalsy(); expect( - wrapper.find('tbody tr').first().find('td').at(0).props().style.textAlign + wrapper.find('tbody tr').first().find('td').at(1).props().style.textAlign ).toEqual('center'); }); @@ -695,7 +695,7 @@ describe('Table.Basic', () => { color: 'green', textAlign: 'center', }); - expect(wrapper.find('tbody th').first().props().style).toEqual({ + expect(wrapper.find('tbody td').first().props().style).toEqual({ color: 'red', textAlign: 'center', }); @@ -715,11 +715,11 @@ describe('Table.Basic', () => { expect(wrapper.find('th').at(0).props().style.verticalAlign).toBeFalsy(); expect(wrapper.find('th').at(1).props().style.verticalAlign).toEqual('top'); expect( - wrapper.find('tbody tr').first().find('th').at(0).props().style + wrapper.find('tbody tr').first().find('td').at(0).props().style .verticalAlign ).toBeFalsy(); expect( - wrapper.find('tbody tr').first().find('td').at(0).props().style + wrapper.find('tbody tr').first().find('td').at(1).props().style .verticalAlign ).toEqual('top'); }); @@ -740,7 +740,7 @@ describe('Table.Basic', () => { color: 'green', verticalAlign: 'top', }); - expect(wrapper.find('tbody th').first().props().style).toEqual({ + expect(wrapper.find('tbody td').first().props().style).toEqual({ color: 'red', verticalAlign: 'top', }); @@ -966,10 +966,10 @@ describe('Table.Basic', () => { } const wrapper = mount(); - expect(wrapper.find('tbody th').text()).toEqual('false'); + expect(wrapper.find('tbody td').text()).toEqual('false'); wrapper.setState({ change: true }); - expect(wrapper.find('tbody th').text()).toEqual('true'); + expect(wrapper.find('tbody td').text()).toEqual('true'); }); it('not crash with raw data', () => { diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.childrencolname.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.childrencolname.shot index 06bae5fe3..ce24620d6 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.childrencolname.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.childrencolname.shot @@ -290,7 +290,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -474,7 +474,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -633,7 +633,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -817,7 +817,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -976,7 +976,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1160,7 +1160,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1356,7 +1356,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1540,7 +1540,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1699,7 +1699,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1883,7 +1883,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2056,7 +2056,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2240,7 +2240,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2422,7 +2422,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2606,7 +2606,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2767,7 +2767,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2951,7 +2951,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3112,7 +3112,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3296,7 +3296,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3646,7 +3646,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3830,7 +3830,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3989,7 +3989,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4173,7 +4173,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4332,7 +4332,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4516,7 +4516,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4712,7 +4712,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4896,7 +4896,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5055,7 +5055,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5239,7 +5239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5412,7 +5412,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5596,7 +5596,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5778,7 +5778,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5962,7 +5962,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6123,7 +6123,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6307,7 +6307,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6468,7 +6468,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6652,7 +6652,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6884,7 +6884,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7068,7 +7068,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7227,7 +7227,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7411,7 +7411,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7570,7 +7570,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7754,7 +7754,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7950,7 +7950,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8134,7 +8134,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8293,7 +8293,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8477,7 +8477,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8650,7 +8650,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8834,7 +8834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9016,7 +9016,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9200,7 +9200,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9361,7 +9361,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9545,7 +9545,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9706,7 +9706,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9890,7 +9890,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable1.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable1.shot index 5c1032e55..229268655 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable1.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable1.shot @@ -1208,7 +1208,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1390,7 +1390,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1497,7 +1497,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1604,7 +1604,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1677,7 +1677,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1859,7 +1859,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1966,7 +1966,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2073,7 +2073,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2185,7 +2185,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2367,7 +2367,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2474,7 +2474,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2654,7 +2654,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2836,7 +2836,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2943,7 +2943,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3050,7 +3050,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3880,7 +3880,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4062,7 +4062,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4169,7 +4169,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4276,7 +4276,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4351,7 +4351,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4533,7 +4533,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4640,7 +4640,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4747,7 +4747,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6733,7 +6733,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6915,7 +6915,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7022,7 +7022,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7129,7 +7129,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7202,7 +7202,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7384,7 +7384,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7491,7 +7491,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7598,7 +7598,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7710,7 +7710,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7892,7 +7892,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7999,7 +7999,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8106,7 +8106,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8179,7 +8179,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8361,7 +8361,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8468,7 +8468,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8575,7 +8575,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9405,7 +9405,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9587,7 +9587,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9694,7 +9694,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9801,7 +9801,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9876,7 +9876,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10058,7 +10058,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10165,7 +10165,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10272,7 +10272,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11877,7 +11877,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12059,7 +12059,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12166,7 +12166,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12273,7 +12273,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12346,7 +12346,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12528,7 +12528,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12635,7 +12635,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12742,7 +12742,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12854,7 +12854,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13036,7 +13036,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13143,7 +13143,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13250,7 +13250,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13323,7 +13323,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13505,7 +13505,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13612,7 +13612,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13719,7 +13719,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14549,7 +14549,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14731,7 +14731,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14838,7 +14838,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14945,7 +14945,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15020,7 +15020,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15202,7 +15202,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15309,7 +15309,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15416,7 +15416,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable2.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable2.shot index 5c1032e55..229268655 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable2.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.expandable2.shot @@ -1208,7 +1208,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1390,7 +1390,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1497,7 +1497,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1604,7 +1604,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1677,7 +1677,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1859,7 +1859,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1966,7 +1966,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2073,7 +2073,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2185,7 +2185,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2367,7 +2367,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2474,7 +2474,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2654,7 +2654,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2836,7 +2836,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2943,7 +2943,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3050,7 +3050,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3880,7 +3880,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4062,7 +4062,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4169,7 +4169,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4276,7 +4276,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4351,7 +4351,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4533,7 +4533,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4640,7 +4640,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4747,7 +4747,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6733,7 +6733,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6915,7 +6915,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7022,7 +7022,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7129,7 +7129,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7202,7 +7202,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7384,7 +7384,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7491,7 +7491,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7598,7 +7598,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7710,7 +7710,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7892,7 +7892,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7999,7 +7999,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8106,7 +8106,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8179,7 +8179,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8361,7 +8361,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8468,7 +8468,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8575,7 +8575,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9405,7 +9405,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9587,7 +9587,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9694,7 +9694,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9801,7 +9801,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9876,7 +9876,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10058,7 +10058,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10165,7 +10165,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10272,7 +10272,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11877,7 +11877,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12059,7 +12059,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12166,7 +12166,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12273,7 +12273,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12346,7 +12346,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12528,7 +12528,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12635,7 +12635,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12742,7 +12742,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12854,7 +12854,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13036,7 +13036,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13143,7 +13143,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13250,7 +13250,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13323,7 +13323,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13505,7 +13505,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13612,7 +13612,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13719,7 +13719,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14549,7 +14549,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14731,7 +14731,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14838,7 +14838,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14945,7 +14945,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15020,7 +15020,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15202,7 +15202,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15309,7 +15309,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15416,7 +15416,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.nonestinvalidchildren.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.nonestinvalidchildren.shot index a97ae648a..0094d50eb 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.nonestinvalidchildren.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.nonestinvalidchildren.shot @@ -174,7 +174,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -242,7 +242,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -285,7 +285,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -353,7 +353,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -396,7 +396,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -464,7 +464,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -544,7 +544,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -612,7 +612,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -655,7 +655,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -723,7 +723,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -780,7 +780,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -848,7 +848,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -914,7 +914,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -982,7 +982,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1027,7 +1027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1095,7 +1095,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1140,7 +1140,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1208,7 +1208,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1442,7 +1442,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1510,7 +1510,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1553,7 +1553,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1621,7 +1621,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1664,7 +1664,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1732,7 +1732,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1812,7 +1812,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1880,7 +1880,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1923,7 +1923,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1991,7 +1991,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2048,7 +2048,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2116,7 +2116,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2182,7 +2182,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2250,7 +2250,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2295,7 +2295,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2363,7 +2363,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2408,7 +2408,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2476,7 +2476,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2592,7 +2592,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2660,7 +2660,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2703,7 +2703,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2771,7 +2771,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2814,7 +2814,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2882,7 +2882,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2962,7 +2962,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3030,7 +3030,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3073,7 +3073,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3141,7 +3141,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3198,7 +3198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3266,7 +3266,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3332,7 +3332,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3400,7 +3400,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3445,7 +3445,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3513,7 +3513,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3558,7 +3558,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3626,7 +3626,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.renderfixedcol.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.renderfixedcol.shot index 3162af27a..ffaf34793 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.renderfixedcol.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.renderfixedcol.shot @@ -1232,7 +1232,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1424,7 +1424,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1537,7 +1537,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1648,7 +1648,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2026,7 +2026,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2139,7 +2139,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2250,7 +2250,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3228,7 +3228,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3420,7 +3420,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3533,7 +3533,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3644,7 +3644,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5656,7 +5656,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5848,7 +5848,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5961,7 +5961,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6072,7 +6072,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6258,7 +6258,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6450,7 +6450,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6563,7 +6563,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6674,7 +6674,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7652,7 +7652,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7844,7 +7844,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7957,7 +7957,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8068,7 +8068,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9675,7 +9675,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9867,7 +9867,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9980,7 +9980,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10091,7 +10091,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10277,7 +10277,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10469,7 +10469,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10582,7 +10582,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10693,7 +10693,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11671,7 +11671,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -11863,7 +11863,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11976,7 +11976,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12087,7 +12087,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertree.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertree.shot index 2ab9a6771..248941147 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertree.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertree.shot @@ -290,7 +290,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -474,7 +474,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -633,7 +633,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -817,7 +817,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -976,7 +976,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1160,7 +1160,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1356,7 +1356,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1540,7 +1540,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1699,7 +1699,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1883,7 +1883,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2056,7 +2056,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2240,7 +2240,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2422,7 +2422,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2606,7 +2606,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2767,7 +2767,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2951,7 +2951,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3112,7 +3112,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3296,7 +3296,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3646,7 +3646,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3830,7 +3830,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3989,7 +3989,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4173,7 +4173,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4332,7 +4332,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4516,7 +4516,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4712,7 +4712,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4896,7 +4896,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5055,7 +5055,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5239,7 +5239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5412,7 +5412,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5596,7 +5596,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5778,7 +5778,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5962,7 +5962,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6123,7 +6123,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6307,7 +6307,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6468,7 +6468,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6652,7 +6652,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6884,7 +6884,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7068,7 +7068,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7227,7 +7227,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7411,7 +7411,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7570,7 +7570,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7754,7 +7754,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7950,7 +7950,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8134,7 +8134,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8293,7 +8293,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8477,7 +8477,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8650,7 +8650,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8834,7 +8834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9016,7 +9016,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9200,7 +9200,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9361,7 +9361,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9545,7 +9545,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9706,7 +9706,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9890,7 +9890,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertreechildren.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertreechildren.shot index 10230731a..3fa0241ab 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertreechildren.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.rendertreechildren.shot @@ -290,7 +290,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -474,7 +474,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -804,7 +804,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -988,7 +988,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1200,7 +1200,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1384,7 +1384,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset1.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset1.shot index 8576ea8d2..f7ec7b5d5 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset1.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset1.shot @@ -1208,7 +1208,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1390,7 +1390,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1497,7 +1497,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1604,7 +1604,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1677,7 +1677,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1859,7 +1859,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1966,7 +1966,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2073,7 +2073,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2185,7 +2185,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2367,7 +2367,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2474,7 +2474,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2654,7 +2654,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2836,7 +2836,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2943,7 +2943,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3050,7 +3050,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3880,7 +3880,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4062,7 +4062,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4169,7 +4169,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4276,7 +4276,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4351,7 +4351,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4533,7 +4533,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4640,7 +4640,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4747,7 +4747,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6733,7 +6733,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6915,7 +6915,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7022,7 +7022,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7129,7 +7129,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7202,7 +7202,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7384,7 +7384,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7491,7 +7491,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7598,7 +7598,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7710,7 +7710,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7892,7 +7892,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7999,7 +7999,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8106,7 +8106,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8179,7 +8179,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8361,7 +8361,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8468,7 +8468,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8575,7 +8575,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9405,7 +9405,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9587,7 +9587,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9694,7 +9694,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9801,7 +9801,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9876,7 +9876,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10058,7 +10058,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10165,7 +10165,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10272,7 +10272,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11877,7 +11877,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12059,7 +12059,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12166,7 +12166,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12273,7 +12273,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12346,7 +12346,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12528,7 +12528,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12635,7 +12635,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12742,7 +12742,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12854,7 +12854,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13036,7 +13036,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13143,7 +13143,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13250,7 +13250,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13323,7 +13323,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13505,7 +13505,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13612,7 +13612,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13719,7 +13719,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14549,7 +14549,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14731,7 +14731,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14838,7 +14838,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14945,7 +14945,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15020,7 +15020,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15202,7 +15202,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15309,7 +15309,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15416,7 +15416,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset2.shot b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset2.shot index 8576ea8d2..f7ec7b5d5 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset2.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/ExpandRow.scrollunset2.shot @@ -1208,7 +1208,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1390,7 +1390,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1497,7 +1497,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1604,7 +1604,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1677,7 +1677,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1859,7 +1859,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1966,7 +1966,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2073,7 +2073,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2185,7 +2185,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2367,7 +2367,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2474,7 +2474,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2654,7 +2654,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2836,7 +2836,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2943,7 +2943,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3050,7 +3050,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3880,7 +3880,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4062,7 +4062,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4169,7 +4169,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4276,7 +4276,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4351,7 +4351,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4533,7 +4533,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4640,7 +4640,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4747,7 +4747,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6733,7 +6733,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6915,7 +6915,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7022,7 +7022,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7129,7 +7129,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7202,7 +7202,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7384,7 +7384,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7491,7 +7491,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7598,7 +7598,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7710,7 +7710,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7892,7 +7892,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7999,7 +7999,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8106,7 +8106,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8179,7 +8179,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8361,7 +8361,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8468,7 +8468,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8575,7 +8575,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9405,7 +9405,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9587,7 +9587,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9694,7 +9694,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9801,7 +9801,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9876,7 +9876,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10058,7 +10058,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10165,7 +10165,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10272,7 +10272,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11877,7 +11877,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12059,7 +12059,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12166,7 +12166,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12273,7 +12273,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12346,7 +12346,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12528,7 +12528,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12635,7 +12635,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12742,7 +12742,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12854,7 +12854,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13036,7 +13036,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13143,7 +13143,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13250,7 +13250,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13323,7 +13323,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13505,7 +13505,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13612,7 +13612,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13719,7 +13719,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14549,7 +14549,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14731,7 +14731,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14838,7 +14838,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14945,7 +14945,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15020,7 +15020,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15202,7 +15202,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15309,7 +15309,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15416,7 +15416,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.renderwithdata.shot b/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.renderwithdata.shot index 1913304ef..7997aab76 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.renderwithdata.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.renderwithdata.shot @@ -870,7 +870,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -981,7 +981,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1045,7 +1045,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1128,7 +1128,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1239,7 +1239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1303,7 +1303,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2506,7 +2506,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2617,7 +2617,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2681,7 +2681,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2764,7 +2764,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2875,7 +2875,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2939,7 +2939,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4019,7 +4019,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4130,7 +4130,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4194,7 +4194,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4277,7 +4277,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4388,7 +4388,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4452,7 +4452,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6730,7 +6730,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6841,7 +6841,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6905,7 +6905,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6988,7 +6988,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7099,7 +7099,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7163,7 +7163,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8089,7 +8089,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8200,7 +8200,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8264,7 +8264,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8347,7 +8347,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8458,7 +8458,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8522,7 +8522,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9789,7 +9789,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9900,7 +9900,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9964,7 +9964,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10047,7 +10047,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10158,7 +10158,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10222,7 +10222,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11148,7 +11148,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -11259,7 +11259,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11323,7 +11323,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11406,7 +11406,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -11517,7 +11517,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11581,7 +11581,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.rtl.shot b/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.rtl.shot index 089b15d32..320e98940 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.rtl.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/FixedColumn.rtl.shot @@ -870,7 +870,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -981,7 +981,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1045,7 +1045,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1128,7 +1128,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1239,7 +1239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1303,7 +1303,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2506,7 +2506,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2617,7 +2617,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2681,7 +2681,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2764,7 +2764,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2875,7 +2875,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2939,7 +2939,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4019,7 +4019,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4130,7 +4130,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4194,7 +4194,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4277,7 +4277,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4388,7 +4388,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4452,7 +4452,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.colchildrenundefined.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.colchildrenundefined.shot index e125ba46d..f6ae5ae0f 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.colchildrenundefined.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.colchildrenundefined.shot @@ -174,7 +174,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -226,7 +226,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -269,7 +269,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -321,7 +321,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -389,7 +389,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -441,7 +441,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -486,7 +486,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -538,7 +538,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -762,7 +762,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -814,7 +814,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -857,7 +857,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -909,7 +909,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -977,7 +977,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1029,7 +1029,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1074,7 +1074,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1126,7 +1126,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1232,7 +1232,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1284,7 +1284,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1327,7 +1327,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1379,7 +1379,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1447,7 +1447,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1499,7 +1499,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1544,7 +1544,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1596,7 +1596,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.customcomponents.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.customcomponents.shot index 7fbb03f9d..8b4245756 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.customcomponents.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.customcomponents.shot @@ -101,6 +101,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -111,7 +112,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -119,9 +120,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -137,6 +140,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -147,7 +151,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -155,9 +159,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -202,6 +208,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -212,7 +219,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -220,9 +227,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -240,6 +249,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -250,7 +260,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -258,9 +268,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -400,6 +412,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -410,7 +423,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -418,9 +431,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -436,6 +451,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -446,7 +462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -454,9 +470,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -501,6 +519,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -511,7 +530,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -519,9 +538,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -539,6 +560,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -549,7 +571,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -557,9 +579,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -647,6 +671,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -657,7 +682,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -665,9 +690,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -683,6 +710,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -693,7 +721,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -701,9 +729,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -748,6 +778,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -758,7 +789,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -766,9 +797,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], @@ -786,6 +819,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell", + "name": "my-body-cell", }, "children": Array [ Node { @@ -796,7 +830,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -804,9 +838,11 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, }, }, ], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.falseycols.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.falseycols.shot index 6e4fef9eb..c3fdfed8b 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.falseycols.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.falseycols.shot @@ -98,7 +98,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -150,7 +150,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -193,7 +193,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -245,7 +245,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -313,7 +313,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -365,7 +365,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -462,7 +462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -610,7 +610,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -662,7 +662,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -705,7 +705,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -757,7 +757,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -825,7 +825,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -877,7 +877,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -922,7 +922,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -974,7 +974,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1080,7 +1080,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1132,7 +1132,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1175,7 +1175,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1227,7 +1227,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1295,7 +1295,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1347,7 +1347,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1392,7 +1392,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1444,7 +1444,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.nocols.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.nocols.shot index d6cf8db8c..308aac450 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.nocols.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.nocols.shot @@ -82,7 +82,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -109,7 +109,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -161,7 +161,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -190,7 +190,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -314,7 +314,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -341,7 +341,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -393,7 +393,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -422,7 +422,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -512,7 +512,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -539,7 +539,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -591,7 +591,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -620,7 +620,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.renderbasic.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.renderbasic.shot index eaf9259fc..9b11884e8 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.renderbasic.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.renderbasic.shot @@ -98,7 +98,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -133,7 +133,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -193,7 +193,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -230,7 +230,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -370,7 +370,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -405,7 +405,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -465,7 +465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -502,7 +502,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -600,7 +600,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -635,7 +635,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -695,7 +695,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -732,7 +732,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.rendercolspan.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.rendercolspan.shot index 4fa160b6e..6e530b463 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.rendercolspan.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.rendercolspan.shot @@ -102,7 +102,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -139,7 +139,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -207,7 +207,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -275,7 +275,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -343,7 +343,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -389,7 +389,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -535,7 +535,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -572,7 +572,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -708,7 +708,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -776,7 +776,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -822,7 +822,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -923,7 +923,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -960,7 +960,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1028,7 +1028,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1096,7 +1096,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1164,7 +1164,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1210,7 +1210,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.renderfixedcolheader.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.renderfixedcolheader.shot index f129e661f..91b75bc74 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.renderfixedcolheader.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.renderfixedcolheader.shot @@ -1134,6 +1134,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1145,7 +1146,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1212,10 +1213,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -1271,6 +1274,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1282,7 +1286,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1290,10 +1294,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -1347,6 +1353,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1358,7 +1365,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1366,10 +1373,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -1437,6 +1446,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1448,7 +1458,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1515,10 +1525,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -1574,6 +1586,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1585,7 +1598,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1593,10 +1606,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -1650,6 +1665,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -1661,7 +1677,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1669,10 +1685,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -2586,6 +2604,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -2597,7 +2616,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2664,10 +2683,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -2723,6 +2744,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -2734,7 +2756,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2742,10 +2764,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -2799,6 +2823,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -2810,7 +2835,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2818,10 +2843,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -2889,6 +2916,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -2900,7 +2928,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2967,10 +2995,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -3026,6 +3056,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -3037,7 +3068,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3045,10 +3076,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -3102,6 +3135,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -3113,7 +3147,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3121,10 +3155,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -4104,6 +4140,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4115,7 +4152,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4182,10 +4219,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -4241,6 +4280,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4252,7 +4292,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4260,10 +4300,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -4317,6 +4359,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4328,7 +4371,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4336,10 +4379,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -4407,6 +4452,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4418,7 +4464,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4485,10 +4531,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -4544,6 +4592,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4555,7 +4604,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4563,10 +4612,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -4620,6 +4671,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -4631,7 +4683,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4639,10 +4691,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -5556,6 +5610,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -5567,7 +5622,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5634,10 +5689,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -5693,6 +5750,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -5704,7 +5762,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5712,10 +5770,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -5769,6 +5829,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -5780,7 +5841,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5788,10 +5849,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -5859,6 +5922,7 @@ LoadedCheerio { Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -5870,7 +5934,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5937,10 +6001,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -5996,6 +6062,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -6007,7 +6074,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6015,10 +6082,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, @@ -6072,6 +6141,7 @@ LoadedCheerio { "prev": Node { "attribs": Object { "class": "table-cell table-cell-fix-left table-cell-fix-left-last", + "name": "my-body-cell", "style": "position: sticky; left: 0px;", }, "children": Array [ @@ -6083,7 +6153,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6091,10 +6161,12 @@ LoadedCheerio { "type": "tag", "x-attribsNamespace": Object { "class": undefined, + "name": undefined, "style": undefined, }, "x-attribsPrefix": Object { "class": undefined, + "name": undefined, "style": undefined, }, }, diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.renderrowspan.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.renderrowspan.shot index fb10554ba..f1c3067c1 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.renderrowspan.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.renderrowspan.shot @@ -174,7 +174,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -246,7 +246,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -291,7 +291,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -351,7 +351,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -388,7 +388,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -460,7 +460,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -686,7 +686,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -758,7 +758,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -803,7 +803,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -863,7 +863,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -900,7 +900,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -972,7 +972,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1080,7 +1080,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1152,7 +1152,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1197,7 +1197,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1257,7 +1257,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1294,7 +1294,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1366,7 +1366,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.rtl.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.rtl.shot index 45d230a78..94ece3471 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.rtl.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.rtl.shot @@ -98,7 +98,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -133,7 +133,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -193,7 +193,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -230,7 +230,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -370,7 +370,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -405,7 +405,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -465,7 +465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -502,7 +502,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -600,7 +600,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -635,7 +635,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -695,7 +695,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -732,7 +732,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Internal/Tests/__snapshots__/Table.transformcols.shot b/src/components/Table/Internal/Tests/__snapshots__/Table.transformcols.shot index f7ee0296f..089fd4415 100644 --- a/src/components/Table/Internal/Tests/__snapshots__/Table.transformcols.shot +++ b/src/components/Table/Internal/Tests/__snapshots__/Table.transformcols.shot @@ -292,7 +292,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -386,7 +386,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -438,7 +438,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -481,7 +481,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -575,7 +575,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -627,7 +627,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -695,7 +695,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -789,7 +789,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -841,7 +841,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -886,7 +886,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -980,7 +980,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1032,7 +1032,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1382,7 +1382,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1476,7 +1476,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1528,7 +1528,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1571,7 +1571,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1665,7 +1665,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1717,7 +1717,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1785,7 +1785,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1879,7 +1879,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1931,7 +1931,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1976,7 +1976,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2070,7 +2070,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2122,7 +2122,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2228,7 +2228,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2322,7 +2322,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2374,7 +2374,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2417,7 +2417,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2511,7 +2511,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2563,7 +2563,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2631,7 +2631,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2725,7 +2725,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2777,7 +2777,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2822,7 +2822,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2916,7 +2916,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2968,7 +2968,7 @@ LoadedCheerio { "class": "table-cell", }, "children": Array [], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/Table.filter.test.js b/src/components/Table/Tests/Table.filter.test.js index a3855d5c5..96374e6fd 100644 --- a/src/components/Table/Tests/Table.filter.test.js +++ b/src/components/Table/Tests/Table.filter.test.js @@ -395,6 +395,6 @@ describe('Table.filter', () => { ); expect(wrapper.find('tbody tr')).toHaveLength(1); - expect(wrapper.find('tbody tr th').text()).toEqual('Jack'); + expect(wrapper.find('tbody tr td').text()).toEqual('Jack'); }); }); diff --git a/src/components/Table/Tests/__snapshots__/Table.expand.test.tsx.snap b/src/components/Table/Tests/__snapshots__/Table.expand.test.tsx.snap index adb10788b..9dc1ec5cb 100644 --- a/src/components/Table/Tests/__snapshots__/Table.expand.test.tsx.snap +++ b/src/components/Table/Tests/__snapshots__/Table.expand.test.tsx.snap @@ -322,7 +322,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -576,7 +576,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -855,7 +855,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1111,7 +1111,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1470,7 +1470,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1724,7 +1724,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2003,7 +2003,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2259,7 +2259,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2576,7 +2576,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2830,7 +2830,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3109,7 +3109,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3365,7 +3365,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4277,7 +4277,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4531,7 +4531,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4810,7 +4810,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5066,7 +5066,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5425,7 +5425,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5679,7 +5679,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5958,7 +5958,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6214,7 +6214,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6531,7 +6531,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6785,7 +6785,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7064,7 +7064,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7320,7 +7320,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.filter.test.js.snap b/src/components/Table/Tests/__snapshots__/Table.filter.test.js.snap index 01c80c867..6439b0de0 100644 --- a/src/components/Table/Tests/__snapshots__/Table.filter.test.js.snap +++ b/src/components/Table/Tests/__snapshots__/Table.filter.test.js.snap @@ -413,7 +413,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -448,7 +448,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -483,7 +483,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -518,7 +518,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -602,7 +602,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -637,7 +637,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -672,7 +672,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -733,7 +733,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -791,7 +791,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -826,7 +826,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -875,7 +875,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -912,7 +912,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -980,7 +980,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1017,7 +1017,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1054,7 +1054,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1091,7 +1091,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1561,7 +1561,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1596,7 +1596,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1631,7 +1631,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1666,7 +1666,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1750,7 +1750,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1785,7 +1785,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1820,7 +1820,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1881,7 +1881,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1939,7 +1939,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1974,7 +1974,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2023,7 +2023,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2060,7 +2060,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2128,7 +2128,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2165,7 +2165,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2202,7 +2202,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2239,7 +2239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2357,7 +2357,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2392,7 +2392,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2427,7 +2427,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2462,7 +2462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2546,7 +2546,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2616,7 +2616,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2677,7 +2677,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2735,7 +2735,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2770,7 +2770,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2819,7 +2819,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2856,7 +2856,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2924,7 +2924,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2961,7 +2961,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2998,7 +2998,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3035,7 +3035,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4063,7 +4063,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4098,7 +4098,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4133,7 +4133,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4168,7 +4168,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4252,7 +4252,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4287,7 +4287,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4322,7 +4322,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4383,7 +4383,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4441,7 +4441,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4476,7 +4476,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4525,7 +4525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4562,7 +4562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4630,7 +4630,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4667,7 +4667,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4704,7 +4704,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4741,7 +4741,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5211,7 +5211,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5246,7 +5246,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5281,7 +5281,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5316,7 +5316,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5400,7 +5400,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5435,7 +5435,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5470,7 +5470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5531,7 +5531,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5589,7 +5589,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5624,7 +5624,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5673,7 +5673,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5710,7 +5710,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5778,7 +5778,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5815,7 +5815,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5852,7 +5852,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5889,7 +5889,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6007,7 +6007,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6042,7 +6042,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6077,7 +6077,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6112,7 +6112,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6196,7 +6196,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6231,7 +6231,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6266,7 +6266,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6327,7 +6327,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6385,7 +6385,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6420,7 +6420,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6469,7 +6469,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6506,7 +6506,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6574,7 +6574,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6611,7 +6611,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6648,7 +6648,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6685,7 +6685,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7713,7 +7713,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7748,7 +7748,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7783,7 +7783,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7818,7 +7818,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7902,7 +7902,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7937,7 +7937,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -7972,7 +7972,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8033,7 +8033,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8091,7 +8091,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8126,7 +8126,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8175,7 +8175,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8212,7 +8212,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8280,7 +8280,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8317,7 +8317,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8354,7 +8354,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8391,7 +8391,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8861,7 +8861,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8896,7 +8896,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8931,7 +8931,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8966,7 +8966,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9050,7 +9050,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9085,7 +9085,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9120,7 +9120,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9181,7 +9181,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9239,7 +9239,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9274,7 +9274,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9323,7 +9323,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9360,7 +9360,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9428,7 +9428,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9465,7 +9465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9502,7 +9502,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9539,7 +9539,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9657,7 +9657,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9692,7 +9692,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9727,7 +9727,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9762,7 +9762,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9846,7 +9846,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9881,7 +9881,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9916,7 +9916,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -9977,7 +9977,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10035,7 +10035,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10070,7 +10070,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10119,7 +10119,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10156,7 +10156,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10224,7 +10224,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10261,7 +10261,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10298,7 +10298,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10335,7 +10335,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.fixselectionexpandonleft.shot b/src/components/Table/Tests/__snapshots__/Table.fixselectionexpandonleft.shot index 3f41f7958..36ce95f91 100644 --- a/src/components/Table/Tests/__snapshots__/Table.fixselectionexpandonleft.shot +++ b/src/components/Table/Tests/__snapshots__/Table.fixselectionexpandonleft.shot @@ -1292,7 +1292,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1649,7 +1649,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1981,7 +1981,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2338,7 +2338,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2709,7 +2709,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3066,7 +3066,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3398,7 +3398,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3755,7 +3755,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4314,7 +4314,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4671,7 +4671,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5005,7 +5005,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5362,7 +5362,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6881,7 +6881,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7238,7 +7238,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7570,7 +7570,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7927,7 +7927,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8298,7 +8298,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8655,7 +8655,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8987,7 +8987,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9344,7 +9344,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9903,7 +9903,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10260,7 +10260,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10594,7 +10594,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10951,7 +10951,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11755,7 +11755,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12112,7 +12112,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12444,7 +12444,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12801,7 +12801,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13172,7 +13172,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13529,7 +13529,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13861,7 +13861,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14218,7 +14218,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14777,7 +14777,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15134,7 +15134,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15468,7 +15468,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15825,7 +15825,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.fixselectionleft.shot b/src/components/Table/Tests/__snapshots__/Table.fixselectionleft.shot index e9dc8d311..e4eb1ce13 100644 --- a/src/components/Table/Tests/__snapshots__/Table.fixselectionleft.shot +++ b/src/components/Table/Tests/__snapshots__/Table.fixselectionleft.shot @@ -1292,7 +1292,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1649,7 +1649,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1981,7 +1981,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2338,7 +2338,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2709,7 +2709,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3066,7 +3066,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3398,7 +3398,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3755,7 +3755,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4314,7 +4314,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4671,7 +4671,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5005,7 +5005,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5362,7 +5362,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6881,7 +6881,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7238,7 +7238,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7570,7 +7570,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7927,7 +7927,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8298,7 +8298,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8655,7 +8655,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8987,7 +8987,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9344,7 +9344,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9903,7 +9903,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10260,7 +10260,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10594,7 +10594,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10951,7 +10951,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11755,7 +11755,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12112,7 +12112,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12444,7 +12444,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12801,7 +12801,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13172,7 +13172,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13529,7 +13529,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13861,7 +13861,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14218,7 +14218,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14777,7 +14777,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15134,7 +15134,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15468,7 +15468,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15825,7 +15825,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.fixselectionwithcols.shot b/src/components/Table/Tests/__snapshots__/Table.fixselectionwithcols.shot index e6fd4dd29..37997460e 100644 --- a/src/components/Table/Tests/__snapshots__/Table.fixselectionwithcols.shot +++ b/src/components/Table/Tests/__snapshots__/Table.fixselectionwithcols.shot @@ -1298,7 +1298,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1659,7 +1659,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1993,7 +1993,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2354,7 +2354,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2727,7 +2727,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3088,7 +3088,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3422,7 +3422,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3783,7 +3783,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4344,7 +4344,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4705,7 +4705,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5041,7 +5041,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5402,7 +5402,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6929,7 +6929,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7290,7 +7290,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7624,7 +7624,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7985,7 +7985,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8358,7 +8358,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8719,7 +8719,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9053,7 +9053,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9414,7 +9414,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9975,7 +9975,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -10336,7 +10336,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -10672,7 +10672,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -11033,7 +11033,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -11839,7 +11839,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12200,7 +12200,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -12534,7 +12534,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -12895,7 +12895,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13268,7 +13268,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -13629,7 +13629,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -13963,7 +13963,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -14324,7 +14324,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -14885,7 +14885,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15246,7 +15246,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -15582,7 +15582,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -15943,7 +15943,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.pagination.accepttrue.shot b/src/components/Table/Tests/__snapshots__/Table.pagination.accepttrue.shot index de0996a80..9831d2874 100644 --- a/src/components/Table/Tests/__snapshots__/Table.pagination.accepttrue.shot +++ b/src/components/Table/Tests/__snapshots__/Table.pagination.accepttrue.shot @@ -103,7 +103,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -138,7 +138,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -198,7 +198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -235,7 +235,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -375,7 +375,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,7 +470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -507,7 +507,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -605,7 +605,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -700,7 +700,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -737,7 +737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1430,7 +1430,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1465,7 +1465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1525,7 +1525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1562,7 +1562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1702,7 +1702,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1737,7 +1737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1797,7 +1797,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1967,7 +1967,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2027,7 +2027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2064,7 +2064,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.pagination.nocrashonchange.shot b/src/components/Table/Tests/__snapshots__/Table.pagination.nocrashonchange.shot index 13d24e00f..ac3b9059a 100644 --- a/src/components/Table/Tests/__snapshots__/Table.pagination.nocrashonchange.shot +++ b/src/components/Table/Tests/__snapshots__/Table.pagination.nocrashonchange.shot @@ -103,7 +103,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -138,7 +138,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -198,7 +198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -235,7 +235,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -375,7 +375,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,7 +470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -507,7 +507,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -605,7 +605,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -700,7 +700,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -737,7 +737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1430,7 +1430,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1465,7 +1465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1525,7 +1525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1562,7 +1562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1702,7 +1702,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1737,7 +1737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1797,7 +1797,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1967,7 +1967,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2027,7 +2027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2064,7 +2064,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.pagination.position.shot b/src/components/Table/Tests/__snapshots__/Table.pagination.position.shot index 4e365b0a1..8bbf63e2a 100644 --- a/src/components/Table/Tests/__snapshots__/Table.pagination.position.shot +++ b/src/components/Table/Tests/__snapshots__/Table.pagination.position.shot @@ -103,7 +103,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -138,7 +138,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -198,7 +198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -235,7 +235,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -375,7 +375,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,7 +470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -507,7 +507,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -605,7 +605,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -700,7 +700,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -737,7 +737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1430,7 +1430,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1465,7 +1465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1525,7 +1525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1562,7 +1562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1702,7 +1702,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1737,7 +1737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1797,7 +1797,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1967,7 +1967,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2027,7 +2027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2064,7 +2064,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.pagination.renders.shot b/src/components/Table/Tests/__snapshots__/Table.pagination.renders.shot index e5f91df9d..268987e4d 100644 --- a/src/components/Table/Tests/__snapshots__/Table.pagination.renders.shot +++ b/src/components/Table/Tests/__snapshots__/Table.pagination.renders.shot @@ -103,7 +103,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -138,7 +138,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -198,7 +198,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -235,7 +235,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -375,7 +375,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -410,7 +410,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -470,7 +470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -507,7 +507,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -605,7 +605,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -640,7 +640,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -700,7 +700,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -737,7 +737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1430,7 +1430,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1465,7 +1465,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1525,7 +1525,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1562,7 +1562,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1702,7 +1702,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1737,7 +1737,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1797,7 +1797,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1834,7 +1834,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1967,7 +1967,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2027,7 +2027,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2064,7 +2064,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.sorter.test.js.snap b/src/components/Table/Tests/__snapshots__/Table.sorter.test.js.snap index dd29faa29..a57a8d231 100644 --- a/src/components/Table/Tests/__snapshots__/Table.sorter.test.js.snap +++ b/src/components/Table/Tests/__snapshots__/Table.sorter.test.js.snap @@ -560,7 +560,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -595,7 +595,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -630,7 +630,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -665,7 +665,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -749,7 +749,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -784,7 +784,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -819,7 +819,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -880,7 +880,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -938,7 +938,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -973,7 +973,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1022,7 +1022,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1059,7 +1059,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1127,7 +1127,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1164,7 +1164,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1201,7 +1201,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1238,7 +1238,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1470,7 +1470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1505,7 +1505,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1540,7 +1540,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1575,7 +1575,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1659,7 +1659,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1694,7 +1694,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1729,7 +1729,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1790,7 +1790,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1848,7 +1848,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1883,7 +1883,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1932,7 +1932,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -1969,7 +1969,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2037,7 +2037,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2074,7 +2074,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2111,7 +2111,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2148,7 +2148,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2357,7 +2357,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2392,7 +2392,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2427,7 +2427,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2462,7 +2462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2546,7 +2546,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2581,7 +2581,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2616,7 +2616,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2677,7 +2677,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2735,7 +2735,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2770,7 +2770,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2819,7 +2819,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2856,7 +2856,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2924,7 +2924,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2961,7 +2961,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -2998,7 +2998,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3035,7 +3035,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3891,7 +3891,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3926,7 +3926,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3961,7 +3961,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -3996,7 +3996,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4080,7 +4080,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4115,7 +4115,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4150,7 +4150,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4211,7 +4211,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4269,7 +4269,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4304,7 +4304,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4353,7 +4353,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4390,7 +4390,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4458,7 +4458,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4495,7 +4495,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4532,7 +4532,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -4569,7 +4569,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5216,7 +5216,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5251,7 +5251,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5286,7 +5286,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5321,7 +5321,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5405,7 +5405,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5440,7 +5440,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5475,7 +5475,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5536,7 +5536,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5594,7 +5594,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5629,7 +5629,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5678,7 +5678,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5715,7 +5715,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5783,7 +5783,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5820,7 +5820,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5857,7 +5857,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -5894,7 +5894,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6012,7 +6012,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6047,7 +6047,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6082,7 +6082,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6117,7 +6117,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6201,7 +6201,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6236,7 +6236,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6271,7 +6271,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6332,7 +6332,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6390,7 +6390,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6425,7 +6425,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6474,7 +6474,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6511,7 +6511,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6579,7 +6579,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6616,7 +6616,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6653,7 +6653,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -6690,7 +6690,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8100,7 +8100,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8744,7 +8744,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -8832,7 +8832,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -10543,7 +10543,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -11187,7 +11187,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], @@ -11275,7 +11275,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": null, "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.test.js.snap b/src/components/Table/Tests/__snapshots__/Table.test.js.snap index 7c5c7b12e..fdb37afe1 100644 --- a/src/components/Table/Tests/__snapshots__/Table.test.js.snap +++ b/src/components/Table/Tests/__snapshots__/Table.test.js.snap @@ -546,7 +546,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -664,7 +664,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -732,7 +732,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -783,7 +783,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -901,7 +901,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -969,7 +969,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1045,7 +1045,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1163,7 +1163,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1231,7 +1231,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1284,7 +1284,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1402,7 +1402,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1470,7 +1470,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2069,7 +2069,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2187,7 +2187,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2255,7 +2255,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2306,7 +2306,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2424,7 +2424,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2492,7 +2492,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2568,7 +2568,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2686,7 +2686,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2754,7 +2754,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2807,7 +2807,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2925,7 +2925,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2993,7 +2993,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3107,7 +3107,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3225,7 +3225,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3293,7 +3293,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3344,7 +3344,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3462,7 +3462,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3530,7 +3530,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3606,7 +3606,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3724,7 +3724,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3792,7 +3792,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3845,7 +3845,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3963,7 +3963,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4031,7 +4031,7 @@ LoadedCheerio { "type": "text", }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], diff --git a/src/components/Table/Tests/__snapshots__/Table.usecolselectionwithkey.shot b/src/components/Table/Tests/__snapshots__/Table.usecolselectionwithkey.shot index 522fbb3ea..041b77127 100644 --- a/src/components/Table/Tests/__snapshots__/Table.usecolselectionwithkey.shot +++ b/src/components/Table/Tests/__snapshots__/Table.usecolselectionwithkey.shot @@ -1094,7 +1094,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -1448,7 +1448,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -1777,7 +1777,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2131,7 +2131,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -2485,7 +2485,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -2839,7 +2839,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -3170,7 +3170,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -3524,7 +3524,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -4644,7 +4644,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -4998,7 +4998,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -5327,7 +5327,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -5681,7 +5681,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6035,7 +6035,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -6389,7 +6389,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -6720,7 +6720,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7074,7 +7074,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -7485,7 +7485,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -7839,7 +7839,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8168,7 +8168,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -8522,7 +8522,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -8876,7 +8876,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9230,7 +9230,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], @@ -9561,7 +9561,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": Node { "attribs": Object { @@ -9915,7 +9915,7 @@ LoadedCheerio { }, }, ], - "name": "th", + "name": "td", "namespace": "http://www.w3.org/1999/xhtml", "next": [Circular], "parent": [Circular], From 99f2ef7f0a9a20af1b5610690f0337b2101650fd Mon Sep 17 00:00:00 2001 From: ksharma-c-eightfold Date: Thu, 2 Apr 2026 15:01:17 +0530 Subject: [PATCH 3/3] fix(Table): add scope row and col accessibility attributes --- src/components/Table/Internal/Body/Body.types.ts | 5 +++-- src/components/Table/Internal/OcTable.types.ts | 7 ++++++- src/components/Table/index.tsx | 1 + 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/Table/Internal/Body/Body.types.ts b/src/components/Table/Internal/Body/Body.types.ts index bb1a31455..9a59f6495 100644 --- a/src/components/Table/Internal/Body/Body.types.ts +++ b/src/components/Table/Internal/Body/Body.types.ts @@ -4,6 +4,7 @@ import type { GetComponentProps, Key, GetRowKey, + RowHeaderCellComponent, } from '../OcTable.types'; export interface MeasureRowProps extends Omit { @@ -35,7 +36,7 @@ export interface BodyRowProps { expandedKeys: Set; rowComponent: CustomizeComponent; cellComponent: CustomizeComponent; - rowHeaderCellComponent?: CustomizeComponent; + rowHeaderCellComponent?: RowHeaderCellComponent; onRow: GetComponentProps; rowExpandable: (record: RecordType) => boolean; rowExpandDisabled?: (record: RecordType) => boolean; @@ -75,7 +76,7 @@ export interface BodyProps { onRow: GetComponentProps; rowExpandable: (record: RecordType) => boolean; rowExpandDisabled?: (record: RecordType) => boolean; - rowHeaderCellComponent?: CustomizeComponent; + rowHeaderCellComponent?: RowHeaderCellComponent; emptyNode: React.ReactNode; childrenColumnName: string; /** diff --git a/src/components/Table/Internal/OcTable.types.ts b/src/components/Table/Internal/OcTable.types.ts index 3fb1dfdf2..5be993a34 100644 --- a/src/components/Table/Internal/OcTable.types.ts +++ b/src/components/Table/Internal/OcTable.types.ts @@ -311,6 +311,11 @@ export type GetComponent = ( // =================== Expand =================== export type ExpandableType = false | 'row' | 'nest'; +export enum RowHeaderCellComponent { + td = 'td', + th = 'th', +} + export type ExpandedRowRender = ( record: ValueType, index: number, @@ -522,7 +527,7 @@ export interface OcTableProps { * The component used for the first cell in each body row. * Defaults to 'td'. Pass 'th' to render row header cells. */ - rowHeaderCellComponent?: CustomizeComponent; + rowHeaderCellComponent?: RowHeaderCellComponent; /** * The Table canvas direction. * options: 'ltr', 'rtl' diff --git a/src/components/Table/index.tsx b/src/components/Table/index.tsx index 4c1257519..4d4520e82 100644 --- a/src/components/Table/index.tsx +++ b/src/components/Table/index.tsx @@ -13,6 +13,7 @@ export { TableRowSelection, TableSize, } from './Table.types'; +export { RowHeaderCellComponent } from './Internal/OcTable.types'; export { TablePaginationConfig }; export default Table;