@solexllc/usx-react 0.6.0 → 0.7.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 (84) hide show
  1. package/dist/index.cjs +231 -98
  2. package/dist/index.js +231 -98
  3. package/package.json +5 -5
  4. package/src/components/accordion/accordion.html +596 -291
  5. package/src/components/alert/alert.html +112 -148
  6. package/src/components/attribution/attribution.html +50 -21
  7. package/src/components/avatar/avatar.html +86 -51
  8. package/src/components/breadcrumb/breadcrumb.html +45 -66
  9. package/src/components/button/button.html +363 -226
  10. package/src/components/callout/Callout.tsx +1 -2
  11. package/src/components/callout/callout.django.html +2 -2
  12. package/src/components/callout/callout.html +0 -5
  13. package/src/components/callout/config.json +1 -5
  14. package/src/components/card/Card.tsx +6 -3
  15. package/src/components/card/card.django.html +2 -2
  16. package/src/components/card/card.html +1032 -35
  17. package/src/components/card/config.json +6 -2
  18. package/src/components/card-group/card-group.html +388 -95
  19. package/src/components/carousel/Carousel.tsx +42 -71
  20. package/src/components/carousel/carousel.django.html +22 -46
  21. package/src/components/carousel/carousel.html +715 -32
  22. package/src/components/carousel/config.json +25 -12
  23. package/src/components/character-count/character-count.html +231 -26
  24. package/src/components/checkbox/checkbox.html +313 -241
  25. package/src/components/checkbox-group/checkbox-group.html +346 -26
  26. package/src/components/clickable/clickable.html +168 -83
  27. package/src/components/code/Code.tsx +4 -3
  28. package/src/components/code/code.django.html +1 -1
  29. package/src/components/code/config.json +4 -0
  30. package/src/components/collection/collection.html +203 -379
  31. package/src/components/combobox/combobox.html +21 -9
  32. package/src/components/container/container.html +2616 -80
  33. package/src/components/copy-to-clipboard/copy-to-clipboard.html +48 -20
  34. package/src/components/details/Details.tsx +69 -0
  35. package/src/components/details/config.json +73 -0
  36. package/src/components/details/details.django.html +7 -0
  37. package/src/components/details/details.html +186 -0
  38. package/src/components/error-message/error-message.html +15 -2
  39. package/src/components/error-page/ErrorPage.tsx +169 -0
  40. package/src/components/error-page/config.json +152 -0
  41. package/src/components/error-page/error-page.django.html +80 -0
  42. package/src/components/error-page/error-page.html +437 -0
  43. package/src/components/eyebrow/eyebrow.html +8 -4
  44. package/src/components/fieldset/fieldset.html +33 -7
  45. package/src/components/file-input/file-input.html +310 -31
  46. package/src/components/file-list/file-list.html +191 -7
  47. package/src/components/footer/footer.html +611 -232
  48. package/src/components/header/header.html +2553 -611
  49. package/src/components/hero/hero.html +300 -38
  50. package/src/components/hint/hint.html +7 -2
  51. package/src/components/identifier/identifier.html +483 -255
  52. package/src/components/image/Image.tsx +2 -2
  53. package/src/components/image/image.django.html +4 -10
  54. package/src/components/image/image.html +144 -29
  55. package/src/components/indicator/indicator.html +25 -23
  56. package/src/components/label/label.html +15 -16
  57. package/src/components/language-selector/language-selector.html +74 -25
  58. package/src/components/layout/layout.html +991 -21
  59. package/src/components/legend/legend.html +10 -9
  60. package/src/components/list/list.html +45 -25
  61. package/src/components/page/Page.tsx +15 -2
  62. package/src/components/page/config.json +13 -1
  63. package/src/components/page/page.django.html +2 -2
  64. package/src/components/page/page.html +29 -8
  65. package/src/components/pagination/pagination.html +907 -305
  66. package/src/components/prose/prose.html +244 -85
  67. package/src/components/quote/Quote.tsx +1 -1
  68. package/src/components/quote/config.json +1 -2
  69. package/src/components/quote/quote.html +2 -7
  70. package/src/components/radio-buttons/radio-buttons.html +623 -127
  71. package/src/components/required/required.html +3 -4
  72. package/src/components/search/search.html +336 -54
  73. package/src/components/section/section.html +73 -11
  74. package/src/components/select/select.html +112 -58
  75. package/src/components/skipnav/skipnav.html +40 -1
  76. package/src/components/spinner/spinner.html +143 -23
  77. package/src/components/step-indicator/step-indicator.html +26 -68
  78. package/src/components/swap/swap.html +99 -154
  79. package/src/components/table/table.html +2168 -988
  80. package/src/components/tag/tag.html +73 -17
  81. package/src/components/task-list/task-list.html +252 -15
  82. package/src/components/theme-picker/theme-picker.html +26 -8
  83. package/src/components/toggle/toggle.html +64 -5
  84. package/src/index.js +2 -0
