@solexllc/usx-react 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/README.md +16 -0
  2. package/dist/index.cjs +3231 -3270
  3. package/dist/index.js +3232 -3271
  4. package/package.json +4 -4
  5. package/src/components/accordion/Accordion.tsx +4 -1
  6. package/src/components/accordion/accordion.django.html +1 -1
  7. package/src/components/accordion/config.json +1 -0
  8. package/src/components/banner/Banner.tsx +3 -1
  9. package/src/components/banner/banner.django.html +1 -1
  10. package/src/components/banner/config.json +1 -0
  11. package/src/components/carousel/carousel.django-snapshot.html +0 -40
  12. package/src/components/carousel/carousel.react-snapshot.html +0 -38
  13. package/src/components/character-count/CharacterCount.tsx +3 -0
  14. package/src/components/character-count/character-count.django-snapshot.html +43 -0
  15. package/src/components/character-count/character-count.django.html +2 -2
  16. package/src/components/character-count/character-count.react-snapshot.html +37 -0
  17. package/src/components/character-count/config.json +9 -0
  18. package/src/components/checkbox/Checkbox.tsx +17 -13
  19. package/src/components/checkbox/checkbox.django-snapshot.html +18 -0
  20. package/src/components/checkbox/checkbox.django.html +6 -4
  21. package/src/components/checkbox/checkbox.react-snapshot.html +14 -0
  22. package/src/components/checkbox/config.json +10 -1
  23. package/src/components/checkbox-group/checkbox-group.django-snapshot.html +54 -0
  24. package/src/components/checkbox-group/checkbox-group.react-snapshot.html +45 -0
  25. package/src/components/combobox/Combobox.tsx +6 -1
  26. package/src/components/combobox/combobox.django-snapshot.html +141 -0
  27. package/src/components/combobox/combobox.django.html +2 -2
  28. package/src/components/combobox/combobox.react-snapshot.html +76 -0
  29. package/src/components/combobox/config.json +9 -0
  30. package/src/components/data-table/DataTable.tsx +180 -0
  31. package/src/components/data-table/README.md +42 -0
  32. package/src/components/data-table/TableBody.tsx +123 -0
  33. package/src/components/{table → data-table}/TableCell.tsx +6 -3
  34. package/src/components/data-table/TableContext.tsx +49 -0
  35. package/src/components/{table → data-table}/TableFoot.tsx +8 -7
  36. package/src/components/data-table/TableGroup.tsx +62 -0
  37. package/src/components/data-table/TableHead.tsx +126 -0
  38. package/src/components/data-table/TableRow.tsx +24 -0
  39. package/src/components/data-table/cells.ts +49 -0
  40. package/src/components/data-table/columns.ts +15 -0
  41. package/src/components/data-table/config.json +379 -0
  42. package/src/components/data-table/data-table.django-snapshot.html +13560 -0
  43. package/src/components/data-table/data-table.django.html +13 -0
  44. package/src/components/data-table/data-table.html +34 -0
  45. package/src/components/data-table/data-table.react-snapshot.html +12033 -0
  46. package/src/components/{table → data-table}/table-body.django.html +12 -12
  47. package/src/components/{table → data-table}/table-foot.django.html +6 -6
  48. package/src/components/data-table/table-group.django.html +24 -0
  49. package/src/components/data-table/table-head.django.html +21 -0
  50. package/src/components/data-table/table-row.django.html +57 -0
  51. package/src/components/{table → data-table}/types.ts +48 -5
  52. package/src/components/date-picker/DatePicker.tsx +6 -1
  53. package/src/components/date-picker/config.json +9 -0
  54. package/src/components/date-picker/date-picker.django-snapshot.html +23 -0
  55. package/src/components/date-picker/date-picker.django.html +4 -4
  56. package/src/components/date-picker/date-picker.react-snapshot.html +19 -0
  57. package/src/components/date-range-picker/DateRangePicker.tsx +11 -2
  58. package/src/components/date-range-picker/config.json +14 -0
  59. package/src/components/date-range-picker/date-range-picker.django-snapshot.html +47 -0
  60. package/src/components/date-range-picker/date-range-picker.django.html +5 -5
  61. package/src/components/date-range-picker/date-range-picker.react-snapshot.html +38 -0
  62. package/src/components/drawer/Drawer.tsx +3 -1
  63. package/src/components/drawer/config.json +4 -0
  64. package/src/components/drawer/drawer.django.html +1 -1
  65. package/src/components/file-input/FileInput.tsx +7 -2
  66. package/src/components/file-input/_contents.django.html +2 -1
  67. package/src/components/file-input/config.json +4 -0
  68. package/src/components/header/Header.tsx +15 -9
  69. package/src/components/header/config.json +1 -0
  70. package/src/components/header/header.django-snapshot.html +24 -0
  71. package/src/components/header/header.django.html +8 -4
  72. package/src/components/header/header.html +20 -0
  73. package/src/components/header/header.react-snapshot.html +20 -0
  74. package/src/components/in-page-nav/InPageNav.tsx +3 -0
  75. package/src/components/in-page-nav/config.json +1 -0
  76. package/src/components/in-page-nav/in-page-nav.django.html +1 -1
  77. package/src/components/input/Input.tsx +3 -0
  78. package/src/components/input/config.json +10 -0
  79. package/src/components/input/input.django-snapshot.html +24 -0
  80. package/src/components/input/input.django.html +4 -4
  81. package/src/components/input/input.react-snapshot.html +22 -0
  82. package/src/components/language-selector/LanguageSelector.tsx +10 -5
  83. package/src/components/language-selector/config.json +1 -0
  84. package/src/components/language-selector/language-selector.django.html +2 -2
  85. package/src/components/layout/Layout.tsx +3 -1
  86. package/src/components/layout/config.json +4 -0
  87. package/src/components/layout/layout.django.html +1 -1
  88. package/src/components/memorable-date/MemorableDate.tsx +18 -3
  89. package/src/components/memorable-date/config.json +15 -0
  90. package/src/components/memorable-date/memorable-date.django-snapshot.html +82 -0
  91. package/src/components/memorable-date/memorable-date.django.html +14 -14
  92. package/src/components/memorable-date/memorable-date.react-snapshot.html +70 -0
  93. package/src/components/modal/Modal.tsx +3 -0
  94. package/src/components/modal/config.json +1 -0
  95. package/src/components/modal/modal.django.html +1 -1
  96. package/src/components/pagination/Pagination.tsx +7 -1
  97. package/src/components/pagination/config.json +8 -0
  98. package/src/components/pagination/navigation/PaginationNavigation.tsx +10 -0
  99. package/src/components/pagination/step-options/PaginationStepOptions.tsx +3 -0
  100. package/src/components/popover/Popover.tsx +3 -0
  101. package/src/components/popover/config.json +4 -0
  102. package/src/components/popover/popover.django-snapshot.html +30 -0
  103. package/src/components/popover/popover.django.html +1 -0
  104. package/src/components/radio-buttons/RadioButtons.tsx +41 -27
  105. package/src/components/radio-buttons/config.json +19 -1
  106. package/src/components/radio-buttons/radio-buttons.django-snapshot.html +93 -60
  107. package/src/components/radio-buttons/radio-buttons.django.html +16 -28
  108. package/src/components/radio-buttons/radio-buttons.react-snapshot.html +53 -0
  109. package/src/components/range-slider/RangeSlider.tsx +4 -2
  110. package/src/components/range-slider/config.json +1 -0
  111. package/src/components/range-slider/range-slider.django-snapshot.html +17 -0
  112. package/src/components/range-slider/range-slider.django.html +4 -4
  113. package/src/components/range-slider/range-slider.react-snapshot.html +16 -0
  114. package/src/components/search/Search.tsx +6 -1
  115. package/src/components/search/config.json +5 -0
  116. package/src/components/search/search.django-snapshot.html +683 -563
  117. package/src/components/search/search.django.html +1 -1
  118. package/src/components/search/search.react-snapshot.html +25 -0
  119. package/src/components/select/Select.tsx +3 -1
  120. package/src/components/select/config.json +5 -0
  121. package/src/components/select/select.django-snapshot.html +15 -0
  122. package/src/components/select/select.django.html +2 -2
  123. package/src/components/select/select.react-snapshot.html +11 -0
  124. package/src/components/switch/Switch.tsx +13 -70
  125. package/src/components/switch/config.json +60 -23
  126. package/src/components/switch/switch.django-snapshot.html +507 -56
  127. package/src/components/switch/switch.django.html +23 -26
  128. package/src/components/switch/switch.html +425 -33
  129. package/src/components/switch/switch.react-snapshot.html +447 -58
  130. package/src/components/table/Table.tsx +66 -334
  131. package/src/components/table/config.json +22 -339
  132. package/src/components/table/table.django-snapshot.html +712 -1482
  133. package/src/components/table/table.django.html +14 -59
  134. package/src/components/table/table.html +7 -2364
  135. package/src/components/table/table.react-snapshot.html +711 -2085
  136. package/src/components/text-area/TextArea.tsx +3 -1
  137. package/src/components/text-area/config.json +5 -0
  138. package/src/components/text-area/text-area.django-snapshot.html +18 -0
  139. package/src/components/text-area/text-area.django.html +4 -4
  140. package/src/components/text-area/text-area.react-snapshot.html +16 -0
  141. package/src/components/theme-picker/ThemePicker.tsx +3 -1
  142. package/src/components/theme-picker/config.json +14 -1
  143. package/src/components/theme-picker/theme-picker.django-snapshot.html +64 -0
  144. package/src/components/theme-picker/theme-picker.django.html +2 -2
  145. package/src/components/theme-picker/theme-picker.react-snapshot.html +52 -0
  146. package/src/components/time-picker/TimePicker.tsx +6 -1
  147. package/src/components/time-picker/config.json +9 -0
  148. package/src/components/time-picker/time-picker.django-snapshot.html +26 -0
  149. package/src/components/time-picker/time-picker.django.html +4 -4
  150. package/src/components/time-picker/time-picker.react-snapshot.html +22 -0
  151. package/src/index.js +1 -0
  152. package/src/components/table/TableBody.tsx +0 -256
  153. package/src/components/table/TableContext.tsx +0 -87
  154. package/src/components/table/TableGroup.tsx +0 -69
  155. package/src/components/table/TableHead.tsx +0 -139
  156. package/src/components/table/TableRow.tsx +0 -56
  157. package/src/components/table/hooks/useRowDetails.ts +0 -34
  158. package/src/components/table/hooks/useTableGroups.ts +0 -61
  159. package/src/components/table/hooks/useTableSelect.ts +0 -82
  160. package/src/components/table/hooks/useTableSort.ts +0 -60
  161. package/src/components/table/table-group.django.html +0 -40
  162. package/src/components/table/table-head.django.html +0 -85
  163. package/src/components/table/table-row.django.html +0 -98
  164. package/src/components/table/table_helper.py +0 -298
  165. /package/src/components/{table → data-table}/table-detail-row.django.html +0 -0
@@ -1,2166 +1,792 @@
1
1
  <h3 class="site-preview-heading">Default</h3>
2
- <table id="react-standard" class="usa-table usx-table">
2
+ <table class="usa-table usx-table">
3
3
  <caption class="usx-table__caption">
4
4
  Historic U.S. documents
5
5
  </caption>
6
- <thead class="usx-table__head">
7
- <tr hidden="" aria-hidden="true">
8
- <td>
9
- <span
10
- class="usa-sr-only usa-table__announcement-region"
11
- aria-live="polite"
12
- id="react-standard-sort-announcement"
13
- ></span>
14
- </td>
15
- </tr>
16
- <tr class="usx-table__head-row">
17
- <th scope="col" class="usx-table__cell">Document title</th>
18
- <th scope="col" class="usx-table__cell">Description</th>
19
- <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
6
+ <thead>
7
+ <tr>
8
+ <th scope="col">Document title</th>
9
+ <th scope="col">Description</th>
10
+ <th scope="col">Year</th>
20
11
  </tr>
21
12
  </thead>
22
- <tbody class="usx-table__body">
23
- <tr class="usx-table__row">
24
- <th class="usx-table__cell" scope="row">Declaration of Independence</th>
25
- <td class="usx-table__cell">
26
- Statement adopted by the Continental Congress declaring independence from the British
27
- Empire.
28
- </td>
29
- <td class="usx-table__cell usx-table__cell--align-right">1776</td>
30
- </tr>
31
- <tr class="usx-table__row">
32
- <th class="usx-table__cell" scope="row">Bill of Rights</th>
33
- <td class="usx-table__cell">
34
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
35
- </td>
36
- <td class="usx-table__cell usx-table__cell--align-right">1791</td>
37
- </tr>
38
- <tr class="usx-table__row">
39
- <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
40
- <td class="usx-table__cell">
41
- A document written during the Seneca Falls Convention outlining the rights that American
42
- women should be entitled to as citizens.
43
- </td>
44
- <td class="usx-table__cell usx-table__cell--align-right">1848</td>
45
- </tr>
46
- <tr class="usx-table__row">
47
- <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
48
- <td class="usx-table__cell">
49
- An executive order granting freedom to slaves in designated southern states.
50
- </td>
51
- <td class="usx-table__cell usx-table__cell--align-right">1863</td>
13
+ <tbody>
14
+ <tr>
15
+ <th scope="row">Declaration of Independence</th>
16
+ <td>Statement adopted by the Continental Congress.</td>
17
+ <td>1776</td>
18
+ </tr>
19
+ <tr>
20
+ <th scope="row">Bill of Rights</th>
21
+ <td>The first ten amendments to the Constitution.</td>
22
+ <td>1791</td>
23
+ </tr>
24
+ <tr>
25
+ <th scope="row">Emancipation Proclamation</th>
26
+ <td>An executive order ending slavery in designated states.</td>
27
+ <td>1863</td>
52
28
  </tr>
53
29
  </tbody>
54
30
  </table>
55
31
 
56
32
  <h3 class="site-preview-heading">Striped</h3>
57
- <table id="react-striped" class="usa-table usa-table--striped usx-table">
33
+ <table class="usa-table usx-table usa-table--striped">
58
34
  <caption class="usx-table__caption">
59
35
  Striped table
60
36
  </caption>
61
- <thead class="usx-table__head">
62
- <tr hidden="" aria-hidden="true">
63
- <td>
64
- <span
65
- class="usa-sr-only usa-table__announcement-region"
66
- aria-live="polite"
67
- id="react-striped-sort-announcement"
68
- ></span>
69
- </td>
70
- </tr>
71
- <tr class="usx-table__head-row">
72
- <th scope="col" class="usx-table__cell">Document title</th>
73
- <th scope="col" class="usx-table__cell">Description</th>
74
- <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
37
+ <thead>
38
+ <tr>
39
+ <th scope="col">Document title</th>
40
+ <th scope="col">Description</th>
41
+ <th scope="col">Year</th>
75
42
  </tr>
