@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.
- package/dist/index.cjs +231 -98
- package/dist/index.js +231 -98
- package/package.json +5 -5
- package/src/components/accordion/accordion.html +596 -291
- package/src/components/alert/alert.html +112 -148
- package/src/components/attribution/attribution.html +50 -21
- package/src/components/avatar/avatar.html +86 -51
- package/src/components/breadcrumb/breadcrumb.html +45 -66
- package/src/components/button/button.html +363 -226
- package/src/components/callout/Callout.tsx +1 -2
- package/src/components/callout/callout.django.html +2 -2
- package/src/components/callout/callout.html +0 -5
- package/src/components/callout/config.json +1 -5
- package/src/components/card/Card.tsx +6 -3
- package/src/components/card/card.django.html +2 -2
- package/src/components/card/card.html +1032 -35
- package/src/components/card/config.json +6 -2
- package/src/components/card-group/card-group.html +388 -95
- package/src/components/carousel/Carousel.tsx +42 -71
- package/src/components/carousel/carousel.django.html +22 -46
- package/src/components/carousel/carousel.html +715 -32
- package/src/components/carousel/config.json +25 -12
- package/src/components/character-count/character-count.html +231 -26
- package/src/components/checkbox/checkbox.html +313 -241
- package/src/components/checkbox-group/checkbox-group.html +346 -26
- package/src/components/clickable/clickable.html +168 -83
- package/src/components/code/Code.tsx +4 -3
- package/src/components/code/code.django.html +1 -1
- package/src/components/code/config.json +4 -0
- package/src/components/collection/collection.html +203 -379
- package/src/components/combobox/combobox.html +21 -9
- package/src/components/container/container.html +2616 -80
- package/src/components/copy-to-clipboard/copy-to-clipboard.html +48 -20
- package/src/components/details/Details.tsx +69 -0
- package/src/components/details/config.json +73 -0
- package/src/components/details/details.django.html +7 -0
- package/src/components/details/details.html +186 -0
- package/src/components/error-message/error-message.html +15 -2
- package/src/components/error-page/ErrorPage.tsx +169 -0
- package/src/components/error-page/config.json +152 -0
- package/src/components/error-page/error-page.django.html +80 -0
- package/src/components/error-page/error-page.html +437 -0
- package/src/components/eyebrow/eyebrow.html +8 -4
- package/src/components/fieldset/fieldset.html +33 -7
- package/src/components/file-input/file-input.html +310 -31
- package/src/components/file-list/file-list.html +191 -7
- package/src/components/footer/footer.html +611 -232
- package/src/components/header/header.html +2553 -611
- package/src/components/hero/hero.html +300 -38
- package/src/components/hint/hint.html +7 -2
- package/src/components/identifier/identifier.html +483 -255
- package/src/components/image/Image.tsx +2 -2
- package/src/components/image/image.django.html +4 -10
- package/src/components/image/image.html +144 -29
- package/src/components/indicator/indicator.html +25 -23
- package/src/components/label/label.html +15 -16
- package/src/components/language-selector/language-selector.html +74 -25
- package/src/components/layout/layout.html +991 -21
- package/src/components/legend/legend.html +10 -9
- package/src/components/list/list.html +45 -25
- package/src/components/page/Page.tsx +15 -2
- package/src/components/page/config.json +13 -1
- package/src/components/page/page.django.html +2 -2
- package/src/components/page/page.html +29 -8
- package/src/components/pagination/pagination.html +907 -305
- package/src/components/prose/prose.html +244 -85
- package/src/components/quote/Quote.tsx +1 -1
- package/src/components/quote/config.json +1 -2
- package/src/components/quote/quote.html +2 -7
- package/src/components/radio-buttons/radio-buttons.html +623 -127
- package/src/components/required/required.html +3 -4
- package/src/components/search/search.html +336 -54
- package/src/components/section/section.html +73 -11
- package/src/components/select/select.html +112 -58
- package/src/components/skipnav/skipnav.html +40 -1
- package/src/components/spinner/spinner.html +143 -23
- package/src/components/step-indicator/step-indicator.html +26 -68
- package/src/components/swap/swap.html +99 -154
- package/src/components/table/table.html +2168 -988
- package/src/components/tag/tag.html +73 -17
- package/src/components/task-list/task-list.html +252 -15
- package/src/components/theme-picker/theme-picker.html +26 -8
- package/src/components/toggle/toggle.html +64 -5
- package/src/index.js +2 -0
|
@@ -1,266 +1,338 @@
|
|
|
1
|
-
<h3 class="site-preview-heading
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
>Sojourner Truth</label
|
|
15
|
-
>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="usa-checkbox usx-checkbox">
|
|
18
|
-
<input
|
|
19
|
-
class="usa-checkbox__input"
|
|
20
|
-
id="check-historical-douglass-default"
|
|
21
|
-
type="checkbox"
|
|
22
|
-
name="historical-figures"
|
|
23
|
-
value="frederick-douglass"
|
|
24
|
-
/>
|
|
25
|
-
<label class="usa-checkbox__label" for="check-historical-douglass-default"
|
|
26
|
-
>Frederick Douglass</label
|
|
27
|
-
>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="usa-checkbox usx-checkbox">
|
|
30
|
-
<input
|
|
31
|
-
class="usa-checkbox__input"
|
|
32
|
-
id="check-historical-washington-default"
|
|
33
|
-
type="checkbox"
|
|
34
|
-
name="historical-figures"
|
|
35
|
-
value="booker-t-washington"
|
|
36
|
-
/>
|
|
37
|
-
<label class="usa-checkbox__label" for="check-historical-washington-default"
|
|
38
|
-
>Booker T. Washington</label
|
|
39
|
-
>
|
|
40
|
-
</div>
|
|
41
|
-
<div class="usa-checkbox usx-checkbox">
|
|
42
|
-
<input
|
|
43
|
-
class="usa-checkbox__input"
|
|
44
|
-
id="check-historical-carver-default"
|
|
45
|
-
type="checkbox"
|
|
46
|
-
name="historical-figures"
|
|
47
|
-
value="george-washington-carver"
|
|
48
|
-
disabled="disabled"
|
|
49
|
-
/>
|
|
50
|
-
<label class="usa-checkbox__label" for="check-historical-carver-default"
|
|
51
|
-
>George Washington Carver</label
|
|
52
|
-
>
|
|
53
|
-
</div>
|
|
54
|
-
</fieldset>
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
|
+
<div class="usa-checkbox usx-checkbox">
|
|
3
|
+
<input
|
|
4
|
+
class="usa-checkbox__input"
|
|
5
|
+
id="html-checkbox-default-example-checkbox-1"
|
|
6
|
+
type="checkbox"
|
|
7
|
+
name="example-1"
|
|
8
|
+
aria-label=""
|
|
9
|
+
value="example-value-1"
|
|
10
|
+
/><label class="usa-checkbox__label" for="html-checkbox-default-example-checkbox-1"
|
|
11
|
+
>Example Checkbox 1</label
|
|
12
|
+
>
|
|
13
|
+
</div>
|
|
55
14
|
|
|
56
|
-
<h3 class="site-preview-heading
|
|
57
|
-
<
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
>Sojourner Truth
|
|
71
|
-
<span class="usa-checkbox__label-description"
|
|
72
|
-
>This is optional text that can be used to describe the label in more
|
|
73
|
-
detail.</span
|
|
74
|
-
></label
|
|
75
|
-
>
|
|
76
|
-
</div>
|
|
77
|
-
<div class="usa-checkbox usx-checkbox">
|
|
78
|
-
<input
|
|
79
|
-
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
80
|
-
id="check-historical-douglass-tile"
|
|
81
|
-
type="checkbox"
|
|
82
|
-
name="historical-figures-2"
|
|
83
|
-
value="frederick-douglass"
|
|
84
|
-
/>
|
|
85
|
-
<label class="usa-checkbox__label" for="check-historical-douglass-tile"
|
|
86
|
-
>Frederick Douglass</label
|
|
87
|
-
>
|
|
88
|
-
</div>
|
|
89
|
-
<div class="usa-checkbox usx-checkbox">
|
|
90
|
-
<input
|
|
91
|
-
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
92
|
-
id="check-historical-washington-tile"
|
|
93
|
-
type="checkbox"
|
|
94
|
-
name="historical-figures-2"
|
|
95
|
-
value="booker-t-washington"
|
|
96
|
-
/>
|
|
97
|
-
<label class="usa-checkbox__label" for="check-historical-washington-tile"
|
|
98
|
-
>Booker T. Washington</label
|
|
99
|
-
>
|
|
100
|
-
</div>
|
|
101
|
-
<div class="usa-checkbox usx-checkbox">
|
|
102
|
-
<input
|
|
103
|
-
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
104
|
-
id="check-historical-carver-tile"
|
|
105
|
-
type="checkbox"
|
|
106
|
-
name="historical-figures-2"
|
|
107
|
-
value="george-washington-carver"
|
|
108
|
-
disabled="disabled"
|
|
109
|
-
/>
|
|
110
|
-
<label class="usa-checkbox__label" for="check-historical-carver-tile"
|
|
111
|
-
>George Washington Carver</label
|
|
112
|
-
>
|
|
113
|
-
</div>
|
|
114
|
-
</fieldset>
|
|
115
|
-
</form>
|
|
15
|
+
<h3 class="site-preview-heading">Checked</h3>
|
|
16
|
+
<div class="usa-checkbox usx-checkbox">
|
|
17
|
+
<input
|
|
18
|
+
class="usa-checkbox__input"
|
|
19
|
+
id="html-checkbox-checked-example-checkbox-2"
|
|
20
|
+
type="checkbox"
|
|
21
|
+
name="example-2"
|
|
22
|
+
aria-label=""
|
|
23
|
+
value="example-value-2"
|
|
24
|
+
checked=""
|
|
25
|
+
/><label class="usa-checkbox__label" for="html-checkbox-checked-example-checkbox-2"
|
|
26
|
+
>Example Checkbox 2</label
|
|
27
|
+
>
|
|
28
|
+
</div>
|
|
116
29
|
|
|
30
|
+
<h3 class="site-preview-heading">Tile</h3>
|
|
31
|
+
<div class="usa-checkbox usx-checkbox">
|
|
32
|
+
<input
|
|
33
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
34
|
+
id="html-checkbox-tile-example-checkbox-3"
|
|
35
|
+
type="checkbox"
|
|
36
|
+
name="example-3"
|
|
37
|
+
aria-label=""
|
|
38
|
+
value="example-value-3"
|
|
39
|
+
/><label class="usa-checkbox__label" for="html-checkbox-tile-example-checkbox-3"
|
|
40
|
+
>Example Checkbox 3</label
|
|
41
|
+
>
|
|
42
|
+
</div>
|
|
117
43
|
|
|
118
|
-
<h3 class="site-preview-heading
|
|
119
|
-
<
|
|
120
|
-
<
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
</div>
|
|
134
|
-
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
135
|
-
<input
|
|
136
|
-
class="usa-checkbox__input"
|
|
137
|
-
id="check-historical-douglass-small"
|
|
138
|
-
type="checkbox"
|
|
139
|
-
name="historical-figures"
|
|
140
|
-
value="frederick-douglass"
|
|
141
|
-
/>
|
|
142
|
-
<label class="usa-checkbox__label" for="check-historical-douglass-small"
|
|
143
|
-
>Frederick Douglass</label
|
|
144
|
-
>
|
|
145
|
-
</div>
|
|
146
|
-
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
147
|
-
<input
|
|
148
|
-
class="usa-checkbox__input"
|
|
149
|
-
id="check-historical-washington-small"
|
|
150
|
-
type="checkbox"
|
|
151
|
-
name="historical-figures"
|
|
152
|
-
value="booker-t-washington"
|
|
153
|
-
/>
|
|
154
|
-
<label class="usa-checkbox__label" for="check-historical-washington-small"
|
|
155
|
-
>Booker T. Washington</label
|
|
156
|
-
>
|
|
157
|
-
</div>
|
|
158
|
-
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
159
|
-
<input
|
|
160
|
-
class="usa-checkbox__input"
|
|
161
|
-
id="check-historical-carver-small"
|
|
162
|
-
type="checkbox"
|
|
163
|
-
name="historical-figures"
|
|
164
|
-
value="george-washington-carver"
|
|
165
|
-
disabled="disabled"
|
|
166
|
-
/>
|
|
167
|
-
<label class="usa-checkbox__label" for="check-historical-carver-small"
|
|
168
|
-
>George Washington Carver</label
|
|
169
|
-
>
|
|
170
|
-
</div>
|
|
171
|
-
</fieldset>
|
|
44
|
+
<h3 class="site-preview-heading">Description</h3>
|
|
45
|
+
<div class="usa-checkbox usx-checkbox">
|
|
46
|
+
<input
|
|
47
|
+
class="usa-checkbox__input"
|
|
48
|
+
id="html-checkbox-description-example-checkbox-4"
|
|
49
|
+
type="checkbox"
|
|
50
|
+
name="example-4"
|
|
51
|
+
aria-label=""
|
|
52
|
+
value="example-value-4"
|
|
53
|
+
/><label class="usa-checkbox__label" for="html-checkbox-description-example-checkbox-4"
|
|
54
|
+
>Example Checkbox 4<span class="usa-checkbox__label-description"
|
|
55
|
+
>This is additional descriptive text for the checkbox.</span
|
|
56
|
+
></label
|
|
57
|
+
>
|
|
58
|
+
</div>
|
|
172
59
|
|
|
60
|
+
<h3 class="site-preview-heading">Tile With Description</h3>
|
|
61
|
+
<div class="usa-checkbox usx-checkbox">
|
|
62
|
+
<input
|
|
63
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
64
|
+
id="html-checkbox-tile-with-description-example-checkbox-5"
|
|
65
|
+
type="checkbox"
|
|
66
|
+
name="example-5"
|
|
67
|
+
aria-label=""
|
|
68
|
+
value="example-value-5"
|
|
69
|
+
/><label class="usa-checkbox__label" for="html-checkbox-tile-with-description-example-checkbox-5"
|
|
70
|
+
>Example Checkbox 5<span class="usa-checkbox__label-description"
|
|
71
|
+
>This is additional descriptive text for the checkbox.</span
|
|
72
|
+
></label
|
|
73
|
+
>
|
|
74
|
+
</div>
|
|
173
75
|
|
|
76
|
+
<h3 class="site-preview-heading">Disabled</h3>
|
|
77
|
+
<div class="usa-checkbox usx-checkbox">
|
|
78
|
+
<input
|
|
79
|
+
class="usa-checkbox__input"
|
|
80
|
+
id="html-checkbox-disabled-example-checkbox-6"
|
|
81
|
+
type="checkbox"
|
|
82
|
+
name="example-6"
|
|
83
|
+
aria-label=""
|
|
84
|
+
disabled=""
|
|
85
|
+
value="example-value-6"
|
|
86
|
+
/><label class="usa-checkbox__label" for="html-checkbox-disabled-example-checkbox-6"
|
|
87
|
+
>Example Checkbox 6</label
|
|
88
|
+
>
|
|
89
|
+
</div>
|
|
174
90
|
|
|
175
|
-
<h3 class="site-preview-heading
|
|
176
|
-
<
|
|
177
|
-
<
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
</
|
|
233
|
-
|
|
234
|
-
</
|
|
91
|
+
<h3 class="site-preview-heading">Disabled Checked</h3>
|
|
92
|
+
<div class="usa-checkbox usx-checkbox">
|
|
93
|
+
<input
|
|
94
|
+
class="usa-checkbox__input"
|
|
95
|
+
id="html-checkbox-disabled-checked-example-checkbox-7"
|
|
96
|
+
type="checkbox"
|
|
97
|
+
name="example-7"
|
|
98
|
+
aria-label=""
|
|
99
|
+
disabled=""
|
|
100
|
+
value="example-value-7"
|
|
101
|
+
checked=""
|
|
102
|
+
/><label class="usa-checkbox__label" for="html-checkbox-disabled-checked-example-checkbox-7"
|
|
103
|
+
>Example Checkbox 7</label
|
|
104
|
+
>
|
|
105
|
+
</div>
|
|
106
|
+
|
|
107
|
+
<h3 class="site-preview-heading">Disabled Tile</h3>
|
|
108
|
+
<div class="usa-checkbox usx-checkbox">
|
|
109
|
+
<input
|
|
110
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
111
|
+
id="html-checkbox-disabled-tile-example-checkbox-8"
|
|
112
|
+
type="checkbox"
|
|
113
|
+
name="example-8"
|
|
114
|
+
aria-label=""
|
|
115
|
+
disabled=""
|
|
116
|
+
value="example-value-8"
|
|
117
|
+
/><label class="usa-checkbox__label" for="html-checkbox-disabled-tile-example-checkbox-8"
|
|
118
|
+
>Example Checkbox 8</label
|
|
119
|
+
>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<h3 class="site-preview-heading">Disabled Checked Tile</h3>
|
|
123
|
+
<div class="usa-checkbox usx-checkbox">
|
|
124
|
+
<input
|
|
125
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
126
|
+
id="html-checkbox-disabled-checked-tile-example-checkbox-9"
|
|
127
|
+
type="checkbox"
|
|
128
|
+
name="example-9"
|
|
129
|
+
aria-label=""
|
|
130
|
+
disabled=""
|
|
131
|
+
value="example-value-9"
|
|
132
|
+
checked=""
|
|
133
|
+
/><label class="usa-checkbox__label" for="html-checkbox-disabled-checked-tile-example-checkbox-9"
|
|
134
|
+
>Example Checkbox 9</label
|
|
135
|
+
>
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
<h3 class="site-preview-heading">Small</h3>
|
|
139
|
+
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
140
|
+
<input
|
|
141
|
+
class="usa-checkbox__input"
|
|
142
|
+
id="html-checkbox-small-example-checkbox-10"
|
|
143
|
+
type="checkbox"
|
|
144
|
+
name="example-10"
|
|
145
|
+
aria-label=""
|
|
146
|
+
value="example-value-10"
|
|
147
|
+
/><label class="usa-checkbox__label" for="html-checkbox-small-example-checkbox-10"
|
|
148
|
+
>Example Checkbox 10</label
|
|
149
|
+
>
|
|
150
|
+
</div>
|
|
151
|
+
|
|
152
|
+
<h3 class="site-preview-heading">Small Tile</h3>
|
|
153
|
+
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
154
|
+
<input
|
|
155
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
156
|
+
id="html-checkbox-small-tile-example-checkbox-11"
|
|
157
|
+
type="checkbox"
|
|
158
|
+
name="example-11"
|
|
159
|
+
aria-label=""
|
|
160
|
+
value="example-value-11"
|
|
161
|
+
/><label class="usa-checkbox__label" for="html-checkbox-small-tile-example-checkbox-11"
|
|
162
|
+
>Example Checkbox 11</label
|
|
163
|
+
>
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
<h3 class="site-preview-heading">Small Disabled</h3>
|
|
167
|
+
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
168
|
+
<input
|
|
169
|
+
class="usa-checkbox__input"
|
|
170
|
+
id="html-checkbox-small-disabled-example-checkbox-12"
|
|
171
|
+
type="checkbox"
|
|
172
|
+
name="example-12"
|
|
173
|
+
aria-label=""
|
|
174
|
+
disabled=""
|
|
175
|
+
value="example-value-12"
|
|
176
|
+
/><label class="usa-checkbox__label" for="html-checkbox-small-disabled-example-checkbox-12"
|
|
177
|
+
>Example Checkbox 12</label
|
|
178
|
+
>
|
|
179
|
+
</div>
|
|
235
180
|
|
|
236
|
-
<h3 class="site-preview-heading
|
|
181
|
+
<h3 class="site-preview-heading">Small Checked Disabled</h3>
|
|
182
|
+
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
183
|
+
<input
|
|
184
|
+
class="usa-checkbox__input"
|
|
185
|
+
id="html-checkbox-small-checked-disabled-example-checkbox-13"
|
|
186
|
+
type="checkbox"
|
|
187
|
+
name="example-13"
|
|
188
|
+
aria-label=""
|
|
189
|
+
disabled=""
|
|
190
|
+
value="example-value-13"
|
|
191
|
+
checked=""
|
|
192
|
+
/><label
|
|
193
|
+
class="usa-checkbox__label"
|
|
194
|
+
for="html-checkbox-small-checked-disabled-example-checkbox-13"
|
|
195
|
+
>Example Checkbox 13</label
|
|
196
|
+
>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
<h3 class="site-preview-heading">Small Tile Disabled</h3>
|
|
200
|
+
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
201
|
+
<input
|
|
202
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
203
|
+
id="html-checkbox-small-tile-disabled-example-checkbox-14"
|
|
204
|
+
type="checkbox"
|
|
205
|
+
name="example-14"
|
|
206
|
+
aria-label=""
|
|
207
|
+
disabled=""
|
|
208
|
+
value="example-value-14"
|
|
209
|
+
/><label class="usa-checkbox__label" for="html-checkbox-small-tile-disabled-example-checkbox-14"
|
|
210
|
+
>Example Checkbox 14<span class="usa-checkbox__label-description"
|
|
211
|
+
>This is additional descriptive text for the checkbox.</span
|
|
212
|
+
></label
|
|
213
|
+
>
|
|
214
|
+
</div>
|
|
215
|
+
|
|
216
|
+
<h3 class="site-preview-heading">Small Checked Tile Disabled</h3>
|
|
217
|
+
<div class="usa-checkbox usx-checkbox usx-checkbox--small">
|
|
218
|
+
<input
|
|
219
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
220
|
+
id="html-checkbox-small-checked-tile-disabled-example-checkbox-15"
|
|
221
|
+
type="checkbox"
|
|
222
|
+
name="example-15"
|
|
223
|
+
aria-label=""
|
|
224
|
+
disabled=""
|
|
225
|
+
value="example-value-15"
|
|
226
|
+
checked=""
|
|
227
|
+
/><label
|
|
228
|
+
class="usa-checkbox__label"
|
|
229
|
+
for="html-checkbox-small-checked-tile-disabled-example-checkbox-15"
|
|
230
|
+
>Example Checkbox 15<span class="usa-checkbox__label-description"
|
|
231
|
+
>This is additional descriptive text for the checkbox.</span
|
|
232
|
+
></label
|
|
233
|
+
>
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
<h3 class="site-preview-heading">With On Change</h3>
|
|
237
|
+
<div class="usa-checkbox usx-checkbox">
|
|
238
|
+
<input
|
|
239
|
+
class="usa-checkbox__input"
|
|
240
|
+
id="html-checkbox-with-on-change-example-checkbox-16"
|
|
241
|
+
type="checkbox"
|
|
242
|
+
name="example-16"
|
|
243
|
+
aria-label=""
|
|
244
|
+
value="example-value-16"
|
|
245
|
+
/><label class="usa-checkbox__label" for="html-checkbox-with-on-change-example-checkbox-16"
|
|
246
|
+
>Example Checkbox 16</label
|
|
247
|
+
>
|
|
248
|
+
</div>
|
|
249
|
+
|
|
250
|
+
<h3 class="site-preview-heading">Required</h3>
|
|
251
|
+
<div class="usa-checkbox usx-checkbox">
|
|
252
|
+
<input
|
|
253
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
254
|
+
id="html-checkbox-required-example-checkbox-17"
|
|
255
|
+
type="checkbox"
|
|
256
|
+
name="example-17"
|
|
257
|
+
aria-label=""
|
|
258
|
+
required=""
|
|
259
|
+
value="example-value-17"
|
|
260
|
+
/><label class="usa-checkbox__label" for="html-checkbox-required-example-checkbox-17"
|
|
261
|
+
><abbr title="Required" class="usx-required">*</abbr> Example Checkbox 17<span
|
|
262
|
+
class="usa-checkbox__label-description"
|
|
263
|
+
>This checkbox is required.</span
|
|
264
|
+
></label
|
|
265
|
+
>
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
<h3 class="site-preview-heading">Error</h3>
|
|
269
|
+
<div class="usa-checkbox usx-checkbox">
|
|
270
|
+
<input
|
|
271
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
272
|
+
id="html-checkbox-error-example-checkbox-18"
|
|
273
|
+
type="checkbox"
|
|
274
|
+
name="example-18"
|
|
275
|
+
aria-label=""
|
|
276
|
+
value="example-value-18"
|
|
277
|
+
/><label class="usa-checkbox__label" for="html-checkbox-error-example-checkbox-18"
|
|
278
|
+
>Example Checkbox 18<span class="usa-checkbox__label-description"
|
|
279
|
+
>Please check this box to continue.</span
|
|
280
|
+
></label
|
|
281
|
+
>
|
|
282
|
+
</div>
|
|
283
|
+
<span class="usa-error-message usx-error-message" role="alert"
|
|
284
|
+
>You've done something wrong, although we don't necessarily know what.</span
|
|
285
|
+
>
|
|
286
|
+
|
|
287
|
+
<h3 class="site-preview-heading">Success</h3>
|
|
288
|
+
<div class="usa-checkbox usx-checkbox">
|
|
289
|
+
<input
|
|
290
|
+
class="usa-checkbox__input usa-checkbox__input--tile"
|
|
291
|
+
id="html-checkbox-success-example-checkbox-19"
|
|
292
|
+
type="checkbox"
|
|
293
|
+
name="example-19"
|
|
294
|
+
aria-label=""
|
|
295
|
+
value="example-value-19"
|
|
296
|
+
/><label class="usa-checkbox__label" for="html-checkbox-success-example-checkbox-19"
|
|
297
|
+
>Example Checkbox 19<span class="usa-checkbox__label-description"
|
|
298
|
+
>Confirmation received.</span
|
|
299
|
+
></label
|
|
300
|
+
>
|
|
301
|
+
</div>
|
|
302
|
+
<span class="usa-success-message text-success" role="status"
|
|
303
|
+
>Great! You have successfully seen this message.</span
|
|
304
|
+
>
|
|
305
|
+
|
|
306
|
+
<h3 class="site-preview-heading">Group Error</h3>
|
|
237
307
|
<div class="usa-form-group usx-form-group usa-form-group--error">
|
|
238
|
-
<fieldset class="usa-fieldset">
|
|
239
|
-
<legend class="usa-legend usa-label--error">Select any historical figure</legend>
|
|
240
|
-
<span class="usa-error-message
|
|
308
|
+
<fieldset class="usa-fieldset usx-fieldset">
|
|
309
|
+
<legend class="usa-legend usx-legend usa-label--error">Select any historical figure</legend>
|
|
310
|
+
<span class="usa-error-message usx-error-message" role="alert"
|
|
311
|
+
>Select at least one option.</span
|
|
312
|
+
>
|
|
241
313
|
<div class="usa-checkbox usx-checkbox">
|
|
242
314
|
<input
|
|
243
315
|
class="usa-checkbox__input"
|
|
244
|
-
id="
|
|
316
|
+
id="html-checkbox-group-error-group-error-truth"
|
|
245
317
|
type="checkbox"
|
|
246
|
-
name="
|
|
318
|
+
name="group-error-figures"
|
|
319
|
+
aria-label=""
|
|
247
320
|
value="sojourner-truth"
|
|
248
|
-
|
|
249
|
-
<label class="usa-checkbox__label" for="check-historical-truth-error"
|
|
321
|
+
/><label class="usa-checkbox__label" for="html-checkbox-group-error-group-error-truth"
|
|
250
322
|
>Sojourner Truth</label
|
|
251
323
|
>
|
|
252
324
|
</div>
|
|
253
325
|
<div class="usa-checkbox usx-checkbox">
|
|
254
326
|
<input
|
|
255
327
|
class="usa-checkbox__input"
|
|
256
|
-
id="
|
|
328
|
+
id="html-checkbox-group-error-group-error-douglass"
|
|
257
329
|
type="checkbox"
|
|
258
|
-
name="
|
|
330
|
+
name="group-error-figures"
|
|
331
|
+
aria-label=""
|
|
259
332
|
value="frederick-douglass"
|
|
260
|
-
|
|
261
|
-
<label class="usa-checkbox__label" for="check-historical-douglass-error"
|
|
333
|
+
/><label class="usa-checkbox__label" for="html-checkbox-group-error-group-error-douglass"
|
|
262
334
|
>Frederick Douglass</label
|
|
263
335
|
>
|
|
264
336
|
</div>
|
|
265
337
|
</fieldset>
|
|
266
|
-
</div>
|
|
338
|
+
</div>
|