@solexllc/usx-react 0.6.1 → 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,64 +1,747 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
|
+
<div
|
|
3
|
+
class="usx-carousel"
|
|
4
|
+
role="region"
|
|
5
|
+
aria-roledescription="carousel"
|
|
6
|
+
aria-label="Featured content"
|
|
7
|
+
>
|
|
8
|
+
<div class="usx-carousel__viewport">
|
|
9
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
10
|
+
<div
|
|
11
|
+
class="usx-carousel__slide"
|
|
12
|
+
role="group"
|
|
13
|
+
aria-roledescription="slide"
|
|
14
|
+
aria-label="1 of 3"
|
|
15
|
+
>
|
|
16
|
+
<div class="width-full height-card bg-primary-dark text-white padding-8">Slide 1</div>
|
|
17
|
+
</div>
|
|
18
|
+
<div
|
|
19
|
+
class="usx-carousel__slide"
|
|
20
|
+
role="group"
|
|
21
|
+
aria-roledescription="slide"
|
|
22
|
+
aria-label="2 of 3"
|
|
23
|
+
>
|
|
24
|
+
<div class="width-full height-card bg-primary-light text-black padding-8">Slide 2</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div
|
|
27
|
+
class="usx-carousel__slide"
|
|
28
|
+
role="group"
|
|
29
|
+
aria-roledescription="slide"
|
|
30
|
+
aria-label="3 of 3"
|
|
31
|
+
>
|
|
32
|
+
<div class="width-full height-card bg-secondary-dark text-white padding-8">Slide 3</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
12
37
|
|
|
38
|
+
<h3 class="site-preview-heading">Unenhanced</h3>
|
|
39
|
+
<div
|
|
40
|
+
class="usx-carousel"
|
|
41
|
+
role="region"
|
|
42
|
+
aria-roledescription="carousel"
|
|
43
|
+
aria-label="Carousel without JS enhancement"
|
|
44
|
+
data-enhanced="true"
|
|
45
|
+
>
|
|
46
|
+
<div class="usx-carousel__viewport">
|
|
47
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
48
|
+
<div class="usx-carousel__slide" role="group" aria-roledescription="slide" aria-label="1 of 3">
|
|
49
|
+
<div class="width-full height-card bg-primary-dark text-white padding-8">Slide 1</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="usx-carousel__slide" role="group" aria-roledescription="slide" aria-label="2 of 3">
|
|
52
|
+
<div class="width-full height-card bg-primary-light text-black padding-8">Slide 2</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="usx-carousel__slide" role="group" aria-roledescription="slide" aria-label="3 of 3">
|
|
55
|
+
<div class="width-full height-card bg-secondary-dark text-white padding-8">Slide 3</div>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<h3 class="site-preview-heading">Without Dots</h3>
|
|
13
62
|
<div
|
|
14
63
|
class="usx-carousel"
|
|
15
64
|
role="region"
|
|
16
65
|
aria-roledescription="carousel"
|
|
17
66
|
aria-label="Featured content"
|
|
67
|
+
data-show-dots="false"
|
|
18
68
|
>
|
|
19
69
|
<div class="usx-carousel__viewport">
|
|
20
|
-
<div class="usx-carousel__track">
|
|
70
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
71
|
+
<div
|
|
72
|
+
class="usx-carousel__slide"
|
|
73
|
+
role="group"
|
|
74
|
+
aria-roledescription="slide"
|
|
75
|
+
aria-label="1 of 3"
|
|
76
|
+
>
|
|
77
|
+
<div class="width-full height-card bg-primary-dark text-white padding-8">Slide 1</div>
|
|
78
|
+
</div>
|
|
79
|
+
<div
|
|
80
|
+
class="usx-carousel__slide"
|
|
81
|
+
role="group"
|
|
82
|
+
aria-roledescription="slide"
|
|
83
|
+
aria-label="2 of 3"
|
|
84
|
+
>
|
|
85
|
+
<div class="width-full height-card bg-primary-light text-black padding-8">Slide 2</div>
|
|
86
|
+
</div>
|
|
87
|
+
<div
|
|
88
|
+
class="usx-carousel__slide"
|
|
89
|
+
role="group"
|
|
90
|
+
aria-roledescription="slide"
|
|
91
|
+
aria-label="3 of 3"
|
|
92
|
+
>
|
|
93
|
+
<div class="width-full height-card bg-secondary-dark text-white padding-8">Slide 3</div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
21
98
|
|
|
22
|
-
|
|
23
|
-
|
|
99
|
+
<h3 class="site-preview-heading">Hidden Status</h3>
|
|
100
|
+
<div
|
|
101
|
+
class="usx-carousel"
|
|
102
|
+
role="region"
|
|
103
|
+
aria-roledescription="carousel"
|
|
104
|
+
aria-label="Featured content"
|
|
105
|
+
data-status-class-name="display-none"
|
|
106
|
+
>
|
|
107
|
+
<div class="usx-carousel__viewport">
|
|
108
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
109
|
+
<div
|
|
24
110
|
class="usx-carousel__slide"
|
|
25
111
|
role="group"
|
|
26
112
|
aria-roledescription="slide"
|
|
27
113
|
aria-label="1 of 3"
|
|
28
|
-
tabindex="0"
|
|
29
114
|
>
|
|
30
|
-
<div class="
|
|
31
|
-
</
|
|
115
|
+
<div class="width-full height-card bg-primary-dark text-white padding-8">Slide 1</div>
|
|
116
|
+
</div>
|
|
117
|
+
<div
|
|
118
|
+
class="usx-carousel__slide"
|
|
119
|
+
role="group"
|
|
120
|
+
aria-roledescription="slide"
|
|
121
|
+
aria-label="2 of 3"
|
|
122
|
+
>
|
|
123
|
+
<div class="width-full height-card bg-primary-light text-black padding-8">Slide 2</div>
|
|
124
|
+
</div>
|
|
125
|
+
<div
|
|
126
|
+
class="usx-carousel__slide"
|
|
127
|
+
role="group"
|
|
128
|
+
aria-roledescription="slide"
|
|
129
|
+
aria-label="3 of 3"
|
|
130
|
+
>
|
|
131
|
+
<div class="width-full height-card bg-secondary-dark text-white padding-8">Slide 3</div>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
32
136
|
|
|
33
|
-
|
|
34
|
-
|
|
137
|
+
<h3 class="site-preview-heading">Custom Id</h3>
|
|
138
|
+
<div
|
|
139
|
+
id="html-custom-carousel"
|
|
140
|
+
class="usx-carousel"
|
|
141
|
+
role="region"
|
|
142
|
+
aria-roledescription="carousel"
|
|
143
|
+
aria-label="Featured content"
|
|
144
|
+
>
|
|
145
|
+
<div class="usx-carousel__viewport">
|
|
146
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
147
|
+
<div
|
|
148
|
+
class="usx-carousel__slide"
|
|
149
|
+
role="group"
|
|
150
|
+
aria-roledescription="slide"
|
|
151
|
+
aria-label="1 of 3"
|
|
152
|
+
>
|
|
153
|
+
<div class="width-full height-card bg-primary-dark text-white padding-8">Slide 1</div>
|
|
154
|
+
</div>
|
|
155
|
+
<div
|
|
35
156
|
class="usx-carousel__slide"
|
|
36
157
|
role="group"
|
|
37
158
|
aria-roledescription="slide"
|
|
38
159
|
aria-label="2 of 3"
|
|
39
|
-
tabindex="0"
|
|
40
160
|
>
|
|
41
|
-
<div class="
|
|
42
|
-
</
|
|
161
|
+
<div class="width-full height-card bg-primary-light text-black padding-8">Slide 2</div>
|
|
162
|
+
</div>
|
|
163
|
+
<div
|
|
164
|
+
class="usx-carousel__slide"
|
|
165
|
+
role="group"
|
|
166
|
+
aria-roledescription="slide"
|
|
167
|
+
aria-label="3 of 3"
|
|
168
|
+
>
|
|
169
|
+
<div class="width-full height-card bg-secondary-dark text-white padding-8">Slide 3</div>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
|
|
175
|
+
<h3 class="site-preview-heading">With Images</h3>
|
|
176
|
+
<div class="usx-carousel" role="region" aria-roledescription="carousel" aria-label="Photo gallery">
|
|
177
|
+
<div class="usx-carousel__viewport">
|
|
178
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
179
|
+
<div
|
|
180
|
+
class="usx-carousel__slide"
|
|
181
|
+
role="group"
|
|
182
|
+
aria-roledescription="slide"
|
|
183
|
+
aria-label="Photo 1 of 3"
|
|
184
|
+
>
|
|
185
|
+
<figure class="usx-image">
|
|
186
|
+
<img src="https://picsum.photos/400/300?random=1" alt="Random image 1" />
|
|
187
|
+
</figure>
|
|
188
|
+
</div>
|
|
189
|
+
<div
|
|
190
|
+
class="usx-carousel__slide"
|
|
191
|
+
role="group"
|
|
192
|
+
aria-roledescription="slide"
|
|
193
|
+
aria-label="Photo 2 of 3"
|
|
194
|
+
>
|
|
195
|
+
<figure class="usx-image">
|
|
196
|
+
<img src="https://picsum.photos/400/300?random=2" alt="Random image 2" />
|
|
197
|
+
</figure>
|
|
198
|
+
</div>
|
|
199
|
+
<div
|
|
200
|
+
class="usx-carousel__slide"
|
|
201
|
+
role="group"
|
|
202
|
+
aria-roledescription="slide"
|
|
203
|
+
aria-label="Photo 3 of 3"
|
|
204
|
+
>
|
|
205
|
+
<figure class="usx-image">
|
|
206
|
+
<img src="https://picsum.photos/400/300?random=3" alt="Random image 3" />
|
|
207
|
+
</figure>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
43
212
|
|
|
44
|
-
|
|
45
|
-
|
|
213
|
+
<h3 class="site-preview-heading">Card Carousel</h3>
|
|
214
|
+
<div
|
|
215
|
+
class="usx-carousel"
|
|
216
|
+
role="region"
|
|
217
|
+
aria-roledescription="carousel"
|
|
218
|
+
aria-label="Featured services"
|
|
219
|
+
>
|
|
220
|
+
<div class="usx-carousel__viewport">
|
|
221
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
222
|
+
<div
|
|
223
|
+
class="usx-carousel__slide"
|
|
224
|
+
role="group"
|
|
225
|
+
aria-roledescription="slide"
|
|
226
|
+
aria-label="1 of 3"
|
|
227
|
+
>
|
|
228
|
+
<div class="usa-card usx-card" id="html-carousel-card-1">
|
|
229
|
+
<div class="usa-card__container">
|
|
230
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Find a program</h4></div>
|
|
231
|
+
<div class="usa-card__body">
|
|
232
|
+
<div class="usx-tag-group"><span class="usx-tag">Programs</span></div>
|
|
233
|
+
<p>Explore programs and services available in your community.</p>
|
|
234
|
+
</div>
|
|
235
|
+
<div class="usa-card__footer">
|
|
236
|
+
<a class="usa-button" href="#programs">Explore programs</a>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
<div
|
|
242
|
+
class="usx-carousel__slide"
|
|
243
|
+
role="group"
|
|
244
|
+
aria-roledescription="slide"
|
|
245
|
+
aria-label="2 of 3"
|
|
246
|
+
>
|
|
247
|
+
<div class="usa-card usx-card" id="html-carousel-card-2">
|
|
248
|
+
<div class="usa-card__container">
|
|
249
|
+
<div class="usa-card__header">
|
|
250
|
+
<h4 class="usa-card__heading">Prepare your application</h4>
|
|
251
|
+
</div>
|
|
252
|
+
<div class="usa-card__body">
|
|
253
|
+
<div class="usx-tag-group"><span class="usx-tag">Getting started</span></div>
|
|
254
|
+
<p>Learn what you need before applying and gather your documents.</p>
|
|
255
|
+
</div>
|
|
256
|
+
<div class="usa-card__footer">
|
|
257
|
+
<a class="usa-button" href="#application">Review requirements</a>
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
<div
|
|
46
263
|
class="usx-carousel__slide"
|
|
47
264
|
role="group"
|
|
48
265
|
aria-roledescription="slide"
|
|
49
266
|
aria-label="3 of 3"
|
|
50
|
-
tabindex="0"
|
|
51
267
|
>
|
|
52
|
-
<div class="
|
|
53
|
-
|
|
268
|
+
<div class="usa-card usx-card" id="html-carousel-card-3">
|
|
269
|
+
<div class="usa-card__container">
|
|
270
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Get support</h4></div>
|
|
271
|
+
<div class="usa-card__body">
|
|
272
|
+
<div class="usx-tag-group"><span class="usx-tag">Support</span></div>
|
|
273
|
+
<p>Connect with a specialist for help with your next step.</p>
|
|
274
|
+
</div>
|
|
275
|
+
<div class="usa-card__footer">
|
|
276
|
+
<a class="usa-button" href="#support">Contact support</a>
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
54
284
|
|
|
285
|
+
<h3 class="site-preview-heading">Many Cards</h3>
|
|
286
|
+
<div
|
|
287
|
+
class="usx-carousel"
|
|
288
|
+
role="region"
|
|
289
|
+
aria-roledescription="carousel"
|
|
290
|
+
aria-label="Service directory"
|
|
291
|
+
>
|
|
292
|
+
<div class="usx-carousel__viewport">
|
|
293
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
294
|
+
<div
|
|
295
|
+
class="usx-carousel__slide"
|
|
296
|
+
role="group"
|
|
297
|
+
aria-roledescription="slide"
|
|
298
|
+
aria-label="Card 1 of 20"
|
|
299
|
+
>
|
|
300
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-1">
|
|
301
|
+
<div class="usa-card__container radius-bottom-0">
|
|
302
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 1</h4></div>
|
|
303
|
+
<div class="usa-card__body"><p>Explore service 1 of 20.</p></div>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
<div
|
|
308
|
+
class="usx-carousel__slide"
|
|
309
|
+
role="group"
|
|
310
|
+
aria-roledescription="slide"
|
|
311
|
+
aria-label="Card 2 of 20"
|
|
312
|
+
>
|
|
313
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-2">
|
|
314
|
+
<div class="usa-card__container radius-bottom-0">
|
|
315
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 2</h4></div>
|
|
316
|
+
<div class="usa-card__body"><p>Explore service 2 of 20.</p></div>
|
|
317
|
+
</div>
|
|
318
|
+
</div>
|
|
319
|
+
</div>
|
|
320
|
+
<div
|
|
321
|
+
class="usx-carousel__slide"
|
|
322
|
+
role="group"
|
|
323
|
+
aria-roledescription="slide"
|
|
324
|
+
aria-label="Card 3 of 20"
|
|
325
|
+
>
|
|
326
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-3">
|
|
327
|
+
<div class="usa-card__container radius-bottom-0">
|
|
328
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 3</h4></div>
|
|
329
|
+
<div class="usa-card__body"><p>Explore service 3 of 20.</p></div>
|
|
330
|
+
</div>
|
|
331
|
+
</div>
|
|
332
|
+
</div>
|
|
333
|
+
<div
|
|
334
|
+
class="usx-carousel__slide"
|
|
335
|
+
role="group"
|
|
336
|
+
aria-roledescription="slide"
|
|
337
|
+
aria-label="Card 4 of 20"
|
|
338
|
+
>
|
|
339
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-4">
|
|
340
|
+
<div class="usa-card__container radius-bottom-0">
|
|
341
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 4</h4></div>
|
|
342
|
+
<div class="usa-card__body"><p>Explore service 4 of 20.</p></div>
|
|
343
|
+
</div>
|
|
344
|
+
</div>
|
|
345
|
+
</div>
|
|
346
|
+
<div
|
|
347
|
+
class="usx-carousel__slide"
|
|
348
|
+
role="group"
|
|
349
|
+
aria-roledescription="slide"
|
|
350
|
+
aria-label="Card 5 of 20"
|
|
351
|
+
>
|
|
352
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-5">
|
|
353
|
+
<div class="usa-card__container radius-bottom-0">
|
|
354
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 5</h4></div>
|
|
355
|
+
<div class="usa-card__body"><p>Explore service 5 of 20.</p></div>
|
|
356
|
+
</div>
|
|
357
|
+
</div>
|
|
358
|
+
</div>
|
|
359
|
+
<div
|
|
360
|
+
class="usx-carousel__slide"
|
|
361
|
+
role="group"
|
|
362
|
+
aria-roledescription="slide"
|
|
363
|
+
aria-label="Card 6 of 20"
|
|
364
|
+
>
|
|
365
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-6">
|
|
366
|
+
<div class="usa-card__container radius-bottom-0">
|
|
367
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 6</h4></div>
|
|
368
|
+
<div class="usa-card__body"><p>Explore service 6 of 20.</p></div>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
371
|
+
</div>
|
|
372
|
+
<div
|
|
373
|
+
class="usx-carousel__slide"
|
|
374
|
+
role="group"
|
|
375
|
+
aria-roledescription="slide"
|
|
376
|
+
aria-label="Card 7 of 20"
|
|
377
|
+
>
|
|
378
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-7">
|
|
379
|
+
<div class="usa-card__container radius-bottom-0">
|
|
380
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 7</h4></div>
|
|
381
|
+
<div class="usa-card__body"><p>Explore service 7 of 20.</p></div>
|
|
382
|
+
</div>
|
|
383
|
+
</div>
|
|
384
|
+
</div>
|
|
385
|
+
<div
|
|
386
|
+
class="usx-carousel__slide"
|
|
387
|
+
role="group"
|
|
388
|
+
aria-roledescription="slide"
|
|
389
|
+
aria-label="Card 8 of 20"
|
|
390
|
+
>
|
|
391
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-8">
|
|
392
|
+
<div class="usa-card__container radius-bottom-0">
|
|
393
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 8</h4></div>
|
|
394
|
+
<div class="usa-card__body"><p>Explore service 8 of 20.</p></div>
|
|
395
|
+
</div>
|
|
396
|
+
</div>
|
|
397
|
+
</div>
|
|
398
|
+
<div
|
|
399
|
+
class="usx-carousel__slide"
|
|
400
|
+
role="group"
|
|
401
|
+
aria-roledescription="slide"
|
|
402
|
+
aria-label="Card 9 of 20"
|
|
403
|
+
>
|
|
404
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-9">
|
|
405
|
+
<div class="usa-card__container radius-bottom-0">
|
|
406
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 9</h4></div>
|
|
407
|
+
<div class="usa-card__body"><p>Explore service 9 of 20.</p></div>
|
|
408
|
+
</div>
|
|
409
|
+
</div>
|
|
410
|
+
</div>
|
|
411
|
+
<div
|
|
412
|
+
class="usx-carousel__slide"
|
|
413
|
+
role="group"
|
|
414
|
+
aria-roledescription="slide"
|
|
415
|
+
aria-label="Card 10 of 20"
|
|
416
|
+
>
|
|
417
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-10">
|
|
418
|
+
<div class="usa-card__container radius-bottom-0">
|
|
419
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 10</h4></div>
|
|
420
|
+
<div class="usa-card__body"><p>Explore service 10 of 20.</p></div>
|
|
421
|
+
</div>
|
|
422
|
+
</div>
|
|
423
|
+
</div>
|
|
424
|
+
<div
|
|
425
|
+
class="usx-carousel__slide"
|
|
426
|
+
role="group"
|
|
427
|
+
aria-roledescription="slide"
|
|
428
|
+
aria-label="Card 11 of 20"
|
|
429
|
+
>
|
|
430
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-11">
|
|
431
|
+
<div class="usa-card__container radius-bottom-0">
|
|
432
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 11</h4></div>
|
|
433
|
+
<div class="usa-card__body"><p>Explore service 11 of 20.</p></div>
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
<div
|
|
438
|
+
class="usx-carousel__slide"
|
|
439
|
+
role="group"
|
|
440
|
+
aria-roledescription="slide"
|
|
441
|
+
aria-label="Card 12 of 20"
|
|
442
|
+
>
|
|
443
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-12">
|
|
444
|
+
<div class="usa-card__container radius-bottom-0">
|
|
445
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 12</h4></div>
|
|
446
|
+
<div class="usa-card__body"><p>Explore service 12 of 20.</p></div>
|
|
447
|
+
</div>
|
|
448
|
+
</div>
|
|
449
|
+
</div>
|
|
450
|
+
<div
|
|
451
|
+
class="usx-carousel__slide"
|
|
452
|
+
role="group"
|
|
453
|
+
aria-roledescription="slide"
|
|
454
|
+
aria-label="Card 13 of 20"
|
|
455
|
+
>
|
|
456
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-13">
|
|
457
|
+
<div class="usa-card__container radius-bottom-0">
|
|
458
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 13</h4></div>
|
|
459
|
+
<div class="usa-card__body"><p>Explore service 13 of 20.</p></div>
|
|
460
|
+
</div>
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
<div
|
|
464
|
+
class="usx-carousel__slide"
|
|
465
|
+
role="group"
|
|
466
|
+
aria-roledescription="slide"
|
|
467
|
+
aria-label="Card 14 of 20"
|
|
468
|
+
>
|
|
469
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-14">
|
|
470
|
+
<div class="usa-card__container radius-bottom-0">
|
|
471
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 14</h4></div>
|
|
472
|
+
<div class="usa-card__body"><p>Explore service 14 of 20.</p></div>
|
|
473
|
+
</div>
|
|
474
|
+
</div>
|
|
475
|
+
</div>
|
|
476
|
+
<div
|
|
477
|
+
class="usx-carousel__slide"
|
|
478
|
+
role="group"
|
|
479
|
+
aria-roledescription="slide"
|
|
480
|
+
aria-label="Card 15 of 20"
|
|
481
|
+
>
|
|
482
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-15">
|
|
483
|
+
<div class="usa-card__container radius-bottom-0">
|
|
484
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 15</h4></div>
|
|
485
|
+
<div class="usa-card__body"><p>Explore service 15 of 20.</p></div>
|
|
486
|
+
</div>
|
|
487
|
+
</div>
|
|
488
|
+
</div>
|
|
489
|
+
<div
|
|
490
|
+
class="usx-carousel__slide"
|
|
491
|
+
role="group"
|
|
492
|
+
aria-roledescription="slide"
|
|
493
|
+
aria-label="Card 16 of 20"
|
|
494
|
+
>
|
|
495
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-16">
|
|
496
|
+
<div class="usa-card__container radius-bottom-0">
|
|
497
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 16</h4></div>
|
|
498
|
+
<div class="usa-card__body"><p>Explore service 16 of 20.</p></div>
|
|
499
|
+
</div>
|
|
500
|
+
</div>
|
|
501
|
+
</div>
|
|
502
|
+
<div
|
|
503
|
+
class="usx-carousel__slide"
|
|
504
|
+
role="group"
|
|
505
|
+
aria-roledescription="slide"
|
|
506
|
+
aria-label="Card 17 of 20"
|
|
507
|
+
>
|
|
508
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-17">
|
|
509
|
+
<div class="usa-card__container radius-bottom-0">
|
|
510
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 17</h4></div>
|
|
511
|
+
<div class="usa-card__body"><p>Explore service 17 of 20.</p></div>
|
|
512
|
+
</div>
|
|
513
|
+
</div>
|
|
514
|
+
</div>
|
|
515
|
+
<div
|
|
516
|
+
class="usx-carousel__slide"
|
|
517
|
+
role="group"
|
|
518
|
+
aria-roledescription="slide"
|
|
519
|
+
aria-label="Card 18 of 20"
|
|
520
|
+
>
|
|
521
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-18">
|
|
522
|
+
<div class="usa-card__container radius-bottom-0">
|
|
523
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 18</h4></div>
|
|
524
|
+
<div class="usa-card__body"><p>Explore service 18 of 20.</p></div>
|
|
525
|
+
</div>
|
|
526
|
+
</div>
|
|
527
|
+
</div>
|
|
528
|
+
<div
|
|
529
|
+
class="usx-carousel__slide"
|
|
530
|
+
role="group"
|
|
531
|
+
aria-roledescription="slide"
|
|
532
|
+
aria-label="Card 19 of 20"
|
|
533
|
+
>
|
|
534
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-19">
|
|
535
|
+
<div class="usa-card__container radius-bottom-0">
|
|
536
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 19</h4></div>
|
|
537
|
+
<div class="usa-card__body"><p>Explore service 19 of 20.</p></div>
|
|
538
|
+
</div>
|
|
539
|
+
</div>
|
|
540
|
+
</div>
|
|
541
|
+
<div
|
|
542
|
+
class="usx-carousel__slide"
|
|
543
|
+
role="group"
|
|
544
|
+
aria-roledescription="slide"
|
|
545
|
+
aria-label="Card 20 of 20"
|
|
546
|
+
>
|
|
547
|
+
<div class="usa-card usx-card" id="html-carousel-many-card-20">
|
|
548
|
+
<div class="usa-card__container radius-bottom-0">
|
|
549
|
+
<div class="usa-card__header"><h4 class="usa-card__heading">Service 20</h4></div>
|
|
550
|
+
<div class="usa-card__body"><p>Explore service 20 of 20.</p></div>
|
|
551
|
+
</div>
|
|
552
|
+
</div>
|
|
553
|
+
</div>
|
|
554
|
+
</div>
|
|
555
|
+
</div>
|
|
556
|
+
</div>
|
|
557
|
+
|
|
558
|
+
<h3 class="site-preview-heading">Nested Carousels</h3>
|
|
559
|
+
<div
|
|
560
|
+
class="usx-carousel"
|
|
561
|
+
role="region"
|
|
562
|
+
aria-roledescription="carousel"
|
|
563
|
+
aria-label="Cards with photo galleries"
|
|
564
|
+
data-status-class-name="display-none"
|
|
565
|
+
>
|
|
566
|
+
<div class="usx-carousel__viewport">
|
|
567
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
568
|
+
<div
|
|
569
|
+
class="usx-carousel__slide"
|
|
570
|
+
role="group"
|
|
571
|
+
aria-roledescription="slide"
|
|
572
|
+
aria-label="1 of 2"
|
|
573
|
+
>
|
|
574
|
+
<div class="usa-card usx-card">
|
|
575
|
+
<div class="usa-card__container">
|
|
576
|
+
<div class="usa-card__header">
|
|
577
|
+
<h4 class="usa-card__heading">Gallery 1</h4>
|
|
578
|
+
</div>
|
|
579
|
+
<div class="usa-card__media">
|
|
580
|
+
<div
|
|
581
|
+
class="usx-carousel usx-card__carousel"
|
|
582
|
+
role="group"
|
|
583
|
+
aria-roledescription="carousel"
|
|
584
|
+
aria-label="Gallery 1 images"
|
|
585
|
+
>
|
|
586
|
+
<div class="usx-carousel__viewport">
|
|
587
|
+
<div
|
|
588
|
+
class="usx-carousel__track"
|
|
589
|
+
aria-live="polite"
|
|
590
|
+
tabindex="0"
|
|
591
|
+
>
|
|
592
|
+
<div
|
|
593
|
+
class="usx-carousel__slide"
|
|
594
|
+
role="group"
|
|
595
|
+
aria-roledescription="slide"
|
|
596
|
+
aria-label="1 of 2"
|
|
597
|
+
>
|
|
598
|
+
<div class="usx-image">
|
|
599
|
+
<img
|
|
600
|
+
src="https://picsum.photos/800/450?random=11"
|
|
601
|
+
alt="Gallery 1 photo 1"
|
|
602
|
+
/>
|
|
603
|
+
</div>
|
|
604
|
+
</div>
|
|
605
|
+
<div
|
|
606
|
+
class="usx-carousel__slide"
|
|
607
|
+
role="group"
|
|
608
|
+
aria-roledescription="slide"
|
|
609
|
+
aria-label="2 of 2"
|
|
610
|
+
>
|
|
611
|
+
<div class="usx-image">
|
|
612
|
+
<img
|
|
613
|
+
src="https://picsum.photos/800/450?random=12"
|
|
614
|
+
alt="Gallery 1 photo 2"
|
|
615
|
+
/>
|
|
616
|
+
</div>
|
|
617
|
+
</div>
|
|
618
|
+
</div>
|
|
619
|
+
</div>
|
|
620
|
+
</div>
|
|
621
|
+
</div>
|
|
622
|
+
<div class="usa-card__body">
|
|
623
|
+
<p>Photos in gallery 1.</p>
|
|
624
|
+
</div>
|
|
625
|
+
</div>
|
|
626
|
+
</div>
|
|
627
|
+
</div>
|
|
628
|
+
<div
|
|
629
|
+
class="usx-carousel__slide"
|
|
630
|
+
role="group"
|
|
631
|
+
aria-roledescription="slide"
|
|
632
|
+
aria-label="2 of 2"
|
|
633
|
+
>
|
|
634
|
+
<div class="usa-card usx-card">
|
|
635
|
+
<div class="usa-card__container">
|
|
636
|
+
<div class="usa-card__header">
|
|
637
|
+
<h4 class="usa-card__heading">Gallery 2</h4>
|
|
638
|
+
</div>
|
|
639
|
+
<div class="usa-card__media">
|
|
640
|
+
<div
|
|
641
|
+
class="usx-carousel usx-card__carousel"
|
|
642
|
+
role="group"
|
|
643
|
+
aria-roledescription="carousel"
|
|
644
|
+
aria-label="Gallery 2 images"
|
|
645
|
+
>
|
|
646
|
+
<div class="usx-carousel__viewport">
|
|
647
|
+
<div
|
|
648
|
+
class="usx-carousel__track"
|
|
649
|
+
aria-live="polite"
|
|
650
|
+
tabindex="0"
|
|
651
|
+
>
|
|
652
|
+
<div
|
|
653
|
+
class="usx-carousel__slide"
|
|
654
|
+
role="group"
|
|
655
|
+
aria-roledescription="slide"
|
|
656
|
+
aria-label="1 of 2"
|
|
657
|
+
>
|
|
658
|
+
<div class="usx-image">
|
|
659
|
+
<img
|
|
660
|
+
src="https://picsum.photos/800/450?random=21"
|
|
661
|
+
alt="Gallery 2 photo 1"
|
|
662
|
+
/>
|
|
663
|
+
</div>
|
|
664
|
+
</div>
|
|
665
|
+
<div
|
|
666
|
+
class="usx-carousel__slide"
|
|
667
|
+
role="group"
|
|
668
|
+
aria-roledescription="slide"
|
|
669
|
+
aria-label="2 of 2"
|
|
670
|
+
>
|
|
671
|
+
<div class="usx-image">
|
|
672
|
+
<img
|
|
673
|
+
src="https://picsum.photos/800/450?random=22"
|
|
674
|
+
alt="Gallery 2 photo 2"
|
|
675
|
+
/>
|
|
676
|
+
</div>
|
|
677
|
+
</div>
|
|
678
|
+
</div>
|
|
679
|
+
</div>
|
|
680
|
+
</div>
|
|
681
|
+
</div>
|
|
682
|
+
<div class="usa-card__body">
|
|
683
|
+
<p>Photos in gallery 2.</p>
|
|
684
|
+
</div>
|
|
685
|
+
</div>
|
|
686
|
+
</div>
|
|
687
|
+
</div>
|
|
55
688
|
</div>
|
|
56
689
|
</div>
|
|
690
|
+
</div>
|
|
57
691
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
<
|
|
62
|
-
|
|
692
|
+
<h3 class="site-preview-heading">With Slide Children</h3>
|
|
693
|
+
<div class="usx-carousel" role="region" aria-roledescription="carousel" aria-label="Child content">
|
|
694
|
+
<div class="usx-carousel__viewport">
|
|
695
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
696
|
+
<div
|
|
697
|
+
class="usx-carousel__slide"
|
|
698
|
+
role="group"
|
|
699
|
+
aria-roledescription="slide"
|
|
700
|
+
aria-label="1 of 3"
|
|
701
|
+
>
|
|
702
|
+
<div class="width-full height-card bg-primary-dark text-white padding-8">Slide 1</div>
|
|
703
|
+
</div>
|
|
704
|
+
<div
|
|
705
|
+
class="usx-carousel__slide"
|
|
706
|
+
role="group"
|
|
707
|
+
aria-roledescription="slide"
|
|
708
|
+
aria-label="2 of 3"
|
|
709
|
+
>
|
|
710
|
+
<div class="width-full height-card bg-primary-light text-black padding-8">Slide 2</div>
|
|
711
|
+
</div>
|
|
712
|
+
<div
|
|
713
|
+
class="usx-carousel__slide"
|
|
714
|
+
role="group"
|
|
715
|
+
aria-roledescription="slide"
|
|
716
|
+
aria-label="3 of 3"
|
|
717
|
+
>
|
|
718
|
+
<div class="width-full height-card bg-secondary-dark text-white padding-8">Slide 3</div>
|
|
719
|
+
</div>
|
|
720
|
+
</div>
|
|
721
|
+
</div>
|
|
722
|
+
</div>
|
|
723
|
+
|
|
724
|
+
<h3 class="site-preview-heading">Single Slide</h3>
|
|
725
|
+
<div class="usx-carousel" role="region" aria-roledescription="carousel" aria-label="Single item">
|
|
726
|
+
<div class="usx-carousel__viewport">
|
|
727
|
+
<div class="usx-carousel__track" aria-live="polite">
|
|
728
|
+
<div
|
|
729
|
+
class="usx-carousel__slide"
|
|
730
|
+
role="group"
|
|
731
|
+
aria-roledescription="slide"
|
|
732
|
+
aria-label="1 of 1"
|
|
733
|
+
>
|
|
734
|
+
<div class="width-full height-card bg-primary-dark text-white padding-8">Slide 1</div>
|
|
735
|
+
</div>
|
|
736
|
+
</div>
|
|
737
|
+
</div>
|
|
738
|
+
</div>
|
|
739
|
+
|
|
740
|
+
<h3 class="site-preview-heading">Empty</h3>
|
|
741
|
+
<div class="usx-carousel" role="region" aria-roledescription="carousel" aria-label="Empty carousel">
|
|
742
|
+
<div class="usx-carousel__viewport">
|
|
743
|
+
<div class="usx-carousel__track" aria-live="polite">
|
|
744
|
+
<p>No slides available.</p>
|
|
745
|
+
</div>
|
|
63
746
|
</div>
|
|
64
747
|
</div>
|