76
43
  </thead>
77
- <tbody class="usx-table__body">
78
- <tr class="usx-table__row">
79
- <th class="usx-table__cell" scope="row">Declaration of Independence</th>
80
- <td class="usx-table__cell">
81
- Statement adopted by the Continental Congress declaring independence from the British
82
- Empire.
83
- </td>
84
- <td class="usx-table__cell usx-table__cell--align-right">1776</td>
85
- </tr>
86
- <tr class="usx-table__row">
87
- <th class="usx-table__cell" scope="row">Bill of Rights</th>
88
- <td class="usx-table__cell">
89
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
90
- </td>
91
- <td class="usx-table__cell usx-table__cell--align-right">1791</td>
92
- </tr>
93
- <tr class="usx-table__row">
94
- <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
95
- <td class="usx-table__cell">
96
- A document written during the Seneca Falls Convention outlining the rights that American
97
- women should be entitled to as citizens.
98
- </td>
99
- <td class="usx-table__cell usx-table__cell--align-right">1848</td>
100
- </tr>
101
- <tr class="usx-table__row">
102
- <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
103
- <td class="usx-table__cell">
104
- An executive order granting freedom to slaves in designated southern states.
105
- </td>
106
- <td class="usx-table__cell usx-table__cell--align-right">1863</td>
44
+ <tbody>
45
+ <tr>
46
+ <th scope="row">Declaration of Independence</th>
47
+ <td>Statement adopted by the Continental Congress.</td>
48
+ <td>1776</td>
49
+ </tr>
50
+ <tr>
51
+ <th scope="row">Bill of Rights</th>
52
+ <td>The first ten amendments to the Constitution.</td>
53
+ <td>1791</td>
54
+ </tr>
55
+ <tr>
56
+ <th scope="row">Emancipation Proclamation</th>
57
+ <td>An executive order ending slavery in designated states.</td>
58
+ <td>1863</td>
107
59
  </tr>
108
60
  </tbody>
109
61
  </table>
110
62
 
111
63
  <h3 class="site-preview-heading">Borderless</h3>
112
- <table id="react-borderless" class="usa-table usa-table--borderless usx-table">
64
+ <table class="usa-table usx-table usa-table--borderless">
113
65
  <caption class="usx-table__caption">
114
66
  Borderless table
115
67
  </caption>
116
- <thead class="usx-table__head">
117
- <tr hidden="" aria-hidden="true">
118
- <td>
119
- <span
120
- class="usa-sr-only usa-table__announcement-region"
121
- aria-live="polite"
122
- id="react-borderless-sort-announcement"
123
- ></span>
124
- </td>
125
- </tr>
126
- <tr class="usx-table__head-row">
127
- <th scope="col" class="usx-table__cell">Document title</th>
128
- <th scope="col" class="usx-table__cell">Description</th>
129
- <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
68
+ <thead>
69
+ <tr>
70
+ <th scope="col">Document title</th>
71
+ <th scope="col">Description</th>
72
+ <th scope="col">Year</th>
130
73
  </tr>
131
74
  </thead>
132
- <tbody class="usx-table__body">
133
- <tr class="usx-table__row">
134
- <th class="usx-table__cell" scope="row">Declaration of Independence</th>
135
- <td class="usx-table__cell">
136
- Statement adopted by the Continental Congress declaring independence from the British
137
- Empire.
138
- </td>
139
- <td class="usx-table__cell usx-table__cell--align-right">1776</td>
140
- </tr>
141
- <tr class="usx-table__row">
142
- <th class="usx-table__cell" scope="row">Bill of Rights</th>
143
- <td class="usx-table__cell">
144
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
145
- </td>
146
- <td class="usx-table__cell usx-table__cell--align-right">1791</td>
147
- </tr>
148
- <tr class="usx-table__row">
149
- <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
150
- <td class="usx-table__cell">
151
- A document written during the Seneca Falls Convention outlining the rights that American
152
- women should be entitled to as citizens.
153
- </td>
154
- <td class="usx-table__cell usx-table__cell--align-right">1848</td>
155
- </tr>
156
- <tr class="usx-table__row">
157
- <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
158
- <td class="usx-table__cell">
159
- An executive order granting freedom to slaves in designated southern states.
160
- </td>
161
- <td class="usx-table__cell usx-table__cell--align-right">1863</td>
75
+ <tbody>
76
+ <tr>
77
+ <th scope="row">Declaration of Independence</th>
78
+ <td>Statement adopted by the Continental Congress.</td>
79
+ <td>1776</td>
80
+ </tr>
81
+ <tr>
82
+ <th scope="row">Bill of Rights</th>
83
+ <td>The first ten amendments to the Constitution.</td>
84
+ <td>1791</td>
85
+ </tr>
86
+ <tr>
87
+ <th scope="row">Emancipation Proclamation</th>
88
+ <td>An executive order ending slavery in designated states.</td>
89
+ <td>1863</td>
162
90
  </tr>
163
91
  </tbody>
164
92
  </table>
165
93
 
166
94
  <h3 class="site-preview-heading">Compact</h3>
167
- <table id="react-compact" class="usa-table usa-table--compact usx-table">
95
+ <table class="usa-table usx-table usa-table--compact">
168
96
  <caption class="usx-table__caption">
169
97
  Compact table
170
98
  </caption>
171
- <thead class="usx-table__head">
172
- <tr hidden="" aria-hidden="true">
173
- <td>
174
- <span
175
- class="usa-sr-only usa-table__announcement-region"
176
- aria-live="polite"
177
- id="react-compact-sort-announcement"
178
- ></span>
179
- </td>
180
- </tr>
181
- <tr class="usx-table__head-row">
182
- <th scope="col" class="usx-table__cell">Document title</th>
183
- <th scope="col" class="usx-table__cell">Description</th>
184
- <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
99
+ <thead>
100
+ <tr>
101
+ <th scope="col">Document title</th>
102
+ <th scope="col">Description</th>
103
+ <th scope="col">Year</th>
185
104
  </tr>
186
105
  </thead>
187
- <tbody class="usx-table__body">
188
- <tr class="usx-table__row">
189
- <th class="usx-table__cell" scope="row">Declaration of Independence</th>
190
- <td class="usx-table__cell">
191
- Statement adopted by the Continental Congress declaring independence from the British
192
- Empire.
193
- </td>
194
- <td class="usx-table__cell usx-table__cell--align-right">1776</td>
195
- </tr>
196
- <tr class="usx-table__row">
197
- <th class="usx-table__cell" scope="row">Bill of Rights</th>
198
- <td class="usx-table__cell">
199
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
200
- </td>
201
- <td class="usx-table__cell usx-table__cell--align-right">1791</td>
202
- </tr>
203
- <tr class="usx-table__row">
204
- <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
205
- <td class="usx-table__cell">
206
- A document written during the Seneca Falls Convention outlining the rights that American
207
- women should be entitled to as citizens.
208
- </td>
209
- <td class="usx-table__cell usx-table__cell--align-right">1848</td>
210
- </tr>
211
- <tr class="usx-table__row">
212
- <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
213
- <td class="usx-table__cell">
214
- An executive order granting freedom to slaves in designated southern states.
215
- </td>
216
- <td class="usx-table__cell usx-table__cell--align-right">1863</td>
106
+ <tbody>
107
+ <tr>
108
+ <th scope="row">Declaration of Independence</th>
109
+ <td>Statement adopted by the Continental Congress.</td>
110
+ <td>1776</td>
111
+ </tr>
112
+ <tr>
113
+ <th scope="row">Bill of Rights</th>
114
+ <td>The first ten amendments to the Constitution.</td>
115
+ <td>1791</td>
116
+ </tr>
117
+ <tr>
118
+ <th scope="row">Emancipation Proclamation</th>
119
+ <td>An executive order ending slavery in designated states.</td>
120
+ <td>1863</td>
217
121
  </tr>
218
122
  </tbody>
219
123
  </table>
220
124
 
221
- <h3 class="site-preview-heading">Scrollable (horizontal)</h3>
222
- <div class="usa-table-container--scrollable usx-table-container--scrollable" tabindex="0">
223
- <table id="react-scrollable-horizontal" class="usa-table usx-table">
224
- <caption class="usx-table__caption">
225
- Horizontally scrollable table
226
- </caption>
227
- <thead class="usx-table__head">
228
- <tr hidden="" aria-hidden="true">
229
- <td>
230
- <span
231
- class="usa-sr-only usa-table__announcement-region"
232
- aria-live="polite"
233
- id="react-scrollable-horizontal-sort-announcement"
234
- ></span>
235
- </td>
236
- </tr>
237
- <tr class="usx-table__head-row">
238
- <th scope="col" class="usx-table__cell" data-sortable="true">
239
- <button type="button" class="usx-table__sort-button">
240
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
241
- <use href="/img/sprite.svg#sort_arrow"></use>
242
- </svg>
243
- </button>
244
- </th>
245
- <th
246
- scope="col"
247
- class="usx-table__cell usx-table__cell--align-right"
248
- style="width: 8rem"
249
- data-sortable="true"
250
- >
251
- <button type="button" class="usx-table__sort-button">
252
- Order admitted<svg
253
- class="usa-icon usx-icon"
254
- aria-hidden="true"
255
- focusable="false"
256
- role="img"
257
- >
258
- <use href="/img/sprite.svg#sort_arrow"></use>
259
- </svg>
260
- </button>
261
- </th>
262
- <th scope="col" class="usx-table__cell" data-sortable="true">
263
- <button type="button" class="usx-table__sort-button">
264
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
265
- <use href="/img/sprite.svg#sort_arrow"></use>
266
- </svg>
267
- </button>
268
- </th>
269
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
270
- <button type="button" class="usx-table__sort-button">
271
- Population at admission<svg
272
- class="usa-icon usx-icon"
273
- aria-hidden="true"
274
- focusable="false"
275
- role="img"
276
- >
277
- <use href="/img/sprite.svg#sort_arrow"></use>
278
- </svg>
279
- </button>
280
- </th>
281
- <th scope="col" class="usx-table__cell">Extra A</th>
282
- <th scope="col" class="usx-table__cell">Extra B</th>
283
- </tr>
284
- </thead>
285
- <tbody class="usx-table__body">
286
- <tr class="usx-table__row">
287
- <th class="usx-table__cell" scope="row">Hawaii</th>
288
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
289
- <td class="usx-table__cell">Pacific</td>
290
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
291
- <td class="usx-table__cell">Lorem ipsum</td>
292
- <td class="usx-table__cell">Dolor sit</td>
293
- </tr>
294
- <tr class="usx-table__row">
295
- <th class="usx-table__cell" scope="row">Alaska</th>
296
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
297
- <td class="usx-table__cell">Pacific</td>
298
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
299
- <td class="usx-table__cell">Lorem ipsum</td>
300
- <td class="usx-table__cell">Dolor sit</td>
301
- </tr>
302
- <tr class="usx-table__row">
303
- <th class="usx-table__cell" scope="row">Arizona</th>
304
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
305
- <td class="usx-table__cell">Southwest</td>
306
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
307
- <td class="usx-table__cell">Lorem ipsum</td>
308
- <td class="usx-table__cell">Dolor sit</td>
309
- </tr>
310
- <tr class="usx-table__row">
311
- <th class="usx-table__cell" scope="row">New Mexico</th>
312
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
313
- <td class="usx-table__cell">Southwest</td>
314
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
315
- <td class="usx-table__cell">Lorem ipsum</td>
316
- <td class="usx-table__cell">Dolor sit</td>
317
- </tr>
318
- <tr class="usx-table__row">
319
- <th class="usx-table__cell" scope="row">Oklahoma</th>
320
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
321
- <td class="usx-table__cell">South</td>
322
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
323
- <td class="usx-table__cell">Lorem ipsum</td>
324
- <td class="usx-table__cell">Dolor sit</td>
325
- </tr>
326
- <tr class="usx-table__row">
327
- <th class="usx-table__cell" scope="row">Utah</th>
328
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
329
- <td class="usx-table__cell">West</td>
330
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
331
- <td class="usx-table__cell">Lorem ipsum</td>
332
- <td class="usx-table__cell">Dolor sit</td>
333
- </tr>
334
- </tbody>
335
- </table>
336
- </div>
337
-
338
- <h3 class="site-preview-heading">Scrollable (vertical)</h3>
339
- <div
340
- class="usa-table-container--scrollable usx-table-container--scrollable"
341
- tabindex="0"
342
- style="max-height: 250px; overflow: auto"
343
- >
344
- <table id="react-scrollable-vertical" class="usa-table usa-table--sticky-header usx-table">
125
+ <h3 class="site-preview-heading">Scrollable</h3>
126
+ <div class="usa-table-container--scrollable" tabindex="0">
127
+ <table class="usa-table usx-table">
345
128
  <caption class="usx-table__caption">
346
- Vertically scrollable with sticky header
129
+ Monthly case closures by service office, 2023–2026
347
130
  </caption>
