From 5e645f85f13f445910cd0f1d8555503b981b0db3 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 15 Aug 2024 23:32:50 +0800 Subject: [PATCH 1/3] Revert "fix(table): When ellipsis is undefined, title is undefined. (#1110)" This reverts commit 80ed65b4054c8b4df16cb4c637423fc98ff71bc2. --- src/Cell/index.tsx | 3 +- tests/__snapshots__/ExpandRow.spec.jsx.snap | 83 - tests/__snapshots__/FixedColumn.spec.jsx.snap | 3145 +++++++++++++++++ tests/__snapshots__/FixedColumn.spec.tsx.snap | 571 --- tests/__snapshots__/Summary.spec.tsx.snap | 3 - tests/__snapshots__/Table.spec.jsx.snap | 46 - 6 files changed, 3146 insertions(+), 705 deletions(-) create mode 100644 tests/__snapshots__/FixedColumn.spec.jsx.snap diff --git a/src/Cell/index.tsx b/src/Cell/index.tsx index e8bd1e415..90bb04a48 100644 --- a/src/Cell/index.tsx +++ b/src/Cell/index.tsx @@ -61,8 +61,7 @@ const getTitleFromCellRenderChildren = ({ children, }: Pick, 'ellipsis' | 'rowType' | 'children'>) => { let title: string; - const ellipsisConfig: CellEllipsisType = - ellipsis === true || ellipsis === undefined ? { showTitle: true } : ellipsis; + const ellipsisConfig: CellEllipsisType = ellipsis === true ? { showTitle: true } : ellipsis; if (ellipsisConfig && (ellipsisConfig.showTitle || rowType === 'header')) { if (typeof children === 'string' || typeof children === 'number') { title = children.toString(); diff --git a/tests/__snapshots__/ExpandRow.spec.jsx.snap b/tests/__snapshots__/ExpandRow.spec.jsx.snap index 974a54d6d..72dfbbe21 100644 --- a/tests/__snapshots__/ExpandRow.spec.jsx.snap +++ b/tests/__snapshots__/ExpandRow.spec.jsx.snap @@ -22,14 +22,12 @@ LoadedCheerio { Name Age @@ -44,7 +42,6 @@ LoadedCheerio { > 27 @@ -67,7 +63,6 @@ LoadedCheerio { > 1 @@ -90,7 +84,6 @@ LoadedCheerio { > 28 @@ -174,21 +166,18 @@ LoadedCheerio { Name Age Gender @@ -253,19 +242,16 @@ LoadedCheerio { Lucy 27 F @@ -284,19 +270,16 @@ LoadedCheerio { Jack 28 M @@ -368,21 +351,18 @@ LoadedCheerio { Name Age Gender @@ -447,19 +427,16 @@ LoadedCheerio { Lucy 27 F @@ -478,19 +455,16 @@ LoadedCheerio { Jack 28 M @@ -553,14 +527,12 @@ LoadedCheerio { Name Age @@ -575,13 +547,11 @@ LoadedCheerio { > Jack 28 @@ -592,13 +562,11 @@ LoadedCheerio { > Jack 28 @@ -609,13 +577,11 @@ LoadedCheerio { > Jack 28 @@ -688,14 +654,12 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-left rc-table-cell-fix-left-last" scope="col" style="position: sticky; left: 0px;" - title="Name" > Name Age @@ -703,7 +667,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-right rc-table-cell-fix-right-first" scope="col" style="position: sticky; right: 0px;" - title="Gender" > Gender @@ -769,20 +732,17 @@ LoadedCheerio { Lucy 27 F @@ -819,20 +779,17 @@ LoadedCheerio { Jack 28 M @@ -912,14 +869,12 @@ LoadedCheerio { Name Age @@ -934,7 +889,6 @@ LoadedCheerio { > 27 @@ -957,7 +910,6 @@ LoadedCheerio { > 1 @@ -980,7 +931,6 @@ LoadedCheerio { > 28 @@ -1055,14 +1004,12 @@ LoadedCheerio { Name Age @@ -1077,7 +1024,6 @@ LoadedCheerio { > 27 @@ -1100,7 +1045,6 @@ LoadedCheerio { > 28 @@ -1123,7 +1066,6 @@ LoadedCheerio { > 28 @@ -1146,7 +1087,6 @@ LoadedCheerio { > 28 @@ -1169,7 +1108,6 @@ LoadedCheerio { > 28 @@ -1192,7 +1129,6 @@ LoadedCheerio { > 28 @@ -1276,21 +1211,18 @@ LoadedCheerio { Name Age Gender @@ -1355,19 +1287,16 @@ LoadedCheerio { Lucy 27 F @@ -1386,19 +1315,16 @@ LoadedCheerio { Jack 28 M @@ -1469,21 +1395,18 @@ LoadedCheerio { Name Age Gender @@ -1544,19 +1467,16 @@ LoadedCheerio { > Lucy 27 F @@ -1575,19 +1495,16 @@ LoadedCheerio { > Jack 28 M diff --git a/tests/__snapshots__/FixedColumn.spec.jsx.snap b/tests/__snapshots__/FixedColumn.spec.jsx.snap new file mode 100644 index 000000000..249dfc2ef --- /dev/null +++ b/tests/__snapshots__/FixedColumn.spec.jsx.snap @@ -0,0 +1,3145 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`Table.FixedColumn > fixed column renders correctly RTL 1`] = ` +LoadedCheerio { + "0":
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ title1 + + title2 + + title3 + + title4 + + title5 + + title6 + + title7 + + title8 + + title9 + + title10 + + title11 + + title12 +
+ 123 + + + 1111 + + + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx +
+ cdd + + + 1111 + + + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 +
+ 133 + + + 1111 + + + edd12221 + + + + + + + + + +
+ 133 + + + 1111 + + + edd12221 + + + + + + + + + +
+ 133 + + + 1111 + + + edd12221 + + + + + + + + + +
+ 133 + + + 1111 + + + edd12221 + + + + + + + + + +
+ 133 + + + 1111 + + + edd12221 + + + + + + + + + +
+ 133 + + + 1111 + + + edd12221 + + + + + + + + + +
+ 133 + + + 1111 + + + edd12221 + + + + + + + + + +
+
+
+
, + "_root": LoadedCheerio { + "0": Document { + "children": [ + + + + , + ], + "endIndex": null, + "next": null, + "parent": null, + "prev": null, + "startIndex": null, + "type": "root", + "x-mode": "quirks", + }, + "_root": [Circular], + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, + }, + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, +} +`; + +exports[`Table.FixedColumn > renders correctly > all column has width should use it 1`] = ` +LoadedCheerio { + "0": + + + , + "_root": LoadedCheerio { + "0": Document { + "children": [ + + + + , + ], + "endIndex": null, + "next": null, + "parent": null, + "prev": null, + "startIndex": null, + "type": "root", + "x-mode": "quirks", + }, + "_root": [Circular], + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, + }, + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, +} +`; + +exports[`Table.FixedColumn > renders correctly > scrollX - with data 1`] = ` +LoadedCheerio { + "0":
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ title1 + + + title2 + + + title3 + + title4 + + title5 + + title6 + + title7 + + title8 + + title9 + + title10 + + title11 + + title12 +
+ 123 + + + + 1111 + + + + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx +
+ cdd + + + + 1111 + + + + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+
+
+
, + "_root": LoadedCheerio { + "0": Document { + "children": [ + + + + , + ], + "endIndex": null, + "next": null, + "parent": null, + "prev": null, + "startIndex": null, + "type": "root", + "x-mode": "quirks", + }, + "_root": [Circular], + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, + }, + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, +} +`; + +exports[`Table.FixedColumn > renders correctly > scrollX - without data 1`] = ` +LoadedCheerio { + "0":
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ title1 + + + title2 + + + title3 + + title4 + + title5 + + title6 + + title7 + + title8 + + title9 + + title10 + + title11 + + title12 +
+
+ No Data +
+
+
+
+
, + "_root": LoadedCheerio { + "0": Document { + "children": [ + + + + , + ], + "endIndex": null, + "next": null, + "parent": null, + "prev": null, + "startIndex": null, + "type": "root", + "x-mode": "quirks", + }, + "_root": [Circular], + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, + }, + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, +} +`; + +exports[`Table.FixedColumn > renders correctly > scrollXY - with data 1`] = ` +LoadedCheerio { + "0":
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ title1 + + + title2 + + + title3 + + title4 + + title5 + + title6 + + title7 + + title8 + + title9 + + title10 + + title11 + + title12 + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 123 + + + + 1111 + + + + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx + + xxxxxxxx +
+ cdd + + + + 1111 + + + + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 + + edd12221 +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+ 133 + + + + 1111 + + + + edd12221 + + + + + + + + + +
+
+
+
, + "_root": LoadedCheerio { + "0": Document { + "children": [ + + + + , + ], + "endIndex": null, + "next": null, + "parent": null, + "prev": null, + "startIndex": null, + "type": "root", + "x-mode": "quirks", + }, + "_root": [Circular], + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, + }, + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, +} +`; + +exports[`Table.FixedColumn > renders correctly > scrollXY - without data 1`] = ` +LoadedCheerio { + "0":
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ title1 + + + title2 + + + title3 + + title4 + + title5 + + title6 + + title7 + + title8 + + title9 + + title10 + + title11 + + title12 + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ No Data +
+
+
+
+
, + "_root": LoadedCheerio { + "0": Document { + "children": [ + + + + , + ], + "endIndex": null, + "next": null, + "parent": null, + "prev": null, + "startIndex": null, + "type": "root", + "x-mode": "quirks", + }, + "_root": [Circular], + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, + }, + "length": 1, + "options": { + "decodeEntities": true, + "xml": false, + }, +} +`; diff --git a/tests/__snapshots__/FixedColumn.spec.tsx.snap b/tests/__snapshots__/FixedColumn.spec.tsx.snap index 7cc8573c3..bef892dcf 100644 --- a/tests/__snapshots__/FixedColumn.spec.tsx.snap +++ b/tests/__snapshots__/FixedColumn.spec.tsx.snap @@ -43,7 +43,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-right" scope="col" style="position: sticky; right: 0px;" - title="title1" > title1 @@ -58,63 +57,54 @@ LoadedCheerio { title3 title4 title5 title6 title7 title8 title9 title10 title11 @@ -122,7 +112,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-left rc-table-cell-fix-left-first" scope="col" style="position: sticky; left: 0px;" - title="title12" > title12 @@ -252,7 +241,6 @@ LoadedCheerio { 123 @@ -270,56 +258,47 @@ LoadedCheerio { /> xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx @@ -331,7 +310,6 @@ LoadedCheerio { cdd @@ -349,56 +327,47 @@ LoadedCheerio { /> edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 @@ -410,7 +379,6 @@ LoadedCheerio { 133 @@ -425,7 +393,6 @@ LoadedCheerio { edd12221 @@ -465,7 +432,6 @@ LoadedCheerio { 133 @@ -480,7 +446,6 @@ LoadedCheerio { edd12221 @@ -520,7 +485,6 @@ LoadedCheerio { 133 @@ -535,7 +499,6 @@ LoadedCheerio { edd12221 @@ -575,7 +538,6 @@ LoadedCheerio { 133 @@ -590,7 +552,6 @@ LoadedCheerio { edd12221 @@ -630,7 +591,6 @@ LoadedCheerio { 133 @@ -645,7 +605,6 @@ LoadedCheerio { edd12221 @@ -685,7 +644,6 @@ LoadedCheerio { 133 @@ -700,7 +658,6 @@ LoadedCheerio { edd12221 @@ -740,7 +697,6 @@ LoadedCheerio { 133 @@ -755,7 +711,6 @@ LoadedCheerio { edd12221 @@ -908,7 +863,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-left" scope="col" style="position: sticky; left: 0px;" - title="title1" > title1 @@ -927,63 +881,54 @@ LoadedCheerio { title3 title4 title5 title6 title7 title8 title9 title10 title11 @@ -991,7 +936,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-right rc-table-cell-fix-right-first" scope="col" style="position: sticky; right: 0px;" - title="title12" > title12 @@ -1121,7 +1065,6 @@ LoadedCheerio { 123 @@ -1143,56 +1086,47 @@ LoadedCheerio { /> xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx @@ -1204,7 +1138,6 @@ LoadedCheerio { cdd @@ -1226,56 +1159,47 @@ LoadedCheerio { /> edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 @@ -1287,7 +1211,6 @@ LoadedCheerio { 133 @@ -1306,7 +1229,6 @@ LoadedCheerio { edd12221 @@ -1346,7 +1268,6 @@ LoadedCheerio { 133 @@ -1365,7 +1286,6 @@ LoadedCheerio { edd12221 @@ -1405,7 +1325,6 @@ LoadedCheerio { 133 @@ -1424,7 +1343,6 @@ LoadedCheerio { edd12221 @@ -1464,7 +1382,6 @@ LoadedCheerio { 133 @@ -1483,7 +1400,6 @@ LoadedCheerio { edd12221 @@ -1523,7 +1439,6 @@ LoadedCheerio { 133 @@ -1542,7 +1457,6 @@ LoadedCheerio { edd12221 @@ -1582,7 +1496,6 @@ LoadedCheerio { 133 @@ -1601,7 +1514,6 @@ LoadedCheerio { edd12221 @@ -1641,7 +1553,6 @@ LoadedCheerio { 133 @@ -1660,7 +1571,6 @@ LoadedCheerio { edd12221 @@ -1772,7 +1682,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-left" scope="col" style="position: sticky; left: 0px;" - title="title1" > title1 @@ -1791,63 +1700,54 @@ LoadedCheerio { title3 title4 title5 title6 title7 title8 title9 title10 title11 @@ -1855,7 +1755,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-right rc-table-cell-fix-right-first" scope="col" style="position: sticky; right: 0px;" - title="title12" > title12 @@ -1984,7 +1883,6 @@ LoadedCheerio {
title1 @@ -2113,63 +2010,54 @@ LoadedCheerio { title3 title4 title5 title6 title7 title8 title9 title10 title11 @@ -2177,7 +2065,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-right rc-table-cell-fix-right-first" scope="col" style="position: sticky; right: 15px;" - title="title12" > title12 @@ -2340,7 +2227,6 @@ LoadedCheerio { 123 @@ -2362,56 +2248,47 @@ LoadedCheerio { /> xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx @@ -2423,7 +2300,6 @@ LoadedCheerio { cdd @@ -2445,56 +2321,47 @@ LoadedCheerio { /> edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 edd12221 @@ -2506,7 +2373,6 @@ LoadedCheerio { 133 @@ -2525,7 +2391,6 @@ LoadedCheerio { edd12221 @@ -2565,7 +2430,6 @@ LoadedCheerio { 133 @@ -2584,7 +2448,6 @@ LoadedCheerio { edd12221 @@ -2624,7 +2487,6 @@ LoadedCheerio { 133 @@ -2643,7 +2505,6 @@ LoadedCheerio { edd12221 @@ -2683,7 +2544,6 @@ LoadedCheerio { 133 @@ -2702,7 +2562,6 @@ LoadedCheerio { edd12221 @@ -2742,7 +2601,6 @@ LoadedCheerio { 133 @@ -2761,7 +2619,6 @@ LoadedCheerio { edd12221 @@ -2801,7 +2658,6 @@ LoadedCheerio { 133 @@ -2820,7 +2676,6 @@ LoadedCheerio { edd12221 @@ -2860,7 +2715,6 @@ LoadedCheerio { 133 @@ -2879,7 +2733,6 @@ LoadedCheerio { edd12221 @@ -3012,7 +2865,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-left" scope="col" style="position: sticky; left: 0px;" - title="title1" > title1 @@ -3031,63 +2883,54 @@ LoadedCheerio { title3 title4 title5 title6 title7 title8 title9 title10 title11 @@ -3095,7 +2938,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-right rc-table-cell-fix-right-first" scope="col" style="position: sticky; right: 15px;" - title="title12" > title12 @@ -3257,7 +3099,6 @@ LoadedCheerio {
shadow should display correctly 1`] = ` class="rc-table-cell" rowspan="4" scope="col" - title="Name" > Name @@ -5967,7 +5807,6 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` class="rc-table-cell" colspan="2" scope="colgroup" - title="Company" > Company @@ -5976,7 +5815,6 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` rowspan="4" scope="col" style="position: sticky; right: 15px;" - title="Gender" > Gender @@ -6001,7 +5839,6 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` colspan="3" scope="colgroup" style="position: sticky; left: 0px;" - title="Address" > Address @@ -6009,7 +5846,6 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` class="rc-table-cell" rowspan="3" scope="col" - title="Company Address" > Company Address @@ -6017,7 +5853,6 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` class="rc-table-cell" rowspan="3" scope="col" - title="Company Name" > Company Name @@ -6037,7 +5872,6 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` colspan="2" scope="colgroup" style="position: sticky; left: 0px;" - title="Block" > Block @@ -6217,26 +6051,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6279,26 +6109,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6341,26 +6167,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6403,26 +6225,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6465,26 +6283,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6527,26 +6341,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6589,26 +6399,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6651,26 +6457,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6713,26 +6515,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6775,26 +6573,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6837,26 +6631,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6899,26 +6689,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -6961,26 +6747,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7023,26 +6805,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7085,26 +6863,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7147,26 +6921,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7209,26 +6979,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7271,26 +7037,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7333,26 +7095,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7395,26 +7153,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7457,26 +7211,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7519,26 +7269,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7581,26 +7327,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7643,26 +7385,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7705,26 +7443,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7767,26 +7501,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7829,26 +7559,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7891,26 +7617,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -7953,26 +7675,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8015,26 +7733,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8077,26 +7791,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8139,26 +7849,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8201,26 +7907,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8263,26 +7965,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8325,26 +8023,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8387,26 +8081,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8449,26 +8139,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8511,26 +8197,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8573,26 +8255,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8635,26 +8313,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8697,26 +8371,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8759,26 +8429,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8821,26 +8487,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8883,26 +8545,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -8945,26 +8603,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9007,26 +8661,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9069,26 +8719,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9131,26 +8777,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9193,26 +8835,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9255,26 +8893,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9317,26 +8951,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9379,26 +9009,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9441,26 +9067,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9503,26 +9125,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9565,26 +9183,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9627,26 +9241,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9689,26 +9299,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9751,26 +9357,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9813,26 +9415,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9875,26 +9473,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9937,26 +9531,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -9999,26 +9589,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10061,26 +9647,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10123,26 +9705,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10185,26 +9763,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10247,26 +9821,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10309,26 +9879,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10371,26 +9937,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10433,26 +9995,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10495,26 +10053,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10557,26 +10111,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10619,26 +10169,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10681,26 +10227,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10743,26 +10285,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10805,26 +10343,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10867,26 +10401,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10929,26 +10459,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -10991,26 +10517,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11053,26 +10575,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11115,26 +10633,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11177,26 +10691,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11239,26 +10749,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11301,26 +10807,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11363,26 +10865,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11425,26 +10923,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11487,26 +10981,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11549,26 +11039,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11611,26 +11097,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11673,26 +11155,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11735,26 +11213,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11797,26 +11271,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11859,26 +11329,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11921,26 +11387,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -11983,26 +11445,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -12045,26 +11503,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -12107,26 +11561,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -12169,26 +11619,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -12231,26 +11677,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -12293,26 +11735,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -12355,26 +11793,22 @@ exports[`Table.FixedColumn > shadow should display correctly 1`] = ` John Brown Lake Street 42 SoftLake Co M @@ -12412,7 +11846,6 @@ exports[`Table.FixedColumn > shadow should display correctly 2`] = ` colspan="4" scope="colgroup" style="position: sticky; left: 0px;" - title="父表头右侧的阴影导致整个表格最右侧有空隙" > 父表头右侧的阴影导致整个表格最右侧有空隙 @@ -12427,7 +11860,6 @@ exports[`Table.FixedColumn > shadow should display correctly 2`] = ` class="rc-table-cell rc-table-cell-fix-left" scope="col" style="position: sticky; left: 0px;" - title="Name0" > Name0 @@ -12435,14 +11867,12 @@ exports[`Table.FixedColumn > shadow should display correctly 2`] = ` class="rc-table-cell rc-table-cell-fix-left rc-table-cell-fix-left-last" scope="col" style="position: sticky; left: 0px;" - title="Name1" > Name1 Name2 @@ -12450,7 +11880,6 @@ exports[`Table.FixedColumn > shadow should display correctly 2`] = ` class="rc-table-cell rc-table-cell-fix-right rc-table-cell-fix-right-first" scope="col" style="position: sticky; right: 15px;" - title="Name3" > Name3 diff --git a/tests/__snapshots__/Summary.spec.tsx.snap b/tests/__snapshots__/Summary.spec.tsx.snap index 077a54c7f..40aec2575 100644 --- a/tests/__snapshots__/Summary.spec.tsx.snap +++ b/tests/__snapshots__/Summary.spec.tsx.snap @@ -10,20 +10,17 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-left rc-table-cell-fix-left-last" colspan="2" style="position: sticky; left: 0px;" - title="Light" > Light Bamboo 112.5 diff --git a/tests/__snapshots__/Table.spec.jsx.snap b/tests/__snapshots__/Table.spec.jsx.snap index 553f995a4..c3261a2ff 100644 --- a/tests/__snapshots__/Table.spec.jsx.snap +++ b/tests/__snapshots__/Table.spec.jsx.snap @@ -25,14 +25,12 @@ LoadedCheerio { title title3 @@ -47,13 +45,11 @@ LoadedCheerio { > 2 3 @@ -64,13 +60,11 @@ LoadedCheerio { > 2 3 @@ -138,7 +132,6 @@ LoadedCheerio { class="rc-table-cell" name="my-header-cell" scope="col" - title="Name" > Name @@ -156,7 +149,6 @@ LoadedCheerio { Lucy @@ -169,7 +161,6 @@ LoadedCheerio { Jack @@ -238,7 +229,6 @@ LoadedCheerio { name="my-header-cell" scope="col" style="position: sticky; left: 0px;" - title="Name" > Name @@ -246,7 +236,6 @@ LoadedCheerio { class="rc-table-cell" name="my-header-cell" scope="col" - title="Age" > Age @@ -255,7 +244,6 @@ LoadedCheerio { name="my-header-cell" scope="col" style="position: sticky; right: 15px;" - title="Gender" > Gender @@ -323,14 +311,12 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-left rc-table-cell-fix-left-last" name="my-body-cell" style="position: sticky; left: 0px;" - title="Lucy" > Lucy 27 @@ -338,7 +324,6 @@ LoadedCheerio { class="rc-table-cell rc-table-cell-fix-right rc-table-cell-fix-right-first" name="my-body-cell" style="position: sticky; right: 0px;" - title="F" > F @@ -480,21 +465,18 @@ LoadedCheerio { before Name after @@ -512,7 +494,6 @@ LoadedCheerio { /> Lucy @@ -529,7 +510,6 @@ LoadedCheerio { /> Jack @@ -596,7 +576,6 @@ LoadedCheerio { class="rc-table-cell" colspan="2" scope="colgroup" - title="Name" > Name @@ -612,7 +591,6 @@ LoadedCheerio { John @@ -623,13 +601,11 @@ LoadedCheerio { > Terry Garner @@ -692,7 +668,6 @@ LoadedCheerio { Name @@ -707,7 +682,6 @@ LoadedCheerio { > Lucy @@ -718,7 +692,6 @@ LoadedCheerio { > Jack @@ -781,7 +754,6 @@ LoadedCheerio { Name @@ -796,7 +768,6 @@ LoadedCheerio { > Lucy @@ -807,7 +778,6 @@ LoadedCheerio { > Jack @@ -870,14 +840,12 @@ LoadedCheerio { 姓名 年龄 @@ -892,7 +860,6 @@ LoadedCheerio { > Lucy @@ -906,7 +873,6 @@ LoadedCheerio { > Jack @@ -972,7 +938,6 @@ LoadedCheerio { 姓名 @@ -987,7 +952,6 @@ LoadedCheerio { > Lucy @@ -998,7 +962,6 @@ LoadedCheerio { > Jack @@ -1140,14 +1103,12 @@ LoadedCheerio { First Name Last Name @@ -1162,14 +1123,12 @@ LoadedCheerio { > John Doe @@ -1180,7 +1139,6 @@ LoadedCheerio { > Terry @@ -1251,7 +1209,6 @@ LoadedCheerio { Name @@ -1317,7 +1274,6 @@ LoadedCheerio { total @@ -1326,7 +1282,6 @@ LoadedCheerio { Name @@ -1340,7 +1295,6 @@ LoadedCheerio { > No Data From 9361b3bddb7370d4904089ae13afba7ba09aec60 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 15 Aug 2024 23:39:20 +0800 Subject: [PATCH 2/3] fix jest snapshot --- tests/__snapshots__/FixedColumn.spec.tsx.snap | 204 ------------------ 1 file changed, 204 deletions(-) diff --git a/tests/__snapshots__/FixedColumn.spec.tsx.snap b/tests/__snapshots__/FixedColumn.spec.tsx.snap index bef892dcf..d108ba0f9 100644 --- a/tests/__snapshots__/FixedColumn.spec.tsx.snap +++ b/tests/__snapshots__/FixedColumn.spec.tsx.snap @@ -3168,21 +3168,18 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where class="rc-table-cell rc-table-cell-fix-left rc-table-cell-fix-left-last" scope="col" style="position: sticky; left: 0px;" - title="Other" > Other Name Company @@ -3190,7 +3187,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where class="rc-table-cell rc-table-cell-fix-right rc-table-cell-fix-right-first" scope="col" style="position: sticky; right: 15px;" - title="Gender" > Gender @@ -3265,7 +3261,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3275,7 +3270,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3290,7 +3284,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3300,7 +3293,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3315,7 +3307,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3325,7 +3316,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3340,7 +3330,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3350,7 +3339,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3365,7 +3353,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3375,7 +3362,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3390,7 +3376,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3400,7 +3385,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3415,7 +3399,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3425,7 +3408,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3440,7 +3422,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3450,7 +3431,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3465,7 +3445,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3475,7 +3454,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3490,7 +3468,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3500,7 +3477,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3515,7 +3491,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3525,7 +3500,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3540,7 +3514,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3550,7 +3523,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3565,7 +3537,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3575,7 +3546,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3590,7 +3560,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3600,7 +3569,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3615,7 +3583,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3625,7 +3592,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3640,7 +3606,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3650,7 +3615,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3665,7 +3629,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3675,7 +3638,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3690,7 +3652,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3700,7 +3661,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3715,7 +3675,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3725,7 +3684,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3740,7 +3698,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3750,7 +3707,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3765,7 +3721,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3775,7 +3730,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3790,7 +3744,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3800,7 +3753,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3815,7 +3767,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3825,7 +3776,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3840,7 +3790,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3850,7 +3799,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3865,7 +3813,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3875,7 +3822,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3890,7 +3836,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3900,7 +3845,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3915,7 +3859,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3925,7 +3868,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3940,7 +3882,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3950,7 +3891,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3965,7 +3905,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -3975,7 +3914,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -3990,7 +3928,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4000,7 +3937,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4015,7 +3951,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4025,7 +3960,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4040,7 +3974,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4050,7 +3983,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4065,7 +3997,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4075,7 +4006,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4090,7 +4020,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4100,7 +4029,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4115,7 +4043,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4125,7 +4052,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4140,7 +4066,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4150,7 +4075,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4165,7 +4089,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4175,7 +4098,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4190,7 +4112,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4200,7 +4121,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4215,7 +4135,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4225,7 +4144,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4240,7 +4158,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4250,7 +4167,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4265,7 +4181,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4275,7 +4190,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4290,7 +4204,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4300,7 +4213,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4315,7 +4227,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4325,7 +4236,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4340,7 +4250,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4350,7 +4259,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4365,7 +4273,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4375,7 +4282,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4390,7 +4296,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4400,7 +4305,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4415,7 +4319,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4425,7 +4328,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4440,7 +4342,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4450,7 +4351,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4465,7 +4365,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4475,7 +4374,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4490,7 +4388,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4500,7 +4397,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4515,7 +4411,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4525,7 +4420,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4540,7 +4434,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4550,7 +4443,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4565,7 +4457,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4575,7 +4466,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4590,7 +4480,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4600,7 +4489,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4615,7 +4503,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4625,7 +4512,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4640,7 +4526,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4650,7 +4535,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4665,7 +4549,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4675,7 +4558,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4690,7 +4572,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4700,7 +4581,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4715,7 +4595,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4725,7 +4604,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4740,7 +4618,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4750,7 +4627,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4765,7 +4641,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4775,7 +4650,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4790,7 +4664,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4800,7 +4673,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4815,7 +4687,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4825,7 +4696,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4840,7 +4710,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4850,7 +4719,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4865,7 +4733,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4875,7 +4742,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4890,7 +4756,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4900,7 +4765,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4915,7 +4779,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4925,7 +4788,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4940,7 +4802,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4950,7 +4811,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4965,7 +4825,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -4975,7 +4834,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -4990,7 +4848,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5000,7 +4857,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5015,7 +4871,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5025,7 +4880,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5040,7 +4894,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5050,7 +4903,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5065,7 +4917,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5075,7 +4926,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5090,7 +4940,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5100,7 +4949,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5115,7 +4963,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5125,7 +4972,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5140,7 +4986,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5150,7 +4995,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5165,7 +5009,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5175,7 +5018,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5190,7 +5032,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5200,7 +5041,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5215,7 +5055,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5225,7 +5064,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5240,7 +5078,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5250,7 +5087,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5265,7 +5101,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5275,7 +5110,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5290,7 +5124,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5300,7 +5133,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5315,7 +5147,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5325,7 +5156,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5340,7 +5170,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5350,7 +5179,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5365,7 +5193,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5375,7 +5202,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5390,7 +5216,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5400,7 +5225,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5415,7 +5239,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5425,7 +5248,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5440,7 +5262,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5450,7 +5271,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5465,7 +5285,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5475,7 +5294,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5490,7 +5308,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5500,7 +5317,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5515,7 +5331,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5525,7 +5340,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5540,7 +5354,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5550,7 +5363,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5565,7 +5377,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5575,7 +5386,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5590,7 +5400,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5600,7 +5409,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5615,7 +5423,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5625,7 +5432,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5640,7 +5446,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5650,7 +5455,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5665,7 +5469,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5675,7 +5478,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5690,7 +5492,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5700,7 +5501,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5715,7 +5515,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5725,7 +5524,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M @@ -5740,7 +5538,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where /> John Brown @@ -5750,7 +5547,6 @@ exports[`Table.FixedColumn > shadow should be shown when there are columns where M From 42ce4610040d10d6920717381630e4f1d63ca5ed Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 15 Aug 2024 23:39:52 +0800 Subject: [PATCH 3/3] fix husky warning --- .husky/pre-commit | 3 --- 1 file changed, 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index cf0c46b93..041c660c9 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no-install lint-staged