Skip to content

Commit b0a7ff0

Browse files
committed
feat: sync v5
1 parent 54f9f28 commit b0a7ff0

File tree

4 files changed

+260
-314
lines changed

4 files changed

+260
-314
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shamefully-hoist=true

tests/__snapshots__/ExpandRow.spec.jsx.snap

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -158,42 +158,42 @@ exports[`Table.Expand > does not crash if scroll is not set 1`] = `
158158
<tr
159159
aria-hidden="true"
160160
class="rc-table-measure-row"
161-
style="height: 0px; font-size: 0px;"
161+
style="height: 0px;"
162162
>
163163
<td
164-
style="padding: 0px; border: 0px; height: 0px;"
164+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
165165
>
166166
<div
167-
style="height: 0px; overflow: hidden;"
167+
style="height: 0px; overflow: hidden; font-weight: bold;"
168168
>
169169
 
170170
</div>
171171
</td>
172172
<td
173-
style="padding: 0px; border: 0px; height: 0px;"
173+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
174174
>
175175
<div
176-
style="height: 0px; overflow: hidden;"
176+
style="height: 0px; overflow: hidden; font-weight: bold;"
177177
>
178-
 
178+
Name
179179
</div>
180180
</td>
181181
<td
182-
style="padding: 0px; border: 0px; height: 0px;"
182+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
183183
>
184184
<div
185-
style="height: 0px; overflow: hidden;"
185+
style="height: 0px; overflow: hidden; font-weight: bold;"
186186
>
187-
 
187+
Age
188188
</div>
189189
</td>
190190
<td
191-
style="padding: 0px; border: 0px; height: 0px;"
191+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
192192
>
193193
<div
194-
style="height: 0px; overflow: hidden;"
194+
style="height: 0px; overflow: hidden; font-weight: bold;"
195195
>
196-
 
196+
Gender
197197
</div>
198198
</td>
199199
</tr>
@@ -313,42 +313,42 @@ exports[`Table.Expand > does not crash if scroll is not set 2`] = `
313313
<tr
314314
aria-hidden="true"
315315
class="rc-table-measure-row"
316-
style="height: 0px; font-size: 0px;"
316+
style="height: 0px;"
317317
>
318318
<td
319-
style="padding: 0px; border: 0px; height: 0px;"
319+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
320320
>
321321
<div
322-
style="height: 0px; overflow: hidden;"
322+
style="height: 0px; overflow: hidden; font-weight: bold;"
323323
>
324324
 
325325
</div>
326326
</td>
327327
<td
328-
style="padding: 0px; border: 0px; height: 0px;"
328+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
329329
>
330330
<div
331-
style="height: 0px; overflow: hidden;"
331+
style="height: 0px; overflow: hidden; font-weight: bold;"
332332
>
333-
 
333+
Name
334334
</div>
335335
</td>
336336
<td
337-
style="padding: 0px; border: 0px; height: 0px;"
337+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
338338
>
339339
<div
340-
style="height: 0px; overflow: hidden;"
340+
style="height: 0px; overflow: hidden; font-weight: bold;"
341341
>
342-
 
342+
Age
343343
</div>
344344
</td>
345345
<td
346-
style="padding: 0px; border: 0px; height: 0px;"
346+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
347347
>
348348
<div
349-
style="height: 0px; overflow: hidden;"
349+
style="height: 0px; overflow: hidden; font-weight: bold;"
350350
>
351-
 