348
- <thead class="usx-table__head">
349
- <tr hidden="" aria-hidden="true">
350
- <td>
351
- <span
352
- class="usa-sr-only usa-table__announcement-region"
353
- aria-live="polite"
354
- id="react-scrollable-vertical-sort-announcement"
355
- ></span>
356
- </td>
357
- </tr>
358
- <tr class="usx-table__head-row">
359
- <th scope="col" class="usx-table__cell">Document title</th>
360
- <th scope="col" class="usx-table__cell">Description</th>
361
- <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
131
+ <thead>
132
+ <tr>
133
+ <th scope="col">Service office</th>
134
+ <th scope="col">Location</th>
135
+ <th scope="col">January 2023 closures</th>
136
+ <th scope="col">February 2023 closures</th>
137
+ <th scope="col">March 2023 closures</th>
138
+ <th scope="col">April 2023 closures</th>
139
+ <th scope="col">May 2023 closures</th>
140
+ <th scope="col">June 2023 closures</th>
141
+ <th scope="col">July 2023 closures</th>
142
+ <th scope="col">August 2023 closures</th>
143
+ <th scope="col">September 2023 closures</th>
144
+ <th scope="col">October 2023 closures</th>
145
+ <th scope="col">November 2023 closures</th>
146
+ <th scope="col">December 2023 closures</th>
147
+ <th scope="col">January 2024 closures</th>
148
+ <th scope="col">February 2024 closures</th>
149
+ <th scope="col">March 2024 closures</th>
150
+ <th scope="col">April 2024 closures</th>
151
+ <th scope="col">May 2024 closures</th>
152
+ <th scope="col">June 2024 closures</th>
153
+ <th scope="col">July 2024 closures</th>
154
+ <th scope="col">August 2024 closures</th>
155
+ <th scope="col">September 2024 closures</th>
156
+ <th scope="col">October 2024 closures</th>
157
+ <th scope="col">November 2024 closures</th>
158
+ <th scope="col">December 2024 closures</th>
159
+ <th scope="col">January 2025 closures</th>
160
+ <th scope="col">February 2025 closures</th>
161
+ <th scope="col">March 2025 closures</th>
162
+ <th scope="col">April 2025 closures</th>
163
+ <th scope="col">May 2025 closures</th>
164
+ <th scope="col">June 2025 closures</th>
165
+ <th scope="col">July 2025 closures</th>
166
+ <th scope="col">August 2025 closures</th>
167
+ <th scope="col">September 2025 closures</th>
168
+ <th scope="col">October 2025 closures</th>
169
+ <th scope="col">November 2025 closures</th>
170
+ <th scope="col">December 2025 closures</th>
171
+ <th scope="col">January 2026 closures</th>
172
+ <th scope="col">February 2026 closures</th>
173
+ <th scope="col">March 2026 closures</th>
174
+ <th scope="col">April 2026 closures</th>
175
+ <th scope="col">May 2026 closures</th>
176
+ <th scope="col">June 2026 closures</th>
177
+ <th scope="col">July 2026 closures</th>
178
+ <th scope="col">August 2026 closures</th>
179
+ <th scope="col">September 2026 closures</th>
180
+ <th scope="col">October 2026 closures</th>
181
+ <th scope="col">November 2026 closures</th>
182
+ <th scope="col">December 2026 closures</th>
362
183
  </tr>
363
184
  </thead>
364
- <tbody class="usx-table__body">
365
- <tr class="usx-table__row">
366
- <th class="usx-table__cell" scope="row">Declaration of Independence</th>
367
- <td class="usx-table__cell">
368
- Statement adopted by the Continental Congress declaring independence from the British
369
- Empire.
370
- </td>
371
- <td class="usx-table__cell usx-table__cell--align-right">1776</td>
372
- </tr>
373
- <tr class="usx-table__row">
374
- <th class="usx-table__cell" scope="row">Bill of Rights</th>
375
- <td class="usx-table__cell">
376
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
377
- </td>
378
- <td class="usx-table__cell usx-table__cell--align-right">1791</td>
379
- </tr>
380
- <tr class="usx-table__row">
381
- <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
382
- <td class="usx-table__cell">
383
- A document written during the Seneca Falls Convention outlining the rights that American
384
- women should be entitled to as citizens.
385
- </td>
386
- <td class="usx-table__cell usx-table__cell--align-right">1848</td>
387
- </tr>
388
- <tr class="usx-table__row">
389
- <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
390
- <td class="usx-table__cell">
391
- An executive order granting freedom to slaves in designated southern states.
392
- </td>
393
- <td class="usx-table__cell usx-table__cell--align-right">1863</td>
394
- </tr>
395
- <tr class="usx-table__row">
396
- <th class="usx-table__cell" scope="row">Declaration of Independence</th>
397
- <td class="usx-table__cell">
398
- Statement adopted by the Continental Congress declaring independence from the British
399
- Empire.
400
- </td>
401
- <td class="usx-table__cell usx-table__cell--align-right">1776</td>
402
- </tr>
403
- <tr class="usx-table__row">
404
- <th class="usx-table__cell" scope="row">Bill of Rights</th>
405
- <td class="usx-table__cell">
406
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
407
- </td>
408
- <td class="usx-table__cell usx-table__cell--align-right">1791</td>
409
- </tr>
410
- <tr class="usx-table__row">
411
- <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
412
- <td class="usx-table__cell">
413
- A document written during the Seneca Falls Convention outlining the rights that American
414
- women should be entitled to as citizens.
415
- </td>
416
- <td class="usx-table__cell usx-table__cell--align-right">1848</td>
417
- </tr>
418
- <tr class="usx-table__row">
419
- <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
420
- <td class="usx-table__cell">
421
- An executive order granting freedom to slaves in designated southern states.
422
- </td>
423
- <td class="usx-table__cell usx-table__cell--align-right">1863</td>
424
- </tr>
425
- <tr class="usx-table__row">
426
- <th class="usx-table__cell" scope="row">Declaration of Independence</th>
427
- <td class="usx-table__cell">
428
- Statement adopted by the Continental Congress declaring independence from the British
429
- Empire.
430
- </td>
431
- <td class="usx-table__cell usx-table__cell--align-right">1776</td>
432
- </tr>
433
- <tr class="usx-table__row">
434
- <th class="usx-table__cell" scope="row">Bill of Rights</th>
435
- <td class="usx-table__cell">
436
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
437
- </td>
438
- <td class="usx-table__cell usx-table__cell--align-right">1791</td>
439
- </tr>
440
- <tr class="usx-table__row">
441
- <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
442
- <td class="usx-table__cell">
443
- A document written during the Seneca Falls Convention outlining the rights that American
444
- women should be entitled to as citizens.
445
- </td>
446
- <td class="usx-table__cell usx-table__cell--align-right">1848</td>
447
- </tr>
448
- <tr class="usx-table__row">
449
- <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
450
- <td class="usx-table__cell">
451
- An executive order granting freedom to slaves in designated southern states.
452
- </td>
453
- <td class="usx-table__cell usx-table__cell--align-right">1863</td>
185
+ <tbody>
186
+ <tr>
187
+ <th scope="row">Seattle</th>
188
+ <td>Seattle, WA</td>
189
+ <td>46</td>
190
+ <td>53</td>
191
+ <td>60</td>
192
+ <td>67</td>
193
+ <td>74</td>
194
+ <td>52</td>
195
+ <td>59</td>
196
+ <td>66</td>
197
+ <td>73</td>
198
+ <td>51</td>
199
+ <td>58</td>
200
+ <td>65</td>
201
+ <td>72</td>
202
+ <td>50</td>
203
+ <td>57</td>
204
+ <td>64</td>
205
+ <td>71</td>
206
+ <td>49</td>
207
+ <td>56</td>
208
+ <td>63</td>
209
+ <td>70</td>
210
+ <td>48</td>
211
+ <td>55</td>
212
+ <td>62</td>
213
+ <td>69</td>
214
+ <td>47</td>
215
+ <td>54</td>
216
+ <td>61</td>
217
+ <td>68</td>
218
+ <td>46</td>
219
+ <td>53</td>
220
+ <td>60</td>
221
+ <td>67</td>
222
+ <td>74</td>
223
+ <td>52</td>
224
+ <td>59</td>
225
+ <td>66</td>
226
+ <td>73</td>
227
+ <td>51</td>
228
+ <td>58</td>
229
+ <td>65</td>
230
+ <td>72</td>
231
+ <td>50</td>
232
+ <td>57</td>
233
+ <td>64</td>
234
+ <td>71</td>
235
+ <td>49</td>
236
+ <td>56</td>
237
+ </tr>
238
+ <tr>
239
+ <th scope="row">Portland</th>
240
+ <td>Portland, OR</td>
241
+ <td>49</td>
242
+ <td>56</td>
243
+ <td>63</td>
244
+ <td>41</td>
245
+ <td>48</td>
246
+ <td>55</td>
247
+ <td>62</td>
248
+ <td>40</td>
249
+ <td>47</td>
250
+ <td>54</td>
251
+ <td>61</td>
252
+ <td>39</td>
253
+ <td>46</td>
254
+ <td>53</td>
255
+ <td>60</td>
256
+ <td>38</td>
257
+ <td>45</td>
258
+ <td>52</td>
259
+ <td>59</td>
260
+ <td>66</td>
261
+ <td>44</td>
262
+ <td>51</td>
263
+ <td>58</td>
264
+ <td>65</td>
265
+ <td>43</td>
266
+ <td>50</td>
267
+ <td>57</td>
268
+ <td>64</td>
269
+ <td>42</td>
270
+ <td>49</td>
271
+ <td>56</td>
272
+ <td>63</td>
273
+ <td>41</td>
274
+ <td>48</td>
275
+ <td>55</td>
276
+ <td>62</td>
277
+ <td>40</td>
278
+ <td>47</td>
279
+ <td>54</td>
280
+ <td>61</td>
281
+ <td>39</td>
282
+ <td>46</td>
283
+ <td>53</td>
284
+ <td>60</td>
285
+ <td>38</td>
286
+ <td>45</td>
287
+ <td>52</td>
288
+ <td>59</td>
289
+ </tr>
290
+ <tr>
291
+ <th scope="row">Phoenix</th>
292
+ <td>Phoenix, AZ</td>
293
+ <td>74</td>
294
+ <td>52</td>
295
+ <td>59</td>
296
+ <td>66</td>
297
+ <td>73</td>
298
+ <td>80</td>
299
+ <td>58</td>
300
+ <td>65</td>
301
+ <td>72</td>
302
+ <td>79</td>
303
+ <td>57</td>
304
+ <td>64</td>
305
+ <td>71</td>
306
+ <td>78</td>
307
+ <td>56</td>
308
+ <td>63</td>
309
+ <td>70</td>
310
+ <td>77</td>
311
+ <td>55</td>
312
+ <td>62</td>
313
+ <td>69</td>
314
+ <td>76</td>
315
+ <td>54</td>
316
+ <td>61</td>
317
+ <td>68</td>
318
+ <td>75</td>
319
+ <td>53</td>
320
+ <td>60</td>
321
+ <td>67</td>
322
+ <td>74</td>
323
+ <td>52</td>
324
+ <td>59</td>
325
+ <td>66</td>
326
+ <td>73</td>
327
+ <td>80</td>
328
+ <td>58</td>
329
+ <td>65</td>
330
+ <td>72</td>
331
+ <td>79</td>
332
+ <td>57</td>
333
+ <td>64</td>
334
+ <td>71</td>
335
+ <td>78</td>
336
+ <td>56</td>
337
+ <td>63</td>
338
+ <td>70</td>
339
+ <td>77</td>
340
+ <td>55</td>
341
+ </tr>
342
+ <tr>
343
+ <th scope="row">Albuquerque</th>
344
+ <td>Albuquerque, NM</td>
345
+ <td>35</td>
346
+ <td>42</td>
347
+ <td>49</td>
348
+ <td>56</td>
349
+ <td>34</td>
350
+ <td>41</td>
351
+ <td>48</td>
352
+ <td>55</td>
353
+ <td>33</td>
354
+ <td>40</td>
355
+ <td>47</td>
356
+ <td>54</td>
357
+ <td>32</td>
358
+ <td>39</td>
359
+ <td>46</td>
360
+ <td>53</td>
361
+ <td>31</td>
362
+ <td>38</td>
363
+ <td>45</td>
364
+ <td>52</td>
365
+ <td>59</td>
366
+ <td>37</td>
367
+ <td>44</td>
368
+ <td>51</td>
369
+ <td>58</td>
370
+ <td>36</td>
371
+ <td>43</td>
372
+ <td>50</td>
373
+ <td>57</td>
374
+ <td>35</td>
375
+ <td>42</td>
376
+ <td>49</td>
377
+ <td>56</td>
378
+ <td>34</td>
379
+ <td>41</td>
380
+ <td>48</td>
381
+ <td>55</td>
382
+ <td>33</td>
383
+ <td>40</td>
384
+ <td>47</td>
385
+ <td>54</td>
386
+ <td>32</td>
387
+ <td>39</td>
388
+ <td>46</td>
389
+ <td>53</td>
390
+ <td>31</td>
391
+ <td>38</td>
392
+ <td>45</td>
393
+ </tr>
394
+ <tr>
395
+ <th scope="row">Atlanta</th>
396
+ <td>Atlanta, GA</td>
397
+ <td>72</td>
398
+ <td>79</td>
399
+ <td>57</td>
400
+ <td>64</td>
401
+ <td>71</td>
402
+ <td>78</td>
403
+ <td>85</td>
404
+ <td>63</td>
405
+ <td>70</td>
406
+ <td>77</td>
407
+ <td>84</td>
408
+ <td>62</td>
409
+ <td>69</td>
410
+ <td>76</td>
411
+ <td>83</td>
412
+ <td>61</td>
413
+ <td>68</td>
414
+ <td>75</td>
415
+ <td>82</td>
416
+ <td>60</td>
417
+ <td>67</td>
418
+ <td>74</td>
419
+ <td>81</td>
420
+ <td>59</td>
421
+ <td>66</td>
422
+ <td>73</td>
423
+ <td>80</td>
424
+ <td>58</td>
425
+ <td>65</td>
426
+ <td>72</td>
427
+ <td>79</td>
428
+ <td>57</td>
429
+ <td>64</td>
430
+ <td>71</td>
431
+ <td>78</td>
432
+ <td>85</td>
433
+ <td>63</td>
434
+ <td>70</td>
435
+ <td>77</td>
436
+ <td>84</td>
437
+ <td>62</td>
438
+ <td>69</td>
439
+ <td>76</td>
440
+ <td>83</td>
441
+ <td>61</td>
442
+ <td>68</td>
443
+ <td>75</td>
444
+ <td>82</td>
445
+ </tr>
446
+ <tr>
447
+ <th scope="row">Raleigh</th>
448
+ <td>Raleigh, NC</td>
449
+ <td>69</td>
450
+ <td>47</td>
451
+ <td>54</td>
452
+ <td>61</td>
453
+ <td>68</td>
454
+ <td>46</td>
455
+ <td>53</td>
456
+ <td>60</td>
457
+ <td>67</td>
458
+ <td>45</td>
459
+ <td>52</td>
460
+ <td>59</td>
461
+ <td>66</td>
462
+ <td>44</td>
463
+ <td>51</td>
464
+ <td>58</td>
465
+ <td>65</td>
466
+ <td>43</td>
467
+ <td>50</td>
468
+ <td>57</td>
469
+ <td>64</td>
470
+ <td>71</td>
471
+ <td>49</td>
472
+ <td>56</td>
473
+ <td>63</td>
474
+ <td>70</td>
475
+ <td>48</td>
476
+ <td>55</td>
477
+ <td>62</td>
478
+ <td>69</td>
479
+ <td>47</td>
480
+ <td>54</td>
481
+ <td>61</td>
482
+ <td>68</td>
483
+ <td>46</td>
484
+ <td>53</td>
485
+ <td>60</td>
486
+ <td>67</td>
487
+ <td>45</td>
488
+ <td>52</td>
489
+ <td>59</td>
490
+ <td>66</td>
491
+ <td>44</td>
492
+ <td>51</td>
493
+ <td>58</td>
494
+ <td>65</td>
495
+ <td>43</td>
496
+ <td>50</td>
454
497
  </tr>