@@ -1,304 +1,609 @@
1
- <h3 class="site-preview-heading">Borderless</h3>
2
- <div class="usa-accordion">
3
- <h4 class="usa-accordion__heading">
4
- <button
5
- type="button"
6
- class="usa-accordion__button"
7
- aria-expanded="true"
8
- aria-controls="a1"
9
- >
10
- First Amendment
11
- </button>
12
- </h4>
13
- <div id="a1" class="usa-accordion__content usa-prose">
14
- <p>
15
- Congress shall make no law respecting an establishment of religion, or
16
- prohibiting the free exercise thereof; or abridging the freedom of speech,
17
- or of the press; or the right of the people peaceably to assemble, and to
18
- petition the Government for a redress of grievances.
19
- </p>
20
- </div>
21
- <h4 class="usa-accordion__heading">
22
- <button
23
- type="button"
24
- class="usa-accordion__button"
25
- aria-expanded="false"
26
- aria-controls="a2"
27
- >
28
- Second Amendment
29
- </button>
30
- </h4>
31
- <div id="a2" class="usa-accordion__content usa-prose">
32
- <p>
33
- A well regulated Militia, being necessary to the security of a free State,
34
- the right of the people to keep and bear Arms, shall not be infringed.
35
- </p>
36
- <ul>
37
- <li>This is a list item</li>
38
- <li>Another list item</li>
39
- </ul>
40
- </div>
41
- <h4 class="usa-accordion__heading">
42
- <button
43
- type="button"
44
- class="usa-accordion__button"
45
- aria-expanded="false"
46
- aria-controls="a3"
47
- >
48
- Third Amendment
49
- </button>
50
- </h4>
51
- <div id="a3" class="usa-accordion__content usa-prose">
52
- <p>
53
- No Soldier shall, in time of peace be quartered in any house, without the
54
- consent of the Owner, nor in time of war, but in a manner to be prescribed
55
- by law.
56
- </p>
57
- </div>
58
- <h4 class="usa-accordion__heading">
59
- <button
60
- type="button"
61
- class="usa-accordion__button"
62
- aria-expanded="false"
63
- aria-controls="a4"
64
- >
65
- Fourth Amendment
66
- </button>
67
- </h4>
68
- <div id="a4" class="usa-accordion__content usa-prose">
69
- <p>
70
- The right of the people to be secure in their persons, houses, papers, and
71
- effects, against unreasonable searches and seizures, shall not be
72
- violated, and no Warrants shall issue, but upon probable cause, supported
73
- by Oath or affirmation, and particularly describing the place to be
74
- searched, and the persons or things to be seized.
75
- </p>
76
- </div>
77
- <h4 class="usa-accordion__heading">
78
- <button
79
- type="button"
80
- class="usa-accordion__button"
81
- aria-expanded="false"
82
- aria-controls="a5"
83
- >
84
- Fifth Amendment
85
- </button>
86
- </h4>
87
- <div id="a5" class="usa-accordion__content usa-prose">
88
- <p>
89
- No person shall be held to answer for a capital, or otherwise infamous
90
- crime, unless on a presentment or indictment of a Grand Jury, except in
91
- cases arising in the land or naval forces, or in the Militia, when in
92
- actual service in time of War or public danger; nor shall any person be
93
- subject for the same offence to be twice put in jeopardy of life or limb;
94
- nor shall be compelled in any criminal case to be a witness against
95
- himself, nor be deprived of life, liberty, or property, without due
96
- process of law; nor shall private property be taken for public use,
97
- without just compensation.
98
- </p>
1
+ <h3 class="site-preview-heading">Default</h3>
2
+ <div>
3
+ <div id="html-accordion-default-accordion-default" class="usa-accordion usx-accordion">
4
+ <h3 id="html-accordion-default-accordion-default-item-1-heading" class="usa-accordion__heading">
5
+ <button
6
+ type="button"
7
+ class="usa-accordion__button"
8
+ aria-expanded="false"
9
+ aria-controls="html-accordion-default-accordion-default-item-1-content"
10
+ data-testid="accordionButton_accordion-default-item-1"
11
+ >
12
+ Accordion Item 1
13
+ </button>
14
+ </h3>
15
+ <div
16
+ id="html-accordion-default-accordion-default-item-1-content"
17
+ aria-labelledby="html-accordion-default-accordion-default-item-1-heading"
18
+ data-testid="accordionItem_accordion-default-item-1"
19
+ class="usa-accordion__content usa-prose"
20
+ hidden=""
21
+ >
22
+ Content for accordion item 1.
23
+ </div>
24
+ <h3 id="html-accordion-default-accordion-default-item-2-heading" class="usa-accordion__heading">
25
+ <button
26
+ type="button"
27
+ class="usa-accordion__button"
28
+ aria-expanded="false"
29
+ aria-controls="html-accordion-default-accordion-default-item-2-content"
30
+ data-testid="accordionButton_accordion-default-item-2"
31
+ >
32
+ Accordion Item 2
33
+ </button>
34
+ </h3>
35
+ <div
36
+ id="html-accordion-default-accordion-default-item-2-content"
37
+ aria-labelledby="html-accordion-default-accordion-default-item-2-heading"
38
+ data-testid="accordionItem_accordion-default-item-2"
39
+ class="usa-accordion__content usa-prose"
40
+ hidden=""
41
+ >
42
+ Content for accordion item 2.
43
+ </div>
44
+ <h3 id="html-accordion-default-accordion-default-item-3-heading" class="usa-accordion__heading">
45
+ <button
46
+ type="button"
47
+ class="usa-accordion__button"
48
+ aria-expanded="false"
49
+ aria-controls="html-accordion-default-accordion-default-item-3-content"
50
+ data-testid="accordionButton_accordion-default-item-3"
51
+ >
52
+ Accordion Item 3
53
+ </button>
54
+ </h3>
55
+ <div
56
+ id="html-accordion-default-accordion-default-item-3-content"
57
+ aria-labelledby="html-accordion-default-accordion-default-item-3-heading"
58
+ data-testid="accordionItem_accordion-default-item-3"
59
+ class="usa-accordion__content usa-prose"
60
+ hidden=""
61
+ >
62
+ Content for accordion item 3.
63
+ </div>
99
64
  </div>