351+
Gender
352352
</div>
353353
</td>
354354
</tr>
@@ -557,42 +557,42 @@ exports[`Table.Expand > renders fixed column correctly > work 1`] = `
557557
<tr
558558
aria-hidden="true"
559559
class="rc-table-measure-row"
560-
style="height: 0px; font-size: 0px;"
560+
style="height: 0px;"
561561
>
562562
<td
563-
style="padding: 0px; border: 0px; height: 0px;"
563+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
564564
>
565565
<div
566-
style="height: 0px; overflow: hidden;"
566+
style="height: 0px; overflow: hidden; font-weight: bold;"
567567
>
568568
 
569569
</div>
570570
</td>
571571
<td
572-
style="padding: 0px; border: 0px; height: 0px;"
572+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
573573
>
574574
<div
575-
style="height: 0px; overflow: hidden;"
575+
style="height: 0px; overflow: hidden; font-weight: bold;"
576576
>
577-
 
577+
Name
578578
</div>
579579
</td>
580580
<td
581-
style="padding: 0px; border: 0px; height: 0px;"
581+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
582582
>
583583
<div
584-
style="height: 0px; overflow: hidden;"
584+
style="height: 0px; overflow: hidden; font-weight: bold;"
585585
>
586-
 
586+
Age
587587
</div>
588588
</td>
589589
<td
590-
style="padding: 0px; border: 0px; height: 0px;"
590+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
591591
>
592592
<div
593-
style="height: 0px; overflow: hidden;"
593+
style="height: 0px; overflow: hidden; font-weight: bold;"
594594
>
595-
 
595+
Gender
596596
</div>
597597
</td>
598598
</tr>
@@ -1023,42 +1023,42 @@ exports[`Table.Expand > work in expandable fix 1`] = `
10231023
<tr
10241024
aria-hidden="true"
10251025
class="rc-table-measure-row"
1026-
style="height: 0px; font-size: 0px;"
1026+
style="height: 0px;"
10271027
>
10281028
<td
1029-
style="padding: 0px; border: 0px; height: 0px;"
1029+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
10301030
>
10311031
<div
1032-
style="height: 0px; overflow: hidden;"
1032+
style="height: 0px; overflow: hidden; font-weight: bold;"
10331033
>
10341034
 
10351035
</div>
10361036
</td>
10371037
<td
1038-
style="padding: 0px; border: 0px; height: 0px;"
1038+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
10391039
>
10401040
<div
1041-
style="height: 0px; overflow: hidden;"
1041+
style="height: 0px; overflow: hidden; font-weight: bold;"
10421042
>
1043-
 
1043+
Name
10441044
</div>
10451045
</td>
10461046
<td
1047-
style="padding: 0px; border: 0px; height: 0px;"
1047+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
10481048
>
10491049
<div
1050-
style="height: 0px; overflow: hidden;"
1050+
style="height: 0px; overflow: hidden; font-weight: bold;"
10511051
>
1052-
 
1052+
Age
10531053
</div>
10541054
</td>
10551055
<td
1056-
style="padding: 0px; border: 0px; height: 0px;"
1056+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
10571057
>
10581058
<div
1059-
style="height: 0px; overflow: hidden;"
1059+
style="height: 0px; overflow: hidden; font-weight: bold;"
10601060
>
1061-
 
1061+
Gender
10621062
</div>
10631063
</td>
10641064
</tr>
@@ -1181,40 +1181,40 @@ exports[`Table.Expand > work in expandable fix 2`] = `
11811181
<tr
11821182
aria-hidden="true"
11831183
class="rc-table-measure-row"
1184-
style="height: 0px; font-size: 0px;"
1184+
style="height: 0px;"
11851185
>
11861186
<td
1187-
style="padding: 0px; border: 0px; height: 0px;"
1187+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
11881188
>
11891189
<div
1190-
style="height: 0px; overflow: hidden;"
1190+
style="height: 0px; overflow: hidden; font-weight: bold;"
11911191
>
1192-
 
1192+
Name
11931193
</div>
11941194
</td>
11951195
<td
1196-
style="padding: 0px; border: 0px; height: 0px;"
1196+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
11971197
>
11981198
<div
1199-
style="height: 0px; overflow: hidden;"
1199+
style="height: 0px; overflow: hidden; font-weight: bold;"
12001200
>
1201-
 
1201+
Age
12021202
</div>
12031203
</td>
12041204
<td
1205-
style="padding: 0px; border: 0px; height: 0px;"
1205+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
12061206
>
12071207
<div
1208-
style="height: 0px; overflow: hidden;"
1208+
style="height: 0px; overflow: hidden; font-weight: bold;"
12091209
>
1210-
 
1210+
Gender
12111211
</div>
12121212
</td>
12131213
<td
1214-
style="padding: 0px; border: 0px; height: 0px;"
1214+
style="padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-bottom: 0px; height: 0px;"
12151215
>
12161216
<div
1217-
style="height: 0px; overflow: hidden;"
1217+
style="height: 0px; overflow: hidden; font-weight: bold;"
12181218
>
12191219
 
12201220
</div>

0 commit comments

Comments
 (0)