455
498
  </tbody>
456
499
  </table>
457
500
  </div>
458
501
 
459
- <h3 class="site-preview-heading">Sticky First Column</h3>
460
- <div class="usa-table-container--scrollable usx-table-container--scrollable" tabindex="0">
461
- <table id="react-sticky-first-column" class="usa-table usx-table usx-table--sticky-first-col">
462
- <caption class="usx-table__caption">
463
- Sticky first column
464
- </caption>
465
- <thead class="usx-table__head">
466
- <tr hidden="" aria-hidden="true">
467
- <td>
468
- <span
469
- class="usa-sr-only usa-table__announcement-region"
470
- aria-live="polite"
471
- id="react-sticky-first-column-sort-announcement"
472
- ></span>
473
- </td>
474
- </tr>
475
- <tr class="usx-table__head-row">
476
- <th scope="col" class="usx-table__cell">State</th>
477
- <th scope="col" class="usx-table__cell">Column 1</th>
478
- <th scope="col" class="usx-table__cell">Column 2</th>
479
- <th scope="col" class="usx-table__cell">Column 3</th>
480
- <th scope="col" class="usx-table__cell">Column 4</th>
481
- <th scope="col" class="usx-table__cell">Column 5</th>
482
- <th scope="col" class="usx-table__cell">Column 6</th>
483
- <th scope="col" class="usx-table__cell">Column 7</th>
484
- <th scope="col" class="usx-table__cell">Column 8</th>
485
- </tr>
486
- </thead>
487
- <tbody class="usx-table__body">
488
- <tr class="usx-table__row">
489
- <th class="usx-table__cell" scope="row">Hawaii</th>
490
- <td class="usx-table__cell">Data value</td>
491
- <td class="usx-table__cell">Data value</td>
492
- <td class="usx-table__cell">Data value</td>
493
- <td class="usx-table__cell">Data value</td>
494
- <td class="usx-table__cell">Data value</td>
495
- <td class="usx-table__cell">Data value</td>
496
- <td class="usx-table__cell">Data value</td>
497
- <td class="usx-table__cell">Data value</td>
498
- </tr>
499
- <tr class="usx-table__row">
500
- <th class="usx-table__cell" scope="row">Alaska</th>
501
- <td class="usx-table__cell">Data value</td>
502
- <td class="usx-table__cell">Data value</td>
503
- <td class="usx-table__cell">Data value</td>
504
- <td class="usx-table__cell">Data value</td>
505
- <td class="usx-table__cell">Data value</td>
506
- <td class="usx-table__cell">Data value</td>
507
- <td class="usx-table__cell">Data value</td>
508
- <td class="usx-table__cell">Data value</td>
509
- </tr>
510
- <tr class="usx-table__row">
511
- <th class="usx-table__cell" scope="row">Arizona</th>
512
- <td class="usx-table__cell">Data value</td>
513
- <td class="usx-table__cell">Data value</td>
514
- <td class="usx-table__cell">Data value</td>
515
- <td class="usx-table__cell">Data value</td>
516
- <td class="usx-table__cell">Data value</td>
517
- <td class="usx-table__cell">Data value</td>
518
- <td class="usx-table__cell">Data value</td>
519
- <td class="usx-table__cell">Data value</td>
520
- </tr>
521
- <tr class="usx-table__row">
522
- <th class="usx-table__cell" scope="row">New Mexico</th>
523
- <td class="usx-table__cell">Data value</td>
524
- <td class="usx-table__cell">Data value</td>
525
- <td class="usx-table__cell">Data value</td>
526
- <td class="usx-table__cell">Data value</td>
527
- <td class="usx-table__cell">Data value</td>
528
- <td class="usx-table__cell">Data value</td>
529
- <td class="usx-table__cell">Data value</td>
530
- <td class="usx-table__cell">Data value</td>
531
- </tr>
532
- <tr class="usx-table__row">
533
- <th class="usx-table__cell" scope="row">Oklahoma</th>
534
- <td class="usx-table__cell">Data value</td>
535
- <td class="usx-table__cell">Data value</td>
536
- <td class="usx-table__cell">Data value</td>
537
- <td class="usx-table__cell">Data value</td>
538
- <td class="usx-table__cell">Data value</td>
539
- <td class="usx-table__cell">Data value</td>
540
- <td class="usx-table__cell">Data value</td>
541
- <td class="usx-table__cell">Data value</td>
542
- </tr>
543
- <tr class="usx-table__row">
544
- <th class="usx-table__cell" scope="row">Utah</th>
545
- <td class="usx-table__cell">Data value</td>
546
- <td class="usx-table__cell">Data value</td>
547
- <td class="usx-table__cell">Data value</td>
548
- <td class="usx-table__cell">Data value</td>
549
- <td class="usx-table__cell">Data value</td>
550
- <td class="usx-table__cell">Data value</td>
551
- <td class="usx-table__cell">Data value</td>
552
- <td class="usx-table__cell">Data value</td>
553
- </tr>
554
- </tbody>
555
- </table>
556
- </div>
557
-
558
- <h3 class="site-preview-heading">Responsive Stacked</h3>
559
- <table id="react-responsive-stacked" class="usa-table usa-table--stacked usx-table">
502
+ <h3 class="site-preview-heading">Stacked</h3>
503
+ <table class="usa-table usx-table usa-table--stacked">
560
504
  <caption class="usx-table__caption">
561
- Stacked on mobile
505
+ Stacked table
562
506
  </caption>
563
- <thead class="usx-table__head">
564
- <tr hidden="" aria-hidden="true">
565
- <td>
566
- <span
567
- class="usa-sr-only usa-table__announcement-region"
568
- aria-live="polite"
569
- id="react-responsive-stacked-sort-announcement"
570
- ></span>
571
- </td>
572
- </tr>
573
- <tr class="usx-table__head-row">
574
- <th scope="col" class="usx-table__cell">Document title</th>
575
- <th scope="col" class="usx-table__cell">Description</th>
576
- <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
507
+ <thead>
508
+ <tr>
509
+ <th scope="col">Document title</th>
510
+ <th scope="col">Description</th>
511
+ <th scope="col">Year</th>
577
512
  </tr>
578
513
  </thead>
579
- <tbody class="usx-table__body">
580
- <tr class="usx-table__row">
581
- <th class="usx-table__cell" scope="row" data-label="Document title">
582
- Declaration of Independence
583
- </th>
584
- <td class="usx-table__cell" data-label="Description">
585
- Statement adopted by the Continental Congress declaring independence from the British
586
- Empire.
587
- </td>
588
- <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1776</td>
589
- </tr>
590
- <tr class="usx-table__row">
591
- <th class="usx-table__cell" scope="row" data-label="Document title">Bill of Rights</th>
592
- <td class="usx-table__cell" data-label="Description">
593
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
594
- </td>
595
- <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1791</td>
596
- </tr>
597
- <tr class="usx-table__row">
598
- <th class="usx-table__cell" scope="row" data-label="Document title">
599
- Declaration of Sentiments
600
- </th>
601
- <td class="usx-table__cell" data-label="Description">
602
- A document written during the Seneca Falls Convention outlining the rights that American
603
- women should be entitled to as citizens.
604
- </td>
605
- <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1848</td>
606
- </tr>
607
- <tr class="usx-table__row">
608
- <th class="usx-table__cell" scope="row" data-label="Document title">
609
- Emancipation Proclamation
610
- </th>
611
- <td class="usx-table__cell" data-label="Description">
612
- An executive order granting freedom to slaves in designated southern states.
613
- </td>
614
- <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1863</td>
514
+ <tbody>
515
+ <tr>
516
+ <th scope="row" data-label="Document title">Declaration of Independence</th>
517
+ <td data-label="Description">Statement adopted by the Continental Congress.</td>
518
+ <td data-label="Year">1776</td>
519
+ </tr>
520
+ <tr>
521
+ <th scope="row" data-label="Document title">Bill of Rights</th>
522
+ <td data-label="Description">The first ten amendments to the Constitution.</td>
523
+ <td data-label="Year">1791</td>
524
+ </tr>
525
+ <tr>
526
+ <th scope="row" data-label="Document title">Emancipation Proclamation</th>
527
+ <td data-label="Description">An executive order ending slavery in designated states.</td>
528
+ <td data-label="Year">1863</td>
615
529
  </tr>
616
530
  </tbody>
617
531
  </table>
618
532
 
619
- <h3 class="site-preview-heading">Responsive Stacked Header</h3>
620
- <table id="react-responsive-stacked-header" class="usa-table usa-table--stacked-header usx-table">
533
+ <h3 class="site-preview-heading">Stacked Header</h3>
534
+ <table class="usa-table usx-table usa-table--stacked-header">
621
535
  <caption class="usx-table__caption">
622
- Stacked with header on mobile
536
+ Stacked header table
623
537
  </caption>
624
- <thead class="usx-table__head">
625
- <tr hidden="" aria-hidden="true">
626
- <td>
627
- <span
628
- class="usa-sr-only usa-table__announcement-region"
629
- aria-live="polite"
630
- id="react-responsive-stacked-header-sort-announcement"
631
- ></span>
632
- </td>
633
- </tr>
634
- <tr class="usx-table__head-row">
635
- <th scope="col" class="usx-table__cell">Document title</th>
636
- <th scope="col" class="usx-table__cell">Description</th>
637
- <th scope="col" class="usx-table__cell usx-table__cell--align-right">Year</th>
538
+ <thead>
539
+ <tr>
540
+ <th scope="col">Document title</th>
541
+ <th scope="col">Description</th>
542
+ <th scope="col">Year</th>
638
543
  </tr>
639
544
  </thead>
640
- <tbody class="usx-table__body">
641
- <tr class="usx-table__row">
642
- <th class="usx-table__cell" scope="row" data-label="Document title">
643
- Declaration of Independence
644
- </th>
645
- <td class="usx-table__cell" data-label="Description">
646
- Statement adopted by the Continental Congress declaring independence from the British
647
- Empire.
648
- </td>
649
- <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1776</td>
650
- </tr>
651
- <tr class="usx-table__row">
652
- <th class="usx-table__cell" scope="row" data-label="Document title">Bill of Rights</th>
653
- <td class="usx-table__cell" data-label="Description">
654
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
655
- </td>
656
- <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1791</td>
657
- </tr>
658
- <tr class="usx-table__row">
659
- <th class="usx-table__cell" scope="row" data-label="Document title">
660
- Declaration of Sentiments
661
- </th>
662
- <td class="usx-table__cell" data-label="Description">
663
- A document written during the Seneca Falls Convention outlining the rights that American
664
- women should be entitled to as citizens.
665
- </td>
666
- <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1848</td>
667
- </tr>
668
- <tr class="usx-table__row">
669
- <th class="usx-table__cell" scope="row" data-label="Document title">
670
- Emancipation Proclamation
671
- </th>
672
- <td class="usx-table__cell" data-label="Description">
673
- An executive order granting freedom to slaves in designated southern states.
674
- </td>
675
- <td class="usx-table__cell usx-table__cell--align-right" data-label="Year">1863</td>
545
+ <tbody>
546
+ <tr>
547
+ <th scope="row" data-label="Document title">Declaration of Independence</th>
548
+ <td data-label="Description">Statement adopted by the Continental Congress.</td>
549
+ <td data-label="Year">1776</td>
550
+ </tr>
551
+ <tr>
552
+ <th scope="row" data-label="Document title">Bill of Rights</th>
553
+ <td data-label="Description">The first ten amendments to the Constitution.</td>
554
+ <td data-label="Year">1791</td>
555
+ </tr>
556
+ <tr>
557
+ <th scope="row" data-label="Document title">Emancipation Proclamation</th>
558
+ <td data-label="Description">An executive order ending slavery in designated states.</td>
559
+ <td data-label="Year">1863</td>
676
560
  </tr>
677
561
  </tbody>
678
562
  </table>
679
563
 
680
- <h3 class="site-preview-heading">Sortable</h3>
681
- <div class="usa-table-container--scrollable usx-table-container--scrollable" tabindex="0">
682
- <table id="react-sortable" class="usa-table usx-table">
564
+ <h3 class="site-preview-heading">Sticky Header</h3>
565
+ <div class="usa-table-container--scrollable" tabindex="0" style="height: 18rem; overflow: auto">
566
+ <table class="usa-table usx-table usa-table--sticky-header">
683
567
  <caption class="usx-table__caption">
684
- Sortable table — click column headers
568
+ Public records requests — scroll to keep headings visible
685
569
  </caption>
686
- <thead class="usx-table__head">
687
- <tr hidden="" aria-hidden="true">
688
- <td>
689
- <span
690
- class="usa-sr-only usa-table__announcement-region"
691
- aria-live="polite"
692
- id="react-sortable-sort-announcement"
693
- ></span>
694
- </td>
695
- </tr>
696
- <tr class="usx-table__head-row">
697
- <th scope="col" class="usx-table__cell" data-sortable="true">
698
- <button type="button" class="usx-table__sort-button">
699
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
700
- <use href="/img/sprite.svg#sort_arrow"></use>
701
- </svg>
702
- </button>
703
- </th>
704
- <th
705
- scope="col"
706
- class="usx-table__cell usx-table__cell--align-right"
707
- style="width: 8rem"
708
- data-sortable="true"
709
- >
710
- <button type="button" class="usx-table__sort-button">
711
- Order admitted<svg
712
- class="usa-icon usx-icon"
713
- aria-hidden="true"
714
- focusable="false"
715
- role="img"
716
- >
717
- <use href="/img/sprite.svg#sort_arrow"></use>
718
- </svg>
719
- </button>
720
- </th>
721
- <th scope="col" class="usx-table__cell" data-sortable="true">
722
- <button type="button" class="usx-table__sort-button">
723
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
724
- <use href="/img/sprite.svg#sort_arrow"></use>
725
- </svg>
726
- </button>
727
- </th>
728
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
729
- <button type="button" class="usx-table__sort-button">
730
- Population at admission<svg
731
- class="usa-icon usx-icon"
732
- aria-hidden="true"
733
- focusable="false"
734
- role="img"
735
- >
736
- <use href="/img/sprite.svg#sort_arrow"></use>
737
- </svg>
738
- </button>
739
- </th>
570
+ <thead>
571
+ <tr>
572
+ <th scope="col">Public records request</th>
573
+ <th scope="col">Service office</th>
574
+ <th scope="col">Date received</th>
740
575
  </tr>
741
576
  </thead>