100
65
  </div>
101
66
 
102
67
  <h3 class="site-preview-heading">Bordered</h3>
103
-
104
- <div class="usa-accordion usa-accordion--bordered usa-accordion--icon-start">
105
- <h4 class="usa-accordion__heading">
106
- <button
107
- type="button"
108
- class="usa-accordion__button"
109
- aria-expanded="true"
110
- aria-controls="b-a1"
111
- >
112
- First Amendment
113
- </button>
114
- </h4>
115
- <div id="b-a1" class="usa-accordion__content usa-prose">
116
- <p>
117
- Congress shall make no law respecting an establishment of religion, or
118
- prohibiting the free exercise thereof; or abridging the freedom of speech,
119
- or of the press; or the right of the people peaceably to assemble, and to
120
- petition the Government for a redress of grievances.
121
- </p>
122
- </div>
123
- <h4 class="usa-accordion__heading">
124
- <button
125
- type="button"
126
- class="usa-accordion__button"
127
- aria-expanded="false"
128
- aria-controls="b-a2"
129
- >
130
- Second Amendment
131
- </button>
132
- </h4>
133
- <div id="b-a2" class="usa-accordion__content usa-prose">
134
- <p>
135
- A well regulated Militia, being necessary to the security of a free State,
136
- the right of the people to keep and bear Arms, shall not be infringed.
137
- </p>
138
- <ul>
139
- <li>This is a list item</li>
140
- <li>Another list item</li>
141
- </ul>
142
- </div>
143
- <h4 class="usa-accordion__heading">
144
- <button
145
- type="button"
146
- class="usa-accordion__button"
147
- aria-expanded="false"
148
- aria-controls="b-a3"
149
- >
150
- Third Amendment
151
- </button>
152
- </h4>
153
- <div id="b-a3" class="usa-accordion__content usa-prose">
154
- <p>
155
- No Soldier shall, in time of peace be quartered in any house, without the
156
- consent of the Owner, nor in time of war, but in a manner to be prescribed
157
- by law.
158
- </p>
159
- </div>
160
- <h4 class="usa-accordion__heading">
161
- <button
162
- type="button"
163
- class="usa-accordion__button"
164
- aria-expanded="false"
165
- aria-controls="b-a4"
166
- >
167
- Fourth Amendment
168
- </button>
169
- </h4>
170
- <div id="b-a4" class="usa-accordion__content usa-prose">
171
- <p>
172
- The right of the people to be secure in their persons, houses, papers, and
173
- effects, against unreasonable searches and seizures, shall not be
174
- violated, and no Warrants shall issue, but upon probable cause, supported
175
- by Oath or affirmation, and particularly describing the place to be
176
- searched, and the persons or things to be seized.
177
- </p>
178
- </div>
179
- <h4 class="usa-accordion__heading">
180
- <button
181
- type="button"
182
- class="usa-accordion__button"
183
- aria-expanded="false"
184
- aria-controls="b-a5"
185
- >
186
- Fifth Amendment
187
- </button>
188
- </h4>
189
- <div id="b-a5" class="usa-accordion__content usa-prose">
190
- <p>
191
- No person shall be held to answer for a capital, or otherwise infamous
192
- crime, unless on a presentment or indictment of a Grand Jury, except in
193
- cases arising in the land or naval forces, or in the Militia, when in
194
- actual service in time of War or public danger; nor shall any person be
195
- subject for the same offence to be twice put in jeopardy of life or limb;
196
- nor shall be compelled in any criminal case to be a witness against
197
- himself, nor be deprived of life, liberty, or property, without due
198
- process of law; nor shall private property be taken for public use,
199
- without just compensation.
200
- </p>
68
+ <div>
69
+ <div
70
+ id="html-accordion-bordered-accordion-bordered"
71
+ class="usa-accordion usx-accordion usa-accordion--bordered"
72
+ >
73
+ <h3
74
+ id="html-accordion-bordered-accordion-bordered-item-1-heading"
75
+ class="usa-accordion__heading"
76
+ >
77
+ <button
78
+ type="button"
79
+ class="usa-accordion__button"
80
+ aria-expanded="false"
81
+ aria-controls="html-accordion-bordered-accordion-bordered-item-1-content"
82
+ data-testid="accordionButton_accordion-bordered-item-1"
83
+ >
84
+ Accordion Item 1
85
+ </button>
86
+ </h3>
87
+ <div
88
+ id="html-accordion-bordered-accordion-bordered-item-1-content"
89
+ aria-labelledby="html-accordion-bordered-accordion-bordered-item-1-heading"
90
+ data-testid="accordionItem_accordion-bordered-item-1"
91
+ class="usa-accordion__content usa-prose"
92
+ hidden=""
93
+ >
94
+ Content for accordion item 1.
95
+ </div>
96
+ <h3
97
+ id="html-accordion-bordered-accordion-bordered-item-2-heading"
98
+ class="usa-accordion__heading"
99
+ >
100
+ <button
101
+ type="button"
102
+ class="usa-accordion__button"
103
+ aria-expanded="false"
104
+ aria-controls="html-accordion-bordered-accordion-bordered-item-2-content"
105
+ data-testid="accordionButton_accordion-bordered-item-2"
106
+ >
107
+ Accordion Item 2
108
+ </button>
109
+ </h3>
110
+ <div
111
+ id="html-accordion-bordered-accordion-bordered-item-2-content"
112
+ aria-labelledby="html-accordion-bordered-accordion-bordered-item-2-heading"
113
+ data-testid="accordionItem_accordion-bordered-item-2"
114
+ class="usa-accordion__content usa-prose"
115
+ hidden=""
116
+ >
117
+ Content for accordion item 2.
118
+ </div>
119
+ <h3
120
+ id="html-accordion-bordered-accordion-bordered-item-3-heading"
121
+ class="usa-accordion__heading"
122
+ >
123
+ <button
124
+ type="button"
125
+ class="usa-accordion__button"
126
+ aria-expanded="false"
127
+ aria-controls="html-accordion-bordered-accordion-bordered-item-3-content"
128
+ data-testid="accordionButton_accordion-bordered-item-3"
129
+ >
130
+ Accordion Item 3
131
+ </button>
132
+ </h3>
133
+ <div
134
+ id="html-accordion-bordered-accordion-bordered-item-3-content"
135
+ aria-labelledby="html-accordion-bordered-accordion-bordered-item-3-heading"
136
+ data-testid="accordionItem_accordion-bordered-item-3"
137
+ class="usa-accordion__content usa-prose"
138
+ hidden=""
139
+ >
140
+ Content for accordion item 3.
141
+ </div>
201
142
  </div>
