@@ -582,10 +582,7 @@ By default, the options in the `Select` for sorting in stacked layout are genera
582582 < / View>
583583 )}
584584
585- < Table
586- caption= {` ${ caption} : sorted by ${ sortBy} in ${ direction} order` }
587- {... props}
588- >
585+ < Table {... props}>
589586 < Table .Head renderSortLabel= " Sort by" >
590587 {this .renderHeaderRow (direction)}
591588 < / Table .Head >
@@ -601,13 +598,6 @@ By default, the options in the `Select` for sorting in stacked layout are genera
601598 ))}
602599 < / Table .Body >
603600 < / Table>
604- < Alert
605- liveRegion= {() => document .getElementById (' flash-messages' )}
606- liveRegionPoliteness= " polite"
607- screenReaderOnly
608- >
609- {` Sorted by ${ sortBy} in ${ direction} order` }
610- < / Alert>
611601 < / div>
612602 )}
613603 < / Responsive>
@@ -806,10 +796,7 @@ By default, the options in the `Select` for sorting in stacked layout are genera
806796 < / View>
807797 )}
808798
809- < Table
810- caption= {` ${ caption} : sorted by ${ sortBy} in ${ direction} order` }
811- {... props}
812- >
799+ < Table {... props}>
813800 < Table .Head renderSortLabel= " Sort by" >
814801 {renderHeaderRow (direction)}
815802 < / Table .Head >
@@ -825,13 +812,6 @@ By default, the options in the `Select` for sorting in stacked layout are genera
825812 ))}
826813 < / Table .Body >
827814 < / Table>
828- < Alert
829- liveRegion= {() => document .getElementById (' flash-messages' )}
830- liveRegionPoliteness= " polite"
831- screenReaderOnly
832- >
833- {` Sorted by ${ sortBy} in ${ direction} order` }
834- < / Alert>
835815 < / div>
836816 )}
837817 < / Responsive>
@@ -966,10 +946,7 @@ that selection does not re-paginate or re-sort the table, and pagination does no
966946 < View as= " div" padding= " small" background= " primary-inverse" >
967947 {` ${ selected .size } of ${ rowIds .length } selected` }
968948 < / View>
969- < Table
970- caption= {` ${ caption} : sorted by ${ sortBy} in ${ direction} order` }
971- {... props}
972- >
949+ < Table {... props}>
973950 < Table .Head
974951 renderSortLabel= {
975952 < ScreenReaderContent> Sort by< / ScreenReaderContent>
@@ -1175,15 +1152,6 @@ that selection does not re-paginate or re-sort the table, and pagination does no
11751152 ascending= {ascending}
11761153 perPage= {perPage}
11771154 / >
1178- < Alert
1179- liveRegion= {() => document .getElementById (' flash-messages' )}
1180- liveRegionPoliteness= " polite"
1181- screenReaderOnly
1182- >
1183- {` Sorted by ${ sortBy} in ${
1184- ascending ? ' ascending' : ' descending'
1185- } order` }
1186- < / Alert>
11871155 < / div>
11881156 )
11891157 }
@@ -1305,10 +1273,7 @@ that selection does not re-paginate or re-sort the table, and pagination does no
13051273 < View as= " div" padding= " small" background= " primary-inverse" >
13061274 {` ${ selected .size } of ${ rowIds .length } selected` }
13071275 < / View>
1308- < Table
1309- caption= {` ${ caption} : sorted by ${ sortBy} in ${ direction} order` }
1310- {... props}
1311- >
1276+ < Table {... props}>
13121277 < Table .Head
13131278 renderSortLabel= {
13141279 < ScreenReaderContent> Sort by< / ScreenReaderContent>
@@ -1485,15 +1450,6 @@ that selection does not re-paginate or re-sort the table, and pagination does no
14851450 ascending= {ascending}
14861451 perPage= {perPage}
14871452 / >
1488- < Alert
1489- liveRegion= {() => document .getElementById (' flash-messages' )}
1490- liveRegionPoliteness= " polite"
1491- screenReaderOnly
1492- >
1493- {` Sorted by ${ sortBy} in ${
1494- ascending ? ' ascending' : ' descending'
1495- } order` }
1496- < / Alert>
14971453 < / div>
14981454 )
14991455 }
0 commit comments