742
- <tbody class="usx-table__body">
743
- <tr class="usx-table__row">
744
- <th class="usx-table__cell" scope="row">Hawaii</th>
745
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
746
- <td class="usx-table__cell">Pacific</td>
747
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
748
- </tr>
749
- <tr class="usx-table__row">
750
- <th class="usx-table__cell" scope="row">Alaska</th>
751
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
752
- <td class="usx-table__cell">Pacific</td>
753
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
754
- </tr>
755
- <tr class="usx-table__row">
756
- <th class="usx-table__cell" scope="row">Arizona</th>
757
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
758
- <td class="usx-table__cell">Southwest</td>
759
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
760
- </tr>
761
- <tr class="usx-table__row">
762
- <th class="usx-table__cell" scope="row">New Mexico</th>
763
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
764
- <td class="usx-table__cell">Southwest</td>
765
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
766
- </tr>
767
- <tr class="usx-table__row">
768
- <th class="usx-table__cell" scope="row">Oklahoma</th>
769
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
770
- <td class="usx-table__cell">South</td>
771
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
772
- </tr>
773
- <tr class="usx-table__row">
774
- <th class="usx-table__cell" scope="row">Utah</th>
775
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
776
- <td class="usx-table__cell">West</td>
777
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
577
+ <tbody>
578
+ <tr>
579
+ <th scope="row">Records search #1201</th>
580
+ <td>Seattle</td>
581
+ <td>2025-01-01</td>
582
+ </tr>
583
+ <tr>
584
+ <th scope="row">Permit copy #1202</th>
585
+ <td>Portland</td>
586
+ <td>2025-01-02</td>
587
+ </tr>
588
+ <tr>
589
+ <th scope="row">License history #1203</th>
590
+ <td>Phoenix</td>
591
+ <td>2025-01-03</td>
592
+ </tr>
593
+ <tr>
594
+ <th scope="row">Inspection report #1204</th>
595
+ <td>Albuquerque</td>
596
+ <td>2025-02-04</td>
597
+ </tr>
598
+ <tr>
599
+ <th scope="row">Records search #1205</th>
600
+ <td>Atlanta</td>
601
+ <td>2025-02-05</td>
602
+ </tr>
603
+ <tr>
604
+ <th scope="row">Permit copy #1206</th>
605
+ <td>Raleigh</td>
606
+ <td>2025-02-06</td>
607
+ </tr>
608
+ <tr>
609
+ <th scope="row">License history #1207</th>
610
+ <td>Seattle</td>
611
+ <td>2025-03-07</td>
612
+ </tr>
613
+ <tr>
614
+ <th scope="row">Inspection report #1208</th>
615
+ <td>Portland</td>
616
+ <td>2025-03-08</td>
617
+ </tr>
618
+ <tr>
619
+ <th scope="row">Records search #1209</th>
620
+ <td>Phoenix</td>
621
+ <td>2025-03-09</td>
622
+ </tr>
623
+ <tr>
624
+ <th scope="row">Permit copy #1210</th>
625
+ <td>Albuquerque</td>
626
+ <td>2025-04-10</td>
627
+ </tr>
628
+ <tr>
629
+ <th scope="row">License history #1211</th>
630
+ <td>Atlanta</td>
631
+ <td>2025-04-11</td>
632
+ </tr>
633
+ <tr>
634
+ <th scope="row">Inspection report #1212</th>
635
+ <td>Raleigh</td>
636
+ <td>2025-04-12</td>
637
+ </tr>
638
+ <tr>
639
+ <th scope="row">Records search #1213</th>
640
+ <td>Seattle</td>
641
+ <td>2025-05-13</td>
642
+ </tr>
643
+ <tr>
644
+ <th scope="row">Permit copy #1214</th>
645
+ <td>Portland</td>
646
+ <td>2025-05-14</td>
647
+ </tr>
648
+ <tr>
649
+ <th scope="row">License history #1215</th>
650
+ <td>Phoenix</td>
651
+ <td>2025-05-15</td>
652
+ </tr>
653
+ <tr>
654
+ <th scope="row">Inspection report #1216</th>
655
+ <td>Albuquerque</td>
656
+ <td>2025-06-16</td>
657
+ </tr>
658
+ <tr>
659
+ <th scope="row">Records search #1217</th>
660
+ <td>Atlanta</td>
661
+ <td>2025-06-17</td>
662
+ </tr>
663
+ <tr>
664
+ <th scope="row">Permit copy #1218</th>
665
+ <td>Raleigh</td>
666
+ <td>2025-06-18</td>
667
+ </tr>
668
+ <tr>
669
+ <th scope="row">License history #1219</th>
670
+ <td>Seattle</td>
671
+ <td>2025-07-19</td>
672
+ </tr>
673
+ <tr>
674
+ <th scope="row">Inspection report #1220</th>
675
+ <td>Portland</td>
676
+ <td>2025-07-20</td>
677
+ </tr>
678
+ <tr>
679
+ <th scope="row">Records search #1221</th>
680
+ <td>Phoenix</td>
681
+ <td>2025-07-21</td>
682
+ </tr>
683
+ <tr>
684
+ <th scope="row">Permit copy #1222</th>
685
+ <td>Albuquerque</td>
686
+ <td>2025-08-22</td>
687
+ </tr>
688
+ <tr>
689
+ <th scope="row">License history #1223</th>
690
+ <td>Atlanta</td>
691
+ <td>2025-08-23</td>
692
+ </tr>
693
+ <tr>
694
+ <th scope="row">Inspection report #1224</th>
695
+ <td>Raleigh</td>
696
+ <td>2025-08-24</td>
697
+ </tr>
698
+ <tr>
699
+ <th scope="row">Records search #1225</th>
700
+ <td>Seattle</td>
701
+ <td>2025-09-25</td>
702
+ </tr>
703
+ <tr>
704
+ <th scope="row">Permit copy #1226</th>
705
+ <td>Portland</td>
706
+ <td>2025-09-26</td>
707
+ </tr>
708
+ <tr>
709
+ <th scope="row">License history #1227</th>
710
+ <td>Phoenix</td>
711
+ <td>2025-09-27</td>
712
+ </tr>
713
+ <tr>
714
+ <th scope="row">Inspection report #1228</th>
715
+ <td>Albuquerque</td>
716
+ <td>2025-10-28</td>
717
+ </tr>
718
+ <tr>
719
+ <th scope="row">Records search #1229</th>
720
+ <td>Atlanta</td>
721
+ <td>2025-10-01</td>
722
+ </tr>
723
+ <tr>
724
+ <th scope="row">Permit copy #1230</th>
725
+ <td>Raleigh</td>
726
+ <td>2025-10-02</td>
727
+ </tr>
728
+ <tr>
729
+ <th scope="row">License history #1231</th>
730
+ <td>Seattle</td>
731
+ <td>2025-11-03</td>
732
+ </tr>
733
+ <tr>
734
+ <th scope="row">Inspection report #1232</th>
735
+ <td>Portland</td>
736
+ <td>2025-11-04</td>
737
+ </tr>
738
+ <tr>
739
+ <th scope="row">Records search #1233</th>
740
+ <td>Phoenix</td>
741
+ <td>2025-11-05</td>
742
+ </tr>
743
+ <tr>
744
+ <th scope="row">Permit copy #1234</th>
745
+ <td>Albuquerque</td>
746
+ <td>2025-12-06</td>
747
+ </tr>
748
+ <tr>
749
+ <th scope="row">License history #1235</th>
750
+ <td>Atlanta</td>
751
+ <td>2025-12-07</td>
752
+ </tr>
753
+ <tr>
754
+ <th scope="row">Inspection report #1236</th>
755
+ <td>Raleigh</td>
756
+ <td>2025-12-08</td>
778
757
  </tr>
779
758
  </tbody>
780
759
  </table>
781
760
  </div>
782
761
 