202
143
  </div>
203
144
 
204
- <h3 class="site-preview-heading">Multiselectable</h3>
145
+ <h3 class="site-preview-heading">Initially Expanded</h3>
146
+ <div>
147
+ <div
148
+ id="html-accordion-initially-expanded-accordion-initially-expanded"
149
+ class="usa-accordion usx-accordion"
150
+ >
151
+ <h3
152
+ id="html-accordion-initially-expanded-accordion-initially-expanded-item-1-heading"
153
+ class="usa-accordion__heading"
154
+ >
155
+ <button
156
+ type="button"
157
+ class="usa-accordion__button"
158
+ aria-expanded="true"
159
+ aria-controls="html-accordion-initially-expanded-accordion-initially-expanded-item-1-content"
160
+ data-testid="accordionButton_accordion-initially-expanded-item-1"
161
+ >
162
+ Accordion Item 1
163
+ </button>
164
+ </h3>
165
+ <div
166
+ id="html-accordion-initially-expanded-accordion-initially-expanded-item-1-content"
167
+ aria-labelledby="html-accordion-initially-expanded-accordion-initially-expanded-item-1-heading"
168
+ data-testid="accordionItem_accordion-initially-expanded-item-1"
169
+ class="usa-accordion__content usa-prose"
170
+ >
171
+ Content for accordion item 1.
172
+ </div>
173
+ <h3
174
+ id="html-accordion-initially-expanded-accordion-initially-expanded-item-2-heading"
175
+ class="usa-accordion__heading"
176
+ >
177
+ <button
178
+ type="button"
179
+ class="usa-accordion__button"
180
+ aria-expanded="false"
181
+ aria-controls="html-accordion-initially-expanded-accordion-initially-expanded-item-2-content"
182
+ data-testid="accordionButton_accordion-initially-expanded-item-2"
183
+ >
184
+ Accordion Item 2
185
+ </button>
186
+ </h3>
187
+ <div
188
+ id="html-accordion-initially-expanded-accordion-initially-expanded-item-2-content"
189
+ aria-labelledby="html-accordion-initially-expanded-accordion-initially-expanded-item-2-heading"
190
+ data-testid="accordionItem_accordion-initially-expanded-item-2"
191
+ class="usa-accordion__content usa-prose"
192
+ hidden=""
193
+ >
194
+ Content for accordion item 2.
195
+ </div>
196
+ <h3
197
+ id="html-accordion-initially-expanded-accordion-initially-expanded-item-3-heading"
198
+ class="usa-accordion__heading"
199
+ >
200
+ <button
201
+ type="button"
202
+ class="usa-accordion__button"
203
+ aria-expanded="false"
204
+ aria-controls="html-accordion-initially-expanded-accordion-initially-expanded-item-3-content"
205
+ data-testid="accordionButton_accordion-initially-expanded-item-3"
206
+ >
207
+ Accordion Item 3
208
+ </button>
209
+ </h3>
210
+ <div
211
+ id="html-accordion-initially-expanded-accordion-initially-expanded-item-3-content"
212
+ aria-labelledby="html-accordion-initially-expanded-accordion-initially-expanded-item-3-heading"
213
+ data-testid="accordionItem_accordion-initially-expanded-item-3"
214
+ class="usa-accordion__content usa-prose"
215
+ hidden=""
216
+ >
217
+ Content for accordion item 3.
218
+ </div>
219
+ </div>
220
+ </div>
205
221
 