783
- <h3 class="site-preview-heading">Sortable (all columns)</h3>
784
- <table id="react-sortable-all" class="usa-table usx-table">
785
- <caption class="usx-table__caption">
786
- All columns sortable via sortable prop
787
- </caption>
788
- <thead class="usx-table__head">
789
- <tr hidden="" aria-hidden="true">
790
- <td>
791
- <span
792
- class="usa-sr-only usa-table__announcement-region"
793
- aria-live="polite"
794
- id="react-sortable-all-sort-announcement"
795
- ></span>
796
- </td>
797
- </tr>
798
- <tr class="usx-table__head-row">
799
- <th scope="col" class="usx-table__cell" data-sortable="true">
800
- <button type="button" class="usx-table__sort-button">
801
- Document title<svg
802
- class="usa-icon usx-icon"
803
- aria-hidden="true"
804
- focusable="false"
805
- role="img"
806
- >
807
- <use href="/img/sprite.svg#sort_arrow"></use>
808
- </svg>
809
- </button>
810
- </th>
811
- <th scope="col" class="usx-table__cell" data-sortable="true">
812
- <button type="button" class="usx-table__sort-button">
813
- Description<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
814
- <use href="/img/sprite.svg#sort_arrow"></use>
815
- </svg>
816
- </button>
817
- </th>
818
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
819
- <button type="button" class="usx-table__sort-button">
820
- Year<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
821
- <use href="/img/sprite.svg#sort_arrow"></use>
822
- </svg>
823
- </button>
824
- </th>
825
- </tr>
826
- </thead>
827
- <tbody class="usx-table__body">
828
- <tr class="usx-table__row">
829
- <th class="usx-table__cell" scope="row">Declaration of Independence</th>
830
- <td class="usx-table__cell">
831
- Statement adopted by the Continental Congress declaring independence from the British
832
- Empire.
833
- </td>
834
- <td class="usx-table__cell usx-table__cell--align-right">1776</td>
835
- </tr>
836
- <tr class="usx-table__row">
837
- <th class="usx-table__cell" scope="row">Bill of Rights</th>
838
- <td class="usx-table__cell">
839
- The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.
840
- </td>
841
- <td class="usx-table__cell usx-table__cell--align-right">1791</td>
842
- </tr>
843
- <tr class="usx-table__row">
844
- <th class="usx-table__cell" scope="row">Declaration of Sentiments</th>
845
- <td class="usx-table__cell">
846
- A document written during the Seneca Falls Convention outlining the rights that American
847
- women should be entitled to as citizens.
848
- </td>
849
- <td class="usx-table__cell usx-table__cell--align-right">1848</td>
850
- </tr>
851
- <tr class="usx-table__row">
852
- <th class="usx-table__cell" scope="row">Emancipation Proclamation</th>
853
- <td class="usx-table__cell">
854
- An executive order granting freedom to slaves in designated southern states.
855
- </td>
856
- <td class="usx-table__cell usx-table__cell--align-right">1863</td>
857
- </tr>
858
- </tbody>
859
- </table>
860
-
861
- <h3 class="site-preview-heading">Sortable (controlled)</h3>
862
- <div>
863
- <p>Sort: name asc</p>
864
- <div class="usa-table-container--scrollable usx-table-container--scrollable" tabindex="0">
865
- <table id="react-sortable" class="usa-table usx-table">
866
- <caption class="usx-table__caption">
867
- Sortable table — click column headers
868
- </caption>
869
- <thead class="usx-table__head">
870
- <tr hidden="" aria-hidden="true">
871
- <td>
872
- <span
873
- class="usa-sr-only usa-table__announcement-region"
874
- aria-live="polite"
875
- id="react-sortable-sort-announcement"
876
- ></span>
877
- </td>
878
- </tr>
879
- <tr class="usx-table__head-row">
880
- <th scope="col" class="usx-table__cell" aria-sort="ascending" data-sortable="true">
881
- <button type="button" class="usx-table__sort-button usx-table__sort-button--active">
882
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
883
- <use href="/img/sprite.svg#arrow_upward"></use>
884
- </svg>
885
- </button>
886
- </th>
887
- <th
888
- scope="col"
889
- class="usx-table__cell usx-table__cell--align-right"
890
- style="width: 8rem"
891
- data-sortable="true"
892
- >
893
- <button type="button" class="usx-table__sort-button">
894
- Order admitted<svg
895
- class="usa-icon usx-icon"
896
- aria-hidden="true"
897
- focusable="false"
898
- role="img"
899
- >
900
- <use href="/img/sprite.svg#sort_arrow"></use>
901
- </svg>
902
- </button>
903
- </th>
904
- <th scope="col" class="usx-table__cell" data-sortable="true">
905
- <button type="button" class="usx-table__sort-button">
906
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
907
- <use href="/img/sprite.svg#sort_arrow"></use>
908
- </svg>
909
- </button>
910
- </th>
911
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
912
- <button type="button" class="usx-table__sort-button">
913
- Population at admission<svg
914
- class="usa-icon usx-icon"
915
- aria-hidden="true"
916
- focusable="false"
917
- role="img"
918
- >
919
- <use href="/img/sprite.svg#sort_arrow"></use>
920
- </svg>
921
- </button>
922
- </th>
923
- </tr>
924
- </thead>
925
- <tbody class="usx-table__body">
926
- <tr class="usx-table__row">
927
- <th class="usx-table__cell" scope="row">Alaska</th>
928
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
929
- <td class="usx-table__cell">Pacific</td>
930
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
931
- </tr>
932
- <tr class="usx-table__row">
933
- <th class="usx-table__cell" scope="row">Arizona</th>
934
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
935
- <td class="usx-table__cell">Southwest</td>
936
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
937
- </tr>
938
- <tr class="usx-table__row">
939
- <th class="usx-table__cell" scope="row">Hawaii</th>
940
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
941
- <td class="usx-table__cell">Pacific</td>
942
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
943
- </tr>
944
- <tr class="usx-table__row">
945
- <th class="usx-table__cell" scope="row">New Mexico</th>
946
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
947
- <td class="usx-table__cell">Southwest</td>
948
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
949
- </tr>
950
- <tr class="usx-table__row">
951
- <th class="usx-table__cell" scope="row">Oklahoma</th>
952
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
953
- <td class="usx-table__cell">South</td>
954
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
955
- </tr>
956
- <tr class="usx-table__row">
957
- <th class="usx-table__cell" scope="row">Utah</th>
958
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
959
- <td class="usx-table__cell">West</td>
960
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
961
- </tr>
962
- </tbody>
963
- </table>
964
- </div>
965
- </div>
966
-
967
- <h3 class="site-preview-heading">Checkbox Selection</h3>
968
- <table id="react-checkbox-selection" class="usa-table usx-table">
969
- <caption class="usx-table__caption">
970
- Multi-select with checkboxes
971
- </caption>
972
- <thead class="usx-table__head">
973
- <tr hidden="" aria-hidden="true">
974
- <td>
975
- <span
976
- class="usa-sr-only usa-table__announcement-region"
977
- aria-live="polite"
978
- id="react-checkbox-selection-sort-announcement"
979
- ></span>
980
- </td>
981
- </tr>
982
- <tr class="usx-table__head-row">
983
- <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection">
984
- <div class="usa-form-group usx-form-group">
985
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
986
- <input
987
- class="usa-checkbox__input"
988
- id="react-checkbox-selection-select-all"
989
- type="checkbox"
990
- aria-label="Select all rows"
991
- /><label class="usa-checkbox__label" for="react-checkbox-selection-select-all"></label>
992
- </div>
993
- </div>
994
- </th>
995
- <th scope="col" class="usx-table__cell" data-sortable="true">
996
- <button type="button" class="usx-table__sort-button">
997
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
998
- <use href="/img/sprite.svg#sort_arrow"></use>
999
- </svg>
1000
- </button>
1001
- </th>
1002
- <th
1003
- scope="col"
1004
- class="usx-table__cell usx-table__cell--align-right"
1005
- style="width: 8rem"
1006
- data-sortable="true"
1007
- >
1008
- <button type="button" class="usx-table__sort-button">
1009
- Order admitted<svg
1010
- class="usa-icon usx-icon"
1011
- aria-hidden="true"
1012
- focusable="false"
1013
- role="img"
1014
- >
1015
- <use href="/img/sprite.svg#sort_arrow"></use>
1016
- </svg>
1017
- </button>
1018
- </th>
1019
- <th scope="col" class="usx-table__cell" data-sortable="true">
1020
- <button type="button" class="usx-table__sort-button">
1021
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1022
- <use href="/img/sprite.svg#sort_arrow"></use>
1023
- </svg>
1024
- </button>
1025
- </th>
1026
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1027
- <button type="button" class="usx-table__sort-button">
1028
- Population at admission<svg
1029
- class="usa-icon usx-icon"
1030
- aria-hidden="true"
1031
- focusable="false"
1032
- role="img"
1033
- >
1034
- <use href="/img/sprite.svg#sort_arrow"></use>
1035
- </svg>
1036
- </button>
1037
- </th>
1038
- </tr>
1039
- </thead>
1040
- <tbody class="usx-table__body">
1041
- <tr class="usx-table__row">
1042
- <td class="usx-table__cell usx-table__cell--selection">
1043
- <div class="usa-form-group usx-form-group">
1044
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1045
- <input
1046
- class="usa-checkbox__input"
1047
- id="react-:R1aj:-select"
1048
- type="checkbox"
1049
- aria-label="Select row 1"
1050
- /><label class="usa-checkbox__label" for="react-:R1aj:-select"></label>
1051
- </div>
1052
- </div>
1053
- </td>
1054
- <th class="usx-table__cell" scope="row">Hawaii</th>
1055
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1056
- <td class="usx-table__cell">Pacific</td>
1057
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1058
- </tr>
1059
- <tr class="usx-table__row">
1060
- <td class="usx-table__cell usx-table__cell--selection">
1061
- <div class="usa-form-group usx-form-group">
1062
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1063
- <input
1064
- class="usa-checkbox__input"
1065
- id="react-:R2aj:-select"
1066
- type="checkbox"
1067
- aria-label="Select row 2"
1068
- /><label class="usa-checkbox__label" for="react-:R2aj:-select"></label>
1069
- </div>
1070
- </div>
1071
- </td>
1072
- <th class="usx-table__cell" scope="row">Alaska</th>
1073
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1074
- <td class="usx-table__cell">Pacific</td>
1075
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1076
- </tr>
1077
- <tr class="usx-table__row">
1078
- <td class="usx-table__cell usx-table__cell--selection">
1079
- <div class="usa-form-group usx-form-group">
1080
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1081
- <input
1082
- class="usa-checkbox__input"
1083
- id="react-:R3aj:-select"
1084
- type="checkbox"
1085
- aria-label="Select row 3"
1086
- /><label class="usa-checkbox__label" for="react-:R3aj:-select"></label>
1087
- </div>
1088
- </div>
1089
- </td>
1090
- <th class="usx-table__cell" scope="row">Arizona</th>
1091
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1092
- <td class="usx-table__cell">Southwest</td>
1093
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1094
- </tr>
1095
- <tr class="usx-table__row">
1096
- <td class="usx-table__cell usx-table__cell--selection">
1097
- <div class="usa-form-group usx-form-group">
1098
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1099
- <input
1100
- class="usa-checkbox__input"
1101
- id="react-:R4aj:-select"
1102
- type="checkbox"
1103
- aria-label="Select row 4"
1104
- /><label class="usa-checkbox__label" for="react-:R4aj:-select"></label>
1105
- </div>
1106
- </div>
1107
- </td>
1108
- <th class="usx-table__cell" scope="row">New Mexico</th>
1109
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1110
- <td class="usx-table__cell">Southwest</td>
1111
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1112
- </tr>
1113
- <tr class="usx-table__row">
1114
- <td class="usx-table__cell usx-table__cell--selection">
1115
- <div class="usa-form-group usx-form-group">
1116
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1117
- <input
1118
- class="usa-checkbox__input"
1119
- id="react-:R5aj:-select"
1120
- type="checkbox"
1121
- aria-label="Select row 5"
1122
- /><label class="usa-checkbox__label" for="react-:R5aj:-select"></label>
1123
- </div>
1124
- </div>
1125
- </td>
1126
- <th class="usx-table__cell" scope="row">Oklahoma</th>
1127
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1128
- <td class="usx-table__cell">South</td>
1129
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1130
- </tr>
1131
- <tr class="usx-table__row">
1132
- <td class="usx-table__cell usx-table__cell--selection">
1133
- <div class="usa-form-group usx-form-group">
1134
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1135
- <input
1136
- class="usa-checkbox__input"
1137
- id="react-:R6aj:-select"
1138
- type="checkbox"
1139
- aria-label="Select row 6"
1140
- /><label class="usa-checkbox__label" for="react-:R6aj:-select"></label>
1141
- </div>
1142
- </div>
1143
- </td>
1144
- <th class="usx-table__cell" scope="row">Utah</th>
1145
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1146
- <td class="usx-table__cell">West</td>
1147
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1148
- </tr>
1149
- </tbody>
1150
- </table>
1151
-
1152
- <h3 class="site-preview-heading">Checkbox (right)</h3>
1153
- <table id="react-checkbox-selection-right" class="usa-table usx-table">
1154
- <caption class="usx-table__caption">
1155
- Checkboxes on the right
1156
- </caption>
1157
- <thead class="usx-table__head">
1158
- <tr hidden="" aria-hidden="true">
1159
- <td>
1160
- <span
1161
- class="usa-sr-only usa-table__announcement-region"
1162
- aria-live="polite"
1163
- id="react-checkbox-selection-right-sort-announcement"
1164
- ></span>
1165
- </td>
1166
- </tr>
1167
- <tr class="usx-table__head-row">
1168
- <th scope="col" class="usx-table__cell" data-sortable="true">
1169
- <button type="button" class="usx-table__sort-button">
1170
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1171
- <use href="/img/sprite.svg#sort_arrow"></use>
1172
- </svg>
1173
- </button>
1174
- </th>
1175
- <th
1176
- scope="col"
1177
- class="usx-table__cell usx-table__cell--align-right"
1178
- style="width: 8rem"
1179
- data-sortable="true"
1180
- >
1181
- <button type="button" class="usx-table__sort-button">
1182
- Order admitted<svg
1183
- class="usa-icon usx-icon"
1184
- aria-hidden="true"
1185
- focusable="false"
1186
- role="img"
1187
- >
1188
- <use href="/img/sprite.svg#sort_arrow"></use>
1189
- </svg>
1190
- </button>
1191
- </th>
1192
- <th scope="col" class="usx-table__cell" data-sortable="true">
1193
- <button type="button" class="usx-table__sort-button">
1194
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1195
- <use href="/img/sprite.svg#sort_arrow"></use>
1196
- </svg>
1197
- </button>
1198
- </th>
1199
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1200
- <button type="button" class="usx-table__sort-button">
1201
- Population at admission<svg
1202
- class="usa-icon usx-icon"
1203
- aria-hidden="true"
1204
- focusable="false"
1205
- role="img"
1206
- >
1207
- <use href="/img/sprite.svg#sort_arrow"></use>
1208
- </svg>
1209
- </button>
1210
- </th>
1211
- <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection">
1212
- <div class="usa-form-group usx-form-group">
1213
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1214
- <input
1215
- class="usa-checkbox__input"
1216
- id="react-checkbox-selection-right-select-all"
1217
- type="checkbox"
1218
- aria-label="Select all rows"
1219
- /><label
1220
- class="usa-checkbox__label"
1221
- for="react-checkbox-selection-right-select-all"
1222
- ></label>
1223
- </div>
1224
- </div>
1225
- </th>
1226
- </tr>
1227
- </thead>
1228
- <tbody class="usx-table__body">
1229
- <tr class="usx-table__row">
1230
- <th class="usx-table__cell" scope="row">Hawaii</th>
1231
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1232
- <td class="usx-table__cell">Pacific</td>
1233
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1234
- <td class="usx-table__cell usx-table__cell--selection">
1235
- <div class="usa-form-group usx-form-group">
1236
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1237
- <input
1238
- class="usa-checkbox__input"
1239
- id="react-:R1aj:-select"
1240
- type="checkbox"
1241
- aria-label="Select row 1"
1242
- /><label class="usa-checkbox__label" for="react-:R1aj:-select"></label>
1243
- </div>
1244
- </div>
1245
- </td>
1246
- </tr>
1247
- <tr class="usx-table__row">
1248
- <th class="usx-table__cell" scope="row">Alaska</th>
1249
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1250
- <td class="usx-table__cell">Pacific</td>
1251
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1252
- <td class="usx-table__cell usx-table__cell--selection">
1253
- <div class="usa-form-group usx-form-group">
1254
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1255
- <input
1256
- class="usa-checkbox__input"
1257
- id="react-:R2aj:-select"
1258
- type="checkbox"
1259
- aria-label="Select row 2"
1260
- /><label class="usa-checkbox__label" for="react-:R2aj:-select"></label>
1261
- </div>
1262
- </div>
1263
- </td>
1264
- </tr>
1265
- <tr class="usx-table__row">
1266
- <th class="usx-table__cell" scope="row">Arizona</th>
1267
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1268
- <td class="usx-table__cell">Southwest</td>
1269
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1270
- <td class="usx-table__cell usx-table__cell--selection">
1271
- <div class="usa-form-group usx-form-group">
1272
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1273
- <input
1274
- class="usa-checkbox__input"
1275
- id="react-:R3aj:-select"
1276
- type="checkbox"
1277
- aria-label="Select row 3"
1278
- /><label class="usa-checkbox__label" for="react-:R3aj:-select"></label>
1279
- </div>
1280
- </div>
1281
- </td>
1282
- </tr>
1283
- <tr class="usx-table__row">
1284
- <th class="usx-table__cell" scope="row">New Mexico</th>
1285
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1286
- <td class="usx-table__cell">Southwest</td>
1287
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1288
- <td class="usx-table__cell usx-table__cell--selection">
1289
- <div class="usa-form-group usx-form-group">
1290
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1291
- <input
1292
- class="usa-checkbox__input"
1293
- id="react-:R4aj:-select"
1294
- type="checkbox"
1295
- aria-label="Select row 4"
1296
- /><label class="usa-checkbox__label" for="react-:R4aj:-select"></label>
1297
- </div>
1298
- </div>
1299
- </td>
1300
- </tr>
1301
- <tr class="usx-table__row">
1302
- <th class="usx-table__cell" scope="row">Oklahoma</th>
1303
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1304
- <td class="usx-table__cell">South</td>
1305
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1306
- <td class="usx-table__cell usx-table__cell--selection">
1307
- <div class="usa-form-group usx-form-group">
1308
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1309
- <input
1310
- class="usa-checkbox__input"
1311
- id="react-:R5aj:-select"
1312
- type="checkbox"
1313
- aria-label="Select row 5"
1314
- /><label class="usa-checkbox__label" for="react-:R5aj:-select"></label>
1315
- </div>
1316
- </div>
1317
- </td>
1318
- </tr>
1319
- <tr class="usx-table__row">
1320
- <th class="usx-table__cell" scope="row">Utah</th>
1321
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1322
- <td class="usx-table__cell">West</td>
1323
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1324
- <td class="usx-table__cell usx-table__cell--selection">
1325
- <div class="usa-form-group usx-form-group">
1326
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1327
- <input
1328
- class="usa-checkbox__input"
1329
- id="react-:R6aj:-select"
1330
- type="checkbox"
1331
- aria-label="Select row 6"
1332
- /><label class="usa-checkbox__label" for="react-:R6aj:-select"></label>
1333
- </div>
1334
- </div>
1335
- </td>
1336
- </tr>
1337
- </tbody>
1338
- </table>
1339
-
1340
- <h3 class="site-preview-heading">Checkbox (controlled)</h3>
1341
- <div>
1342
- <p>Selected: 1, 3</p>
1343
- <table id="react-checkbox-selection" class="usa-table usx-table">
1344
- <caption class="usx-table__caption">
1345
- Multi-select with checkboxes
1346
- </caption>
1347
- <thead class="usx-table__head">
1348
- <tr hidden="" aria-hidden="true">
1349
- <td>
1350
- <span
1351
- class="usa-sr-only usa-table__announcement-region"
1352
- aria-live="polite"
1353
- id="react-checkbox-selection-sort-announcement"
1354
- ></span>
1355
- </td>
1356
- </tr>
1357
- <tr class="usx-table__head-row">
1358
- <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection">
1359
- <div class="usa-form-group usx-form-group">
1360
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1361
- <input
1362
- class="usa-checkbox__input"
1363
- id="react-checkbox-selection-select-all"
1364
- type="checkbox"
1365
- aria-label="Select all rows"
1366
- /><label
1367
- class="usa-checkbox__label"
1368
- for="react-checkbox-selection-select-all"
1369
- ></label>
1370
- </div>
1371
- </div>
1372
- </th>
1373
- <th scope="col" class="usx-table__cell" data-sortable="true">
1374
- <button type="button" class="usx-table__sort-button">
1375
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1376
- <use href="/img/sprite.svg#sort_arrow"></use>
1377
- </svg>
1378
- </button>
1379
- </th>
1380
- <th
1381
- scope="col"
1382
- class="usx-table__cell usx-table__cell--align-right"
1383
- style="width: 8rem"
1384
- data-sortable="true"
1385
- >
1386
- <button type="button" class="usx-table__sort-button">
1387
- Order admitted<svg
1388
- class="usa-icon usx-icon"
1389
- aria-hidden="true"
1390
- focusable="false"
1391
- role="img"
1392
- >
1393
- <use href="/img/sprite.svg#sort_arrow"></use>
1394
- </svg>
1395
- </button>
1396
- </th>
1397
- <th scope="col" class="usx-table__cell" data-sortable="true">
1398
- <button type="button" class="usx-table__sort-button">
1399
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1400
- <use href="/img/sprite.svg#sort_arrow"></use>
1401
- </svg>
1402
- </button>
1403
- </th>
1404
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1405
- <button type="button" class="usx-table__sort-button">
1406
- Population at admission<svg
1407
- class="usa-icon usx-icon"
1408
- aria-hidden="true"
1409
- focusable="false"
1410
- role="img"
1411
- >
1412
- <use href="/img/sprite.svg#sort_arrow"></use>
1413
- </svg>
1414
- </button>
1415
- </th>
1416
- </tr>
1417
- </thead>
1418
- <tbody class="usx-table__body">
1419
- <tr class="usx-table__row usx-table__row--selected">
1420
- <td class="usx-table__cell usx-table__cell--selection">
1421
- <div class="usa-form-group usx-form-group">
1422
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1423
- <input
1424
- class="usa-checkbox__input"
1425
- id="react-:R5ae:-select"
1426
- type="checkbox"
1427
- aria-label="Select row 1"
1428
- checked=""
1429
- /><label class="usa-checkbox__label" for="react-:R5ae:-select"></label>
1430
- </div>
1431
- </div>
1432
- </td>
1433
- <th class="usx-table__cell" scope="row">Hawaii</th>
1434
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1435
- <td class="usx-table__cell">Pacific</td>
1436
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1437
- </tr>
1438
- <tr class="usx-table__row">
1439
- <td class="usx-table__cell usx-table__cell--selection">
1440
- <div class="usa-form-group usx-form-group">
1441
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1442
- <input
1443
- class="usa-checkbox__input"
1444
- id="react-:R9ae:-select"
1445
- type="checkbox"
1446
- aria-label="Select row 2"
1447
- /><label class="usa-checkbox__label" for="react-:R9ae:-select"></label>
1448
- </div>
1449
- </div>
1450
- </td>
1451
- <th class="usx-table__cell" scope="row">Alaska</th>
1452
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1453
- <td class="usx-table__cell">Pacific</td>
1454
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1455
- </tr>
1456
- <tr class="usx-table__row usx-table__row--selected">
1457
- <td class="usx-table__cell usx-table__cell--selection">
1458
- <div class="usa-form-group usx-form-group">
1459
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1460
- <input
1461
- class="usa-checkbox__input"
1462
- id="react-:Rdae:-select"
1463
- type="checkbox"
1464
- aria-label="Select row 3"
1465
- checked=""
1466
- /><label class="usa-checkbox__label" for="react-:Rdae:-select"></label>
1467
- </div>
1468
- </div>
1469
- </td>
1470
- <th class="usx-table__cell" scope="row">Arizona</th>
1471
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1472
- <td class="usx-table__cell">Southwest</td>
1473
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1474
- </tr>
1475
- <tr class="usx-table__row">
1476
- <td class="usx-table__cell usx-table__cell--selection">
1477
- <div class="usa-form-group usx-form-group">
1478
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1479
- <input
1480
- class="usa-checkbox__input"
1481
- id="react-:Rhae:-select"
1482
- type="checkbox"
1483
- aria-label="Select row 4"
1484
- /><label class="usa-checkbox__label" for="react-:Rhae:-select"></label>
1485
- </div>
1486
- </div>
1487
- </td>
1488
- <th class="usx-table__cell" scope="row">New Mexico</th>
1489
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1490
- <td class="usx-table__cell">Southwest</td>
1491
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1492
- </tr>
1493
- <tr class="usx-table__row">
1494
- <td class="usx-table__cell usx-table__cell--selection">
1495
- <div class="usa-form-group usx-form-group">
1496
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1497
- <input
1498
- class="usa-checkbox__input"
1499
- id="react-:Rlae:-select"
1500
- type="checkbox"
1501
- aria-label="Select row 5"
1502
- /><label class="usa-checkbox__label" for="react-:Rlae:-select"></label>
1503
- </div>
1504
- </div>
1505
- </td>
1506
- <th class="usx-table__cell" scope="row">Oklahoma</th>
1507
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1508
- <td class="usx-table__cell">South</td>
1509
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1510
- </tr>
1511
- <tr class="usx-table__row">
1512
- <td class="usx-table__cell usx-table__cell--selection">
1513
- <div class="usa-form-group usx-form-group">
1514
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1515
- <input
1516
- class="usa-checkbox__input"
1517
- id="react-:Rpae:-select"
1518
- type="checkbox"
1519
- aria-label="Select row 6"
1520
- /><label class="usa-checkbox__label" for="react-:Rpae:-select"></label>
1521
- </div>
1522
- </div>
1523
- </td>
1524
- <th class="usx-table__cell" scope="row">Utah</th>
1525
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1526
- <td class="usx-table__cell">West</td>
1527
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1528
- </tr>
1529
- </tbody>
1530
- </table>
1531
- </div>
1532
-
1533
- <h3 class="site-preview-heading">Radio Selection</h3>
1534
- <table id="react-radio-selection" class="usa-table usx-table">
1535
- <caption class="usx-table__caption">
1536
- Single-select with radio buttons
1537
- </caption>
1538
- <thead class="usx-table__head">
1539
- <tr hidden="" aria-hidden="true">
1540
- <td>
1541
- <span
1542
- class="usa-sr-only usa-table__announcement-region"
1543
- aria-live="polite"
1544
- id="react-radio-selection-sort-announcement"
1545
- ></span>
1546
- </td>
1547
- </tr>
1548
- <tr class="usx-table__head-row">
1549
- <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection"></th>
1550
- <th scope="col" class="usx-table__cell" data-sortable="true">
1551
- <button type="button" class="usx-table__sort-button">
1552
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1553
- <use href="/img/sprite.svg#sort_arrow"></use>
1554
- </svg>
1555
- </button>
1556
- </th>
1557
- <th
1558
- scope="col"
1559
- class="usx-table__cell usx-table__cell--align-right"
1560
- style="width: 8rem"
1561
- data-sortable="true"
1562
- >
1563
- <button type="button" class="usx-table__sort-button">
1564
- Order admitted<svg
1565
- class="usa-icon usx-icon"
1566
- aria-hidden="true"
1567
- focusable="false"
1568
- role="img"
1569
- >
1570
- <use href="/img/sprite.svg#sort_arrow"></use>
1571
- </svg>
1572
- </button>
1573
- </th>
1574
- <th scope="col" class="usx-table__cell" data-sortable="true">
1575
- <button type="button" class="usx-table__sort-button">
1576
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1577
- <use href="/img/sprite.svg#sort_arrow"></use>
1578
- </svg>
1579
- </button>
1580
- </th>
1581
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1582
- <button type="button" class="usx-table__sort-button">
1583
- Population at admission<svg
1584
- class="usa-icon usx-icon"
1585
- aria-hidden="true"
1586
- focusable="false"
1587
- role="img"
1588
- >
1589
- <use href="/img/sprite.svg#sort_arrow"></use>
1590
- </svg>
1591
- </button>
1592
- </th>
1593
- </tr>
1594
- </thead>
1595
- <tbody class="usx-table__body">
1596
- <tr class="usx-table__row">
1597
- <td class="usx-table__cell usx-table__cell--selection">
1598
- <div class="usa-radio usx-table__radio">
1599
- <input
1600
- type="radio"
1601
- id="react-:R1aj:-select"
1602
- class="usa-radio__input"
1603
- aria-label="Select row 1"
1604
- /><label class="usa-radio__label" for="react-:R1aj:-select"></label>
1605
- </div>
1606
- </td>
1607
- <th class="usx-table__cell" scope="row">Hawaii</th>
1608
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1609
- <td class="usx-table__cell">Pacific</td>
1610
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1611
- </tr>
1612
- <tr class="usx-table__row">
1613
- <td class="usx-table__cell usx-table__cell--selection">
1614
- <div class="usa-radio usx-table__radio">
1615
- <input
1616
- type="radio"
1617
- id="react-:R2aj:-select"
1618
- class="usa-radio__input"
1619
- aria-label="Select row 2"
1620
- /><label class="usa-radio__label" for="react-:R2aj:-select"></label>
1621
- </div>
1622
- </td>
1623
- <th class="usx-table__cell" scope="row">Alaska</th>
1624
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1625
- <td class="usx-table__cell">Pacific</td>
1626
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1627
- </tr>
1628
- <tr class="usx-table__row">
1629
- <td class="usx-table__cell usx-table__cell--selection">
1630
- <div class="usa-radio usx-table__radio">
1631
- <input
1632
- type="radio"
1633
- id="react-:R3aj:-select"
1634
- class="usa-radio__input"
1635
- aria-label="Select row 3"
1636
- /><label class="usa-radio__label" for="react-:R3aj:-select"></label>
1637
- </div>
1638
- </td>
1639
- <th class="usx-table__cell" scope="row">Arizona</th>
1640
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1641
- <td class="usx-table__cell">Southwest</td>
1642
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1643
- </tr>
1644
- <tr class="usx-table__row">
1645
- <td class="usx-table__cell usx-table__cell--selection">
1646
- <div class="usa-radio usx-table__radio">
1647
- <input
1648
- type="radio"
1649
- id="react-:R4aj:-select"
1650
- class="usa-radio__input"
1651
- aria-label="Select row 4"
1652
- /><label class="usa-radio__label" for="react-:R4aj:-select"></label>
1653
- </div>
1654
- </td>
1655
- <th class="usx-table__cell" scope="row">New Mexico</th>
1656
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1657
- <td class="usx-table__cell">Southwest</td>
1658
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1659
- </tr>
1660
- <tr class="usx-table__row">
1661
- <td class="usx-table__cell usx-table__cell--selection">
1662
- <div class="usa-radio usx-table__radio">
1663
- <input
1664
- type="radio"
1665
- id="react-:R5aj:-select"
1666
- class="usa-radio__input"
1667
- aria-label="Select row 5"
1668
- /><label class="usa-radio__label" for="react-:R5aj:-select"></label>
1669
- </div>
1670
- </td>
1671
- <th class="usx-table__cell" scope="row">Oklahoma</th>
1672
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1673
- <td class="usx-table__cell">South</td>
1674
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1675
- </tr>
1676
- <tr class="usx-table__row">
1677
- <td class="usx-table__cell usx-table__cell--selection">
1678
- <div class="usa-radio usx-table__radio">
1679
- <input
1680
- type="radio"
1681
- id="react-:R6aj:-select"
1682
- class="usa-radio__input"
1683
- aria-label="Select row 6"
1684
- /><label class="usa-radio__label" for="react-:R6aj:-select"></label>
1685
- </div>
1686
- </td>
1687
- <th class="usx-table__cell" scope="row">Utah</th>
1688
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1689
- <td class="usx-table__cell">West</td>
1690
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1691
- </tr>
1692
- </tbody>
1693
- </table>
1694
-
1695
- <h3 class="site-preview-heading">Disabled Rows</h3>
1696
- <table id="react-disabled-rows" class="usa-table usx-table">
1697
- <caption class="usx-table__caption">
1698
- Rows 2 and 4 are disabled
1699
- </caption>
1700
- <thead class="usx-table__head">
1701
- <tr hidden="" aria-hidden="true">
1702
- <td>
1703
- <span
1704
- class="usa-sr-only usa-table__announcement-region"
1705
- aria-live="polite"
1706
- id="react-disabled-rows-sort-announcement"
1707
- ></span>
1708
- </td>
1709
- </tr>
1710
- <tr class="usx-table__head-row">
1711
- <th scope="col" rowspan="1" class="usx-table__cell usx-table__cell--selection">
1712
- <div class="usa-form-group usx-form-group">
1713
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1714
- <input
1715
- class="usa-checkbox__input"
1716
- id="react-disabled-rows-select-all"
1717
- type="checkbox"
1718
- aria-label="Select all rows"
1719
- /><label class="usa-checkbox__label" for="react-disabled-rows-select-all"></label>
1720
- </div>
1721
- </div>
1722
- </th>
1723
- <th scope="col" class="usx-table__cell" data-sortable="true">
1724
- <button type="button" class="usx-table__sort-button">
1725
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1726
- <use href="/img/sprite.svg#sort_arrow"></use>
1727
- </svg>
1728
- </button>
1729
- </th>
1730
- <th
1731
- scope="col"
1732
- class="usx-table__cell usx-table__cell--align-right"
1733
- style="width: 8rem"
1734
- data-sortable="true"
1735
- >
1736
- <button type="button" class="usx-table__sort-button">
1737
- Order admitted<svg
1738
- class="usa-icon usx-icon"
1739
- aria-hidden="true"
1740
- focusable="false"
1741
- role="img"
1742
- >
1743
- <use href="/img/sprite.svg#sort_arrow"></use>
1744
- </svg>
1745
- </button>
1746
- </th>
1747
- <th scope="col" class="usx-table__cell" data-sortable="true">
1748
- <button type="button" class="usx-table__sort-button">
1749
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1750
- <use href="/img/sprite.svg#sort_arrow"></use>
1751
- </svg>
1752
- </button>
1753
- </th>
1754
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1755
- <button type="button" class="usx-table__sort-button">
1756
- Population at admission<svg
1757
- class="usa-icon usx-icon"
1758
- aria-hidden="true"
1759
- focusable="false"
1760
- role="img"
1761
- >
1762
- <use href="/img/sprite.svg#sort_arrow"></use>
1763
- </svg>
1764
- </button>
1765
- </th>
1766
- </tr>
1767
- </thead>
1768
- <tbody class="usx-table__body">
1769
- <tr class="usx-table__row">
1770
- <td class="usx-table__cell usx-table__cell--selection">
1771
- <div class="usa-form-group usx-form-group">
1772
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1773
- <input
1774
- class="usa-checkbox__input"
1775
- id="react-:R1aj:-select"
1776
- type="checkbox"
1777
- aria-label="Select row 1"
1778
- /><label class="usa-checkbox__label" for="react-:R1aj:-select"></label>
1779
- </div>
1780
- </div>
1781
- </td>
1782
- <th class="usx-table__cell" scope="row">Hawaii</th>
1783
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1784
- <td class="usx-table__cell">Pacific</td>
1785
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1786
- </tr>
1787
- <tr class="usx-table__row usx-table__row--disabled">
1788
- <td class="usx-table__cell usx-table__cell--selection">
1789
- <div class="usa-form-group usx-form-group">
1790
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1791
- <input
1792
- class="usa-checkbox__input"
1793
- id="react-:R2aj:-select"
1794
- type="checkbox"
1795
- aria-label="Select row 2"
1796
- disabled=""
1797
- /><label class="usa-checkbox__label" for="react-:R2aj:-select"></label>
1798
- </div>
1799
- </div>
1800
- </td>
1801
- <th class="usx-table__cell" scope="row">Alaska</th>
1802
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1803
- <td class="usx-table__cell">Pacific</td>
1804
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1805
- </tr>
1806
- <tr class="usx-table__row">
1807
- <td class="usx-table__cell usx-table__cell--selection">
1808
- <div class="usa-form-group usx-form-group">
1809
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1810
- <input
1811
- class="usa-checkbox__input"
1812
- id="react-:R3aj:-select"
1813
- type="checkbox"
1814
- aria-label="Select row 3"
1815
- /><label class="usa-checkbox__label" for="react-:R3aj:-select"></label>
1816
- </div>
1817
- </div>
1818
- </td>
1819
- <th class="usx-table__cell" scope="row">Arizona</th>
1820
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1821
- <td class="usx-table__cell">Southwest</td>
1822
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1823
- </tr>
1824
- <tr class="usx-table__row usx-table__row--disabled">
1825
- <td class="usx-table__cell usx-table__cell--selection">
1826
- <div class="usa-form-group usx-form-group">
1827
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1828
- <input
1829
- class="usa-checkbox__input"
1830
- id="react-:R4aj:-select"
1831
- type="checkbox"
1832
- aria-label="Select row 4"
1833
- disabled=""
1834
- /><label class="usa-checkbox__label" for="react-:R4aj:-select"></label>
1835
- </div>
1836
- </div>
1837
- </td>
1838
- <th class="usx-table__cell" scope="row">New Mexico</th>
1839
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1840
- <td class="usx-table__cell">Southwest</td>
1841
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1842
- </tr>
1843
- <tr class="usx-table__row">
1844
- <td class="usx-table__cell usx-table__cell--selection">
1845
- <div class="usa-form-group usx-form-group">
1846
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1847
- <input
1848
- class="usa-checkbox__input"
1849
- id="react-:R5aj:-select"
1850
- type="checkbox"
1851
- aria-label="Select row 5"
1852
- /><label class="usa-checkbox__label" for="react-:R5aj:-select"></label>
1853
- </div>
1854
- </div>
1855
- </td>
1856
- <th class="usx-table__cell" scope="row">Oklahoma</th>
1857
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
1858
- <td class="usx-table__cell">South</td>
1859
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
1860
- </tr>
1861
- <tr class="usx-table__row">
1862
- <td class="usx-table__cell usx-table__cell--selection">
1863
- <div class="usa-form-group usx-form-group">
1864
- <div class="usa-checkbox usx-checkbox usx-table__checkbox">
1865
- <input
1866
- class="usa-checkbox__input"
1867
- id="react-:R6aj:-select"
1868
- type="checkbox"
1869
- aria-label="Select row 6"
1870
- /><label class="usa-checkbox__label" for="react-:R6aj:-select"></label>
1871
- </div>
1872
- </div>
1873
- </td>
1874
- <th class="usx-table__cell" scope="row">Utah</th>
1875
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
1876
- <td class="usx-table__cell">West</td>
1877
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
1878
- </tr>
1879
- </tbody>
1880
- </table>
1881
-
1882
- <h3 class="site-preview-heading">Grouped Rows</h3>
1883
- <table id="react-grouped-rows" class="usa-table usx-table">
1884
- <caption class="usx-table__caption">
1885
- States grouped by region
1886
- </caption>
1887
- <thead class="usx-table__head">
1888
- <tr hidden="" aria-hidden="true">
1889
- <td>
1890
- <span
1891
- class="usa-sr-only usa-table__announcement-region"
1892
- aria-live="polite"
1893
- id="react-grouped-rows-sort-announcement"
1894
- ></span>
1895
- </td>
1896
- </tr>
1897
- <tr class="usx-table__head-row">
1898
- <th scope="col" class="usx-table__cell" data-sortable="true">
1899
- <button type="button" class="usx-table__sort-button">
1900
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1901
- <use href="/img/sprite.svg#sort_arrow"></use>
1902
- </svg>
1903
- </button>
1904
- </th>
1905
- <th
1906
- scope="col"
1907
- class="usx-table__cell usx-table__cell--align-right"
1908
- style="width: 8rem"
1909
- data-sortable="true"
1910
- >
1911
- <button type="button" class="usx-table__sort-button">
1912
- Order admitted<svg
1913
- class="usa-icon usx-icon"
1914
- aria-hidden="true"
1915
- focusable="false"
1916
- role="img"
1917
- >
1918
- <use href="/img/sprite.svg#sort_arrow"></use>
1919
- </svg>
1920
- </button>
1921
- </th>
1922
- <th scope="col" class="usx-table__cell" data-sortable="true">
1923
- <button type="button" class="usx-table__sort-button">
1924
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
1925
- <use href="/img/sprite.svg#sort_arrow"></use>
1926
- </svg>
1927
- </button>
1928
- </th>
1929
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
1930
- <button type="button" class="usx-table__sort-button">
1931
- Population at admission<svg
1932
- class="usa-icon usx-icon"
1933
- aria-hidden="true"
1934
- focusable="false"
1935
- role="img"
1936
- >
1937
- <use href="/img/sprite.svg#sort_arrow"></use>
1938
- </svg>
1939
- </button>
1940
- </th>
1941
- </tr>
1942
- </thead>
1943
- <tbody class="usx-table__body">
1944
- <tr class="usx-table__group-row">
1945
- <td colspan="4" class="usx-table__group-cell">
1946
- <div class="usx-accordion usa-accordion">
1947
- <h4 class="usa-accordion__heading">
1948
- <button
1949
- type="button"
1950
- class="usa-accordion__button usx-table__group-toggle"
1951
- aria-expanded="true"
1952
- >
1953
- Pacific
1954
- </button>
1955
- </h4>
1956
- </div>
1957
- </td>
1958
- </tr>
1959
- <tr class="usx-table__row">
1960
- <th class="usx-table__cell" scope="row">Hawaii</th>
1961
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">50</td>
1962
- <td class="usx-table__cell">Pacific</td>
1963
- <td class="usx-table__cell usx-table__cell--align-right">632,772</td>
1964
- </tr>
1965
- <tr class="usx-table__row">
1966
- <th class="usx-table__cell" scope="row">Alaska</th>
1967
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">49</td>
1968
- <td class="usx-table__cell">Pacific</td>
1969
- <td class="usx-table__cell usx-table__cell--align-right">226,167</td>
1970
- </tr>
1971
- <tr class="usx-table__group-row">
1972
- <td colspan="4" class="usx-table__group-cell">
1973
- <div class="usx-accordion usa-accordion">
1974
- <h4 class="usa-accordion__heading">
1975
- <button
1976
- type="button"
1977
- class="usa-accordion__button usx-table__group-toggle"
1978
- aria-expanded="true"
1979
- >
1980
- Southwest
1981
- </button>
1982
- </h4>
1983
- </div>
1984
- </td>
1985
- </tr>
1986
- <tr class="usx-table__row">
1987
- <th class="usx-table__cell" scope="row">Arizona</th>
1988
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">48</td>
1989
- <td class="usx-table__cell">Southwest</td>
1990
- <td class="usx-table__cell usx-table__cell--align-right">204,354</td>
1991
- </tr>
1992
- <tr class="usx-table__row">
1993
- <th class="usx-table__cell" scope="row">New Mexico</th>
1994
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">47</td>
1995
- <td class="usx-table__cell">Southwest</td>
1996
- <td class="usx-table__cell usx-table__cell--align-right">327,301</td>
1997
- </tr>
1998
- <tr class="usx-table__group-row">
1999
- <td colspan="4" class="usx-table__group-cell">
2000
- <div class="usx-accordion usa-accordion">
2001
- <h4 class="usa-accordion__heading">
2002
- <button
2003
- type="button"
2004
- class="usa-accordion__button usx-table__group-toggle"
2005
- aria-expanded="true"
2006
- >
2007
- South
2008
- </button>
2009
- </h4>
2010
- </div>
2011
- </td>
2012
- </tr>
2013
- <tr class="usx-table__row">
2014
- <th class="usx-table__cell" scope="row">Oklahoma</th>
2015
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">46</td>
2016
- <td class="usx-table__cell">South</td>
2017
- <td class="usx-table__cell usx-table__cell--align-right">1,657,155</td>
2018
- </tr>
2019
- <tr class="usx-table__group-row">
2020
- <td colspan="4" class="usx-table__group-cell">
2021
- <div class="usx-accordion usa-accordion">
2022
- <h4 class="usa-accordion__heading">
2023
- <button
2024
- type="button"
2025
- class="usa-accordion__button usx-table__group-toggle"
2026
- aria-expanded="true"
2027
- >
2028
- West
2029
- </button>
2030
- </h4>
2031
- </div>
2032
- </td>
2033
- </tr>
2034
- <tr class="usx-table__row">
2035
- <th class="usx-table__cell" scope="row">Utah</th>
2036
- <td class="usx-table__cell usx-table__cell--align-right" style="width: 8rem">45</td>
2037
- <td class="usx-table__cell">West</td>
2038
- <td class="usx-table__cell usx-table__cell--align-right">210,779</td>
2039
- </tr>
2040
- </tbody>
2041
- </table>
2042
-
2043
- <h3 class="site-preview-heading">Grouped (collapsed)</h3>
2044
- <table id="react-grouped-collapsed" class="usa-table usx-table">
762
+ <h3 class="site-preview-heading">Sortable</h3>
763
+ <table class="usa-table usx-table">
2045
764
  <caption class="usx-table__caption">