206
- <div class="usa-accordion usa-accordion--multiselectable usa-accordion--icon-end" data-allow-multiple>
207
- <h4 class="usa-accordion__heading">
208
- <button
209
- type="button"
210
- class="usa-accordion__button"
211
- aria-expanded="true"
212
- aria-controls="m-a1"
213
- >
214
- First Amendment
215
- </button>
216
- </h4>
217
- <div id="m-a1" class="usa-accordion__content usa-prose">
218
- <p>
219
- Congress shall make no law respecting an establishment of religion, or
220
- prohibiting the free exercise thereof; or abridging the freedom of speech,
221
- or of the press; or the right of the people peaceably to assemble, and to
222
- petition the Government for a redress of grievances.
223
- </p>
222
+ <h3 class="site-preview-heading">Multi Selectable</h3>
223
+ <div>
224
+ <div
225
+ id="html-accordion-multi-selectable-accordion-multi"
226
+ class="usa-accordion usx-accordion"
227
+ data-allow-multiple="true"
228
+ >
229
+ <h3
230
+ id="html-accordion-multi-selectable-accordion-multi-item-1-heading"
231
+ class="usa-accordion__heading"
232
+ >
233
+ <button
234
+ type="button"
235
+ class="usa-accordion__button"
236
+ aria-expanded="false"
237
+ aria-controls="html-accordion-multi-selectable-accordion-multi-item-1-content"
238
+ data-testid="accordionButton_accordion-multi-item-1"
239
+ >
240
+ Accordion Item 1
241
+ </button>
242
+ </h3>
243
+ <div
244
+ id="html-accordion-multi-selectable-accordion-multi-item-1-content"
245
+ aria-labelledby="html-accordion-multi-selectable-accordion-multi-item-1-heading"
246
+ data-testid="accordionItem_accordion-multi-item-1"
247
+ class="usa-accordion__content usa-prose"
248
+ hidden=""
249
+ >
250
+ Content for accordion item 1.
251
+ </div>
252
+ <h3
253
+ id="html-accordion-multi-selectable-accordion-multi-item-2-heading"
254
+ class="usa-accordion__heading"
255
+ >
256
+ <button
257
+ type="button"
258
+ class="usa-accordion__button"
259
+ aria-expanded="false"
260
+ aria-controls="html-accordion-multi-selectable-accordion-multi-item-2-content"
261
+ data-testid="accordionButton_accordion-multi-item-2"
262
+ >
263
+ Accordion Item 2
264
+ </button>
265
+ </h3>
266
+ <div
267
+ id="html-accordion-multi-selectable-accordion-multi-item-2-content"
268
+ aria-labelledby="html-accordion-multi-selectable-accordion-multi-item-2-heading"
269
+ data-testid="accordionItem_accordion-multi-item-2"
270
+ class="usa-accordion__content usa-prose"
271
+ hidden=""
272
+ >
273
+ Content for accordion item 2.
274
+ </div>
275
+ <h3
276
+ id="html-accordion-multi-selectable-accordion-multi-item-3-heading"
277
+ class="usa-accordion__heading"
278
+ >
279
+ <button
280
+ type="button"
281
+ class="usa-accordion__button"
282
+ aria-expanded="false"
283
+ aria-controls="html-accordion-multi-selectable-accordion-multi-item-3-content"
284
+ data-testid="accordionButton_accordion-multi-item-3"
285
+ >
286
+ Accordion Item 3
287
+ </button>
288
+ </h3>
289
+ <div
290
+ id="html-accordion-multi-selectable-accordion-multi-item-3-content"
291
+ aria-labelledby="html-accordion-multi-selectable-accordion-multi-item-3-heading"
292
+ data-testid="accordionItem_accordion-multi-item-3"
293
+ class="usa-accordion__content usa-prose"
294
+ hidden=""
295
+ >
296
+ Content for accordion item 3.
297
+ </div>
224
298
  </div>