2046
- Groups collapsed by default
765
+ Sortable table
2047
766
  </caption>
2048
- <thead class="usx-table__head">
2049
- <tr hidden="" aria-hidden="true">
2050
- <td>
2051
- <span
2052
- class="usa-sr-only usa-table__announcement-region"
2053
- aria-live="polite"
2054
- id="react-grouped-collapsed-sort-announcement"
2055
- ></span>
2056
- </td>
2057
- </tr>
2058
- <tr class="usx-table__head-row">
2059
- <th scope="col" class="usx-table__cell" data-sortable="true">
2060
- <button type="button" class="usx-table__sort-button">
2061
- State<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
2062
- <use href="/img/sprite.svg#sort_arrow"></use>
2063
- </svg>
2064
- </button>
2065
- </th>
2066
- <th
2067
- scope="col"
2068
- class="usx-table__cell usx-table__cell--align-right"
2069
- style="width: 8rem"
2070
- data-sortable="true"
2071
- >
2072
- <button type="button" class="usx-table__sort-button">
2073
- Order admitted<svg
2074
- class="usa-icon usx-icon"
2075
- aria-hidden="true"
2076
- focusable="false"
2077
- role="img"
2078
- >
2079
- <use href="/img/sprite.svg#sort_arrow"></use>
2080
- </svg>
2081
- </button>
2082
- </th>
2083
- <th scope="col" class="usx-table__cell" data-sortable="true">
2084
- <button type="button" class="usx-table__sort-button">
2085
- Region<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
2086
- <use href="/img/sprite.svg#sort_arrow"></use>
2087
- </svg>
2088
- </button>
2089
- </th>
2090
- <th scope="col" class="usx-table__cell usx-table__cell--align-right" data-sortable="true">
2091
- <button type="button" class="usx-table__sort-button">
2092
- Population at admission<svg
2093
- class="usa-icon usx-icon"
2094
- aria-hidden="true"
2095
- focusable="false"
2096
- role="img"
2097
- >
2098
- <use href="/img/sprite.svg#sort_arrow"></use>
2099
- </svg>
2100
- </button>
2101
- </th>
767
+ <thead>
768
+ <tr>
769
+ <th scope="col" data-sortable="">Document title</th>
770
+ <th scope="col" data-sortable="">Description</th>
771
+ <th scope="col" data-sortable="">Year</th>
2102
772
  </tr>
2103
773
  </thead>
2104
- <tbody class="usx-table__body">
2105
- <tr class="usx-table__group-row">
2106
- <td colspan="4" class="usx-table__group-cell">
2107
- <div class="usx-accordion usa-accordion">
2108
- <h4 class="usa-accordion__heading">
2109
- <button
2110
- type="button"
2111
- class="usa-accordion__button usx-table__group-toggle"
2112
- aria-expanded="false"
2113
- >
2114
- Pacific
2115
- </button>
2116
- </h4>
2117
- </div>
2118
- </td>
2119
- </tr>
2120
- <tr class="usx-table__group-row">
2121
- <td colspan="4" class="usx-table__group-cell">
2122
- <div class="usx-accordion usa-accordion">
2123
- <h4 class="usa-accordion__heading">
2124
- <button
2125
- type="button"
2126
- class="usa-accordion__button usx-table__group-toggle"
2127
- aria-expanded="false"
2128
- >
2129
- Southwest
2130
- </button>
2131
- </h4>
2132
- </div>
2133
- </td>
2134
- </tr>
2135
- <tr class="usx-table__group-row">
2136
- <td colspan="4" class="usx-table__group-cell">
2137
- <div class="usx-accordion usa-accordion">
2138
- <h4 class="usa-accordion__heading">
2139
- <button
2140
- type="button"
2141
- class="usa-accordion__button usx-table__group-toggle"
2142
- aria-expanded="false"
2143
- >
2144
- South
2145
- </button>
2146
- </h4>
2147
- </div>
2148
- </td>
2149
- </tr>
2150
- <tr class="usx-table__group-row">
2151
- <td colspan="4" class="usx-table__group-cell">
2152
- <div class="usx-accordion usa-accordion">
2153
- <h4 class="usa-accordion__heading">
2154
- <button
2155
- type="button"
2156
- class="usa-accordion__button usx-table__group-toggle"
2157
- aria-expanded="false"
2158
- >
2159
- West
2160
- </button>
2161
- </h4>
2162
- </div>
2163
- </td>
774
+ <tbody>
775
+ <tr>
776
+ <th scope="row">Declaration of Independence</th>
777
+ <td>Statement adopted by the Continental Congress.</td>
778
+ <td>1776</td>
779
+ </tr>
780
+ <tr>
781
+ <th scope="row">Bill of Rights</th>
782
+ <td>The first ten amendments to the Constitution.</td>
783
+ <td>1791</td>
784
+ </tr>
785
+ <tr>
786
+ <th scope="row">Emancipation Proclamation</th>
787
+ <td>An executive order ending slavery in designated states.</td>
788
+ <td>1863</td>
2164
789
  </tr>
2165
790
  </tbody>
2166
791
  </table>
792
+ <div class="usa-sr-only usa-table__announcement-region" aria-live="polite"></div>