225
- <h4 class="usa-accordion__heading">
226
- <button
227
- type="button"
228
- class="usa-accordion__button"
229
- aria-expanded="false"
230
- aria-controls="m-a2"
231
- >
232
- Second Amendment
233
- </button>
234
- </h4>
235
- <div id="m-a2" class="usa-accordion__content usa-prose">
236
- <p>
237
- A well regulated Militia, being necessary to the security of a free State,
238
- the right of the people to keep and bear Arms, shall not be infringed.
239
- </p>
240
- <ul>
241
- <li>This is a list item</li>
242
- <li>Another list item</li>
243
- </ul>
299
+ </div>
300
+
301
+ <h3 class="site-preview-heading">Custom Heading Level</h3>
302
+ <div>
303
+ <div id="html-accordion-custom-heading-level-accordion-h2" class="usa-accordion usx-accordion">
304
+ <h2
305
+ id="html-accordion-custom-heading-level-accordion-h2-item-1-heading"
306
+ class="usa-accordion__heading"
307
+ >
308
+ <button
309
+ type="button"
310
+ class="usa-accordion__button"
311
+ aria-expanded="false"
312
+ aria-controls="html-accordion-custom-heading-level-accordion-h2-item-1-content"
313
+ data-testid="accordionButton_accordion-h2-item-1"
314
+ >
315
+ Accordion Item 1
316
+ </button>
317
+ </h2>
318
+ <div
319
+ id="html-accordion-custom-heading-level-accordion-h2-item-1-content"
320
+ aria-labelledby="html-accordion-custom-heading-level-accordion-h2-item-1-heading"
321
+ data-testid="accordionItem_accordion-h2-item-1"
322
+ class="usa-accordion__content usa-prose"
323
+ hidden=""
324
+ >
325
+ Content for accordion item 1.
326
+ </div>
327
+ <h2
328
+ id="html-accordion-custom-heading-level-accordion-h2-item-2-heading"
329
+ class="usa-accordion__heading"
330
+ >
331
+ <button
332
+ type="button"
333
+ class="usa-accordion__button"
334
+ aria-expanded="false"
335
+ aria-controls="html-accordion-custom-heading-level-accordion-h2-item-2-content"
336
+ data-testid="accordionButton_accordion-h2-item-2"
337
+ >
338
+ Accordion Item 2
339
+ </button>
340
+ </h2>
341
+ <div
342
+ id="html-accordion-custom-heading-level-accordion-h2-item-2-content"
343
+ aria-labelledby="html-accordion-custom-heading-level-accordion-h2-item-2-heading"
344
+ data-testid="accordionItem_accordion-h2-item-2"
345
+ class="usa-accordion__content usa-prose"
346
+ hidden=""
347
+ >
348
+ Content for accordion item 2.
349
+ </div>
350
+ <h2
351
+ id="html-accordion-custom-heading-level-accordion-h2-item-3-heading"
352
+ class="usa-accordion__heading"
353
+ >
354
+ <button
355
+ type="button"
356
+ class="usa-accordion__button"
357
+ aria-expanded="false"
358
+ aria-controls="html-accordion-custom-heading-level-accordion-h2-item-3-content"
359
+ data-testid="accordionButton_accordion-h2-item-3"
360
+ >
361
+ Accordion Item 3
362
+ </button>
363
+ </h2>
364
+ <div
365
+ id="html-accordion-custom-heading-level-accordion-h2-item-3-content"
366
+ aria-labelledby="html-accordion-custom-heading-level-accordion-h2-item-3-heading"
367
+ data-testid="accordionItem_accordion-h2-item-3"
368
+ class="usa-accordion__content usa-prose"
369
+ hidden=""
370
+ >
371
+ Content for accordion item 3.
372
+ </div>
244
373
  </div>
245
- <h4 class="usa-accordion__heading">
246
- <button
247
- type="button"
248
- class="usa-accordion__button"
249
- aria-expanded="false"
250
- aria-controls="m-a3"
251
- >
252
- Third Amendment
253
- </button>
254
- </h4>
255
- <div id="m-a3" class="usa-accordion__content usa-prose">
256
- <p>
257
- No Soldier shall, in time of peace be quartered in any house, without the
258
- consent of the Owner, nor in time of war, but in a manner to be prescribed
259
- by law.
260
- </p>
374
+ </div>
375
+
376
+ <h3 class="site-preview-heading">Bordered Multi Selectable H 4</h3>
377
+ <div>
378
+ <div
379
+ id="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4"
380
+ class="usa-accordion usx-accordion usa-accordion--bordered"
381
+ data-allow-multiple="true"
382
+ >
383
+ <h4
384
+ id="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-1-heading"
385
+ class="usa-accordion__heading"
386
+ >
387
+ <button
388
+ type="button"
389
+ class="usa-accordion__button"
390
+ aria-expanded="false"
391
+ aria-controls="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-1-content"
392
+ data-testid="accordionButton_accordion-bordered-multi-h4-item-1"
393
+ >
394
+ Accordion Item 1
395
+ </button>
396
+ </h4>
397
+ <div
398
+ id="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-1-content"
399
+ aria-labelledby="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-1-heading"
400
+ data-testid="accordionItem_accordion-bordered-multi-h4-item-1"
401
+ class="usa-accordion__content usa-prose"
402
+ hidden=""
403
+ >
404
+ Content for accordion item 1.
405
+ </div>
406
+ <h4
407
+ id="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-2-heading"
408
+ class="usa-accordion__heading"
409
+ >
410
+ <button
411
+ type="button"
412
+ class="usa-accordion__button"
413
+ aria-expanded="false"
414
+ aria-controls="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-2-content"
415
+ data-testid="accordionButton_accordion-bordered-multi-h4-item-2"
416
+ >
417
+ Accordion Item 2
418
+ </button>
419
+ </h4>
420
+ <div
421
+ id="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-2-content"
422
+ aria-labelledby="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-2-heading"
423
+ data-testid="accordionItem_accordion-bordered-multi-h4-item-2"
424
+ class="usa-accordion__content usa-prose"
425
+ hidden=""
426
+ >
427
+ Content for accordion item 2.
428
+ </div>
429
+ <h4
430
+ id="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-3-heading"
431
+ class="usa-accordion__heading"
432
+ >
433
+ <button
434
+ type="button"
435
+ class="usa-accordion__button"
436
+ aria-expanded="false"
437
+ aria-controls="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-3-content"
438
+ data-testid="accordionButton_accordion-bordered-multi-h4-item-3"
439
+ >
440
+ Accordion Item 3
441
+ </button>
442
+ </h4>
443
+ <div
444
+ id="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-3-content"
445
+ aria-labelledby="html-accordion-bordered-multi-selectable-h-4-accordion-bordered-multi-h4-item-3-heading"
446
+ data-testid="accordionItem_accordion-bordered-multi-h4-item-3"
447
+ class="usa-accordion__content usa-prose"
448
+ hidden=""
449
+ >
450
+ Content for accordion item 3.
451
+ </div>
261
452
  </div>
262
- <h4 class="usa-accordion__heading">
263
- <button
264
- type="button"
265
- class="usa-accordion__button"
266
- aria-expanded="false"
267
- aria-controls="m-a4"
268
- >
269
- Fourth Amendment
270
- </button>
271
- </h4>
272
- <div id="m-a4" class="usa-accordion__content usa-prose">
273
- <p>
274
- The right of the people to be secure in their persons, houses, papers, and
275
- effects, against unreasonable searches and seizures, shall not be
276
- violated, and no Warrants shall issue, but upon probable cause, supported
277
- by Oath or affirmation, and particularly describing the place to be
278
- searched, and the persons or things to be seized.
279
- </p>
453
+ </div>
454
+
455
+ <h3 class="site-preview-heading">Icon Start</h3>
456
+ <div>
457
+ <div
458
+ id="html-accordion-icon-start-accordion-icon-start"
459
+ class="usa-accordion usx-accordion usa-accordion--icon-start"
460
+ >
461
+ <h3
462
+ id="html-accordion-icon-start-accordion-icon-start-item-1-heading"
463
+ class="usa-accordion__heading"
464
+ >
465
+ <button
466
+ type="button"
467
+ class="usa-accordion__button"
468
+ aria-expanded="false"
469
+ aria-controls="html-accordion-icon-start-accordion-icon-start-item-1-content"
470
+ data-testid="accordionButton_accordion-icon-start-item-1"
471
+ >
472
+ Accordion Item 1
473
+ </button>
474
+ </h3>
475
+ <div
476
+ id="html-accordion-icon-start-accordion-icon-start-item-1-content"
477
+ aria-labelledby="html-accordion-icon-start-accordion-icon-start-item-1-heading"
478
+ data-testid="accordionItem_accordion-icon-start-item-1"
479
+ class="usa-accordion__content usa-prose"
480
+ hidden=""
481
+ >
482
+ Content for accordion item 1.
483
+ </div>
484
+ <h3
485
+ id="html-accordion-icon-start-accordion-icon-start-item-2-heading"
486
+ class="usa-accordion__heading"
487
+ >
488
+ <button
489
+ type="button"
490
+ class="usa-accordion__button"
491
+ aria-expanded="false"
492
+ aria-controls="html-accordion-icon-start-accordion-icon-start-item-2-content"
493
+ data-testid="accordionButton_accordion-icon-start-item-2"
494
+ >
495
+ Accordion Item 2
496
+ </button>
497
+ </h3>
498
+ <div
499
+ id="html-accordion-icon-start-accordion-icon-start-item-2-content"
500
+ aria-labelledby="html-accordion-icon-start-accordion-icon-start-item-2-heading"
501
+ data-testid="accordionItem_accordion-icon-start-item-2"
502
+ class="usa-accordion__content usa-prose"
503
+ hidden=""
504
+ >
505
+ Content for accordion item 2.
506
+ </div>
507
+ <h3
508
+ id="html-accordion-icon-start-accordion-icon-start-item-3-heading"
509
+ class="usa-accordion__heading"
510
+ >
511
+ <button
512
+ type="button"
513
+ class="usa-accordion__button"
514
+ aria-expanded="false"
515
+ aria-controls="html-accordion-icon-start-accordion-icon-start-item-3-content"
516
+ data-testid="accordionButton_accordion-icon-start-item-3"
517
+ >
518
+ Accordion Item 3
519
+ </button>
520
+ </h3>
521
+ <div
522
+ id="html-accordion-icon-start-accordion-icon-start-item-3-content"
523
+ aria-labelledby="html-accordion-icon-start-accordion-icon-start-item-3-heading"
524
+ data-testid="accordionItem_accordion-icon-start-item-3"
525
+ class="usa-accordion__content usa-prose"
526
+ hidden=""
527
+ >
528
+ Content for accordion item 3.
529
+ </div>
280
530
  </div>
281
- <h4 class="usa-accordion__heading">
282
- <button
283
- type="button"
284
- class="usa-accordion__button"
285
- aria-expanded="false"
286
- aria-controls="m-a5"
287
- >
288
- Fifth Amendment
289
- </button>
290
- </h4>
291
- <div id="m-a5" class="usa-accordion__content usa-prose">
292
- <p>
293
- No person shall be held to answer for a capital, or otherwise infamous
294
- crime, unless on a presentment or indictment of a Grand Jury, except in
295
- cases arising in the land or naval forces, or in the Militia, when in
296
- actual service in time of War or public danger; nor shall any person be
297
- subject for the same offence to be twice put in jeopardy of life or limb;
298
- nor shall be compelled in any criminal case to be a witness against
299
- himself, nor be deprived of life, liberty, or property, without due
300
- process of law; nor shall private property be taken for public use,
301
- without just compensation.
302
- </p>
531
+ </div>
532
+
533
+ <h3 class="site-preview-heading">Icon End</h3>
534
+ <div>
535
+ <div
536
+ id="html-accordion-icon-end-accordion-icon-end"
537
+ class="usa-accordion usx-accordion usa-accordion--icon-end"
538
+ >
539
+ <h3
540
+ id="html-accordion-icon-end-accordion-icon-end-item-1-heading"
541
+ class="usa-accordion__heading"
542
+ >
543
+ <button
544
+ type="button"
545
+ class="usa-accordion__button"
546
+ aria-expanded="false"
547
+ aria-controls="html-accordion-icon-end-accordion-icon-end-item-1-content"
548
+ data-testid="accordionButton_accordion-icon-end-item-1"
549
+ >
550
+ Accordion Item 1
551
+ </button>
552
+ </h3>
553
+ <div
554
+ id="html-accordion-icon-end-accordion-icon-end-item-1-content"
555
+ aria-labelledby="html-accordion-icon-end-accordion-icon-end-item-1-heading"
556
+ data-testid="accordionItem_accordion-icon-end-item-1"
557
+ class="usa-accordion__content usa-prose"
558
+ hidden=""
559
+ >
560
+ Content for accordion item 1.
561
+ </div>
562
+ <h3
563
+ id="html-accordion-icon-end-accordion-icon-end-item-2-heading"
564
+ class="usa-accordion__heading"
565
+ >
566
+ <button
567
+ type="button"
568
+ class="usa-accordion__button"
569
+ aria-expanded="false"
570
+ aria-controls="html-accordion-icon-end-accordion-icon-end-item-2-content"
571
+ data-testid="accordionButton_accordion-icon-end-item-2"
572
+ >
573
+ Accordion Item 2
574
+ </button>
575
+ </h3>
576
+ <div
577
+ id="html-accordion-icon-end-accordion-icon-end-item-2-content"
578
+ aria-labelledby="html-accordion-icon-end-accordion-icon-end-item-2-heading"
579
+ data-testid="accordionItem_accordion-icon-end-item-2"
580
+ class="usa-accordion__content usa-prose"
581
+ hidden=""
582
+ >
583
+ Content for accordion item 2.
584
+ </div>
585
+ <h3
586
+ id="html-accordion-icon-end-accordion-icon-end-item-3-heading"
587
+ class="usa-accordion__heading"
588
+ >
589
+ <button
590
+ type="button"
591
+ class="usa-accordion__button"
592
+ aria-expanded="false"
593
+ aria-controls="html-accordion-icon-end-accordion-icon-end-item-3-content"
594
+ data-testid="accordionButton_accordion-icon-end-item-3"
595
+ >
596
+ Accordion Item 3
597
+ </button>
598
+ </h3>
599
+ <div
600
+ id="html-accordion-icon-end-accordion-icon-end-item-3-content"
601
+ aria-labelledby="html-accordion-icon-end-accordion-icon-end-item-3-heading"
602
+ data-testid="accordionItem_accordion-icon-end-item-3"
603
+ class="usa-accordion__content usa-prose"
604
+ hidden=""
605
+ >
606
+ Content for accordion item 3.
607
+ </div>
303
608
  </div>
304
- </div>
609
+